On Tue, 2008-11-25 at 03:04 +0100, Denys Vlasenko wrote: > On Monday 24 November 2008 10:21, Ralf Friedl wrote: > > 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. > > Define "already mounted". It's not trivial.
The canonical entry exists in mtab and matches mnt_dir and is of mnt_type. The code in util-linux does this. FWIW, the BSD mount does the same thing (although it doesn't use mtab). Thanks Roy
signature.asc
Description: This is a digitally signed message part
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
