lkml.org 
[lkml]   [2007]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: request for patches: showing mount options
From
Date
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-27 22:07    [from the cache]
©2003-2011 Jasper Spaans