Re: request for patches: showing mount options
From: Miklos Szeredi
Date: Fri Jul 27 2007 - 16:05:40 EST
> Some mount options are never passed to the kernel, and thus can't appear
> in /proc/mounts. Examples include user, users, and _netdev for NFS.
These options control *who* may mount and *when* to mount. They are
not a property of the mount itself and are not added to /etc/mtab.
There's a "user=ID" option that is added to /etc/mtab in case of user
mounts. This identifies the owner of the mount, so that it can be
unmounted by that user. There are patches in -mm that enable the
kernel to store this info.
Do you have other examples in mind?
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/