]> git.decadent.org.uk Git - nfs-utils.git/commit
nfsstat -m lists all current nfs mounts, with the mount options.
authorNeil Brown <neilb@suse.de>
Fri, 6 Jun 2008 19:17:55 +0000 (15:17 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 6 Jun 2008 19:17:55 +0000 (15:17 -0400)
commitd03090be4f440d70328988e9f792f3bd0ebd956b
tree4d7b43190b6aa9c7d5915c5a2d9a72c6a397c101
parent52dff26c60c07cf1b4fbf8fbd3a1eab7ba90405f
nfsstat -m lists all current nfs mounts, with the mount options.
It does this by reading /proc/mounts and looking for mounts of type
"nfs".  It really should check for "nfs4" as well.

For simplicity, just check the first 3 characters of the type.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/nfsstat/nfsstat.c