Re: Adding subroot information to /proc/mounts, or obtaining thatthrough other means

From: Chuck Lever
Date: Wed Jun 20 2007 - 18:48:37 EST


H. Peter Anvin wrote:
Chuck Lever wrote:
To support NFS client performance statistics, I recently added
/proc/self/mountstats. That might be a place to add details about
--move and --bind mounts without changing the format of /proc/mounts.

I just looked at /proc/self/mountstats; it seems to have no more
information than /proc/self/mounts, but in an even more annoying format.
Either I'm missing something, this file doesn't add anything at all.

The advantage is that it doesn't have strong user space dependencies on its format like /proc/mounts does.

If you have NFS mount points, you will see that it includes a great deal of additional information about each mount. begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel/
version:2.1
end:vcard