mount -a remounts tmpfs entries: bug or feature?

Ralf Friedl Ralf.Friedl at online.de
Mon Nov 24 09:21:02 UTC 2008


Vladimir Dronnikov wrote:
>
>     > run 'mount -a' over and over you get stacking mounts
>
>
> Personally, I'd like to be able to mount valid stuff the way I wish. 
> So BB behaves right.
For a manual mount, I agree.
But I think 'mount -a' should mount everything from /etc/fstab, unless 
it is already mounted.
I would suggest the same when mount is called with only one of 
filesystem and mountpoint and the other information is taken from 
/etc/fstab.
That way you can use something like 'mount /proc' as 'make sure /proc is 
mounted'.

Regards
Ralf Friedl



More information about the busybox mailing list