Re: request for patches: showing mount options

Miklos Szeredi
2007-07-27T20:05:19Z

> 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