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

Rob Landley rob at landley.net
Fri Jun 19 06:54:09 UTC 2009


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.

So Ubuntu doesn't support per-process namespaces?

> I believe this
> is a fairly standard thing for mount helpers to want to do (why should
> they include code to update mtab when mount can do it for them?)

Why should they have an /etc/mtab when it should be a symlink to 
/proc/self/mounts?

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list