[PATCH] Add -t noproc,tmpfs options to mount/umount

Natanael Copa natanael.copa at gmail.com
Thu Apr 5 06:43:57 UTC 2007


On Wed, 2007-04-04 at 20:09 -0400, Mike Frysinger wrote:
> On Wednesday 04 April 2007, Roy Marples wrote:
> > Not really. GNU mount allows nonofs,noshm, whereas BSD mount only
> > accepts nonfs,shm. I prefer the BSD approach because you can then
> > have a fs name starting with "no" like so
> 
> considering busybox tends to be a replacement for the GNU userland, not BSD, 
> this should at least be a build option where the default behavior lines up 
> with util-linux's mount
> -mike

>From GNU mount man page:

        More  than  one type may be specified in a comma separated list.
        The list of file system types can be prefixed with no to specify
        the file system types on which no action should be taken.  (This
        can be meaningful with the -a option.)

        For example, the command:
               mount -a -t nomsdos,ext
        mounts all file systems except those of type msdos and ext.

So according the manpage, the entire list should be prefixed with 'no'
and not every entry.

I'm perfectly happy with this behaviour.

Thanks!

Natanael Copa




More information about the busybox mailing list