[PATCH] mount: support -i; pass through -f and -n to helpers as necessary

Gilles Espinasse g.esp at free.fr
Fri Jun 19 07:03:12 UTC 2009


----- Original Message ----- 
From: "Rob Landley" <rob at landley.net>
To: <busybox at busybox.net>
Cc: "Colin Watson" <cjwatson at ubuntu.com>
Sent: Friday, June 19, 2009 8:54 AM
Subject: Re: [PATCH] mount: support -i;pass through -f and -n to helpers as
necessary


> On Thursday 18 June 2009 19:09:26 Colin Watson wrote:
> > When FEATURE_MOUNT_HELPERS is enabled, mount should support the -i
> > option, which prevents calling the helper function. This is used by
> > FUSE: it installs fusermount as a helper, and if it's configured to
> > update /etc/mtab then it does so by calling 'mount -i -f' (i.e. don't
> > call helper, fake the system call, but do update mtab).
>
> There's something that still uses mtab?  Wow.
>
Yes mke2fs check if filesystem is mounted and fail the check without mtab

    Gilles



More information about the busybox mailing list