[BusyBox] Mount have not "- f" option.
Erik Andersen
andersen at lineo.com
Wed Aug 2 18:59:37 UTC 2000
On Wed Aug 02, 2000 at 10:13:45AM +0800, zhengliangchen wrote:
> In the linux system init procedure, if use mount to do the next job:
>
> mount -o remount,rw /
> mount /proc
>
> But the mount command in the busybox doesn't support the format above,
> It must be write like that:
>
> mount -o remount,rw / /
> mount -t proc /proc /proc
>
> That is not matter.
I just committed a patch to mount (thanks to Dave Cinege) that
makes commands such as 'mount /proc' and 'mount -o remount,rw /'
so that they now work.
> The matter is that the mount command has no "-f" option.
> The system uses "mount -f" to write mtab and doesn't do the
> actual system call. Some lines like the followe:
>
> mount -f /
> mount -f /proc
>
> Now how I can use do this work when I use the mount in the busybox
BusyBox does have the "-f" option, but it was not working properly.
I just fixed it and the fix is now in CVS.
BTW, since you seem to be using the /etc/mtab file (rather then making a
symlink to /proc/mounts) you will want to make sure that you have turned on
BB_FEATURE_MOUNT_MTAB_SUPPORT in busybox.def.h.
Good luck,
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list