[BusyBox] shell instabilities
Matt Kraai
kraai at alumni.carnegiemellon.edu
Fri Apr 6 16:29:52 UTC 2001
On Fri, Apr 06, 2001 at 09:13:49AM -0700, Ralph Jones wrote:
> It seems much more stable now. Great. I could not get it to crash through normal use. Nevertheless I can get it to crash when trying to mount or unmount things when the /proc fs was not mounted (I use proc and not /etc/mtab or your kernel devps patch).
>
> In my startup script, I had the following:
>
> mount -t proc proc /proc
> mount -n -o remount,rw /
> mount -f /
> mount /dev/pts
> mount /mnt/flash1
>
> This caused the shell to crash 4 out of 5 times. (Note. a simple "mount -a" also caused the shell to crash almost every time). When I put a 1 second sleep after the proc mount, it works all the time. (I probably don't need the initial -n mount on the root fs, if proc is mounted, but I haven't bothered trying it out yet.)
>
> I put some echos in this script to see where it was crashing and sometimes it would crash earlier and sometimes a few commands later.
Would you be willing instrument the shell with printfs to
determine where it crashes?
Matt
More information about the busybox
mailing list