summaryrefslogtreecommitdiffstats
path: root/support/include/fstab.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove nfs_mntent_t in favour of struct mntentNeil Brown2007-03-161-2/+2
| | | | They are identical and the later allows us to use hasmntent.
* Correctly handle "user" and "users" mount options.Neil Brown2007-03-161-0/+7
| | | | | | | | | | | | 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".
* Make mtab_head staticNeil Brown2007-03-161-1/+0
| | | | It is only used in one place.
* Move NFS mount code from util-linux to nfs-utils - part 2Amit Gud2006-06-161-0/+24
Adds the support functions needed for mount and umount. This functionality will someday be available in the form of shared mount library. Signed-off-by: Amit Gud <agud@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>