Re: request for patches: showing mount options

Miklos Szeredi
2007-07-31T08:52:58Z

> After a successful mount, the NFS mount command tucks some options into
> /etc/mtab that reflect which mountd was used for the mount, and what
> protocol version and port was used for the mount request. Those options
> are not passed to the kernel, and do not appear in /proc/mounts today.
> See nfs(5)'s discussion of the mountport, mounthost, mountprog, and
> mountvers options.
>
> However, the trend for NFS is to push mount option parsing into the
> kernel. Thus all options will be passed to the kernel, and at that
> point it should be able to reflect the mount* options in /proc/mounts.
> But it doesn't do that quite yet.

Trond, do you have a roadmap for this?

> I'm wondering if there are other such cases in other file systems.

Anything that has /sbin/mount.XXX could be doing this. According to
Karel, those are nfs, cifs and ocfs2.

Miklos