]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Correctly handle "user" and "users" mount options.
authorNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 07:07:41 +0000 (18:07 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 07:07:41 +0000 (18:07 +1100)
If "user" or "users" is given, then allow mount.nfs to be run
by a non-root user providing that the mountpoint, filesystem, and options
exactly match what is found in fstab.

For "user", record the user name in mtab so they can unmount the
filesystem later.

Also alwasys ignore auto, owner, group and their negations as well
as "_netdev", "comment" and "loop".


No differences found