mount -a remounts tmpfs entries: bug or feature?

Vladimir Dronnikov dronnikov at gmail.com
Mon Nov 24 04:10:30 PST 2008


>
> > ...rathole when mount becomes _stateful_ utility. Do we need more
> quirks...?
>
> It's not a quirk, it's needed :)
> BSD man pages state that -a will ignore entries that already appear to be
> mounted.
> core. Although the linux man pages don't state this, the behavior of GNU
> mount from
> util-linux is the same.


Again we need to clarify what BB conforms to, right?

So the subsequent mount -a in the
> boot scripts needs to avoid re-mounting /proc as it's already mounted.


Why mount -a?
# mountpoint -q /proc || mount /proc
will do, much clearer, no?. Where is UNIX way? mount _is_ already overloaded
enough. May be CONFIG_FEATURE?

Not insisting though,
--
Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20081124/05e28e0a/attachment.htm 


More information about the busybox mailing list