summaryrefslogtreecommitdiffstats
path: root/support/nfs/fstab.c
Commit message (Collapse)AuthorAgeFilesLines
* libnfs.a: Remove support/nfs/fstab.cSteve Dickson2010-09-271-554/+0
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Add -Wstrict-prototypes to compiler args, and fix warnings caused.Neil Brown2007-07-291-2/+2
|
* Handle -o remount betterNeil Brown2007-03-201-2/+11
| | | | | | | | On -o remount, we need to update the entry in mtab rather than add a new one. update_mtab does this so use that. However it might free some strings that shouldn't be freed, so stop it from calling free - the program will exit soon anyway so no exit is needed.
* Fix another warning: error -> nfs_errorNeil Brown2007-03-161-2/+2
|
* 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/+58
| | | | | | | | | | | | 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/+1
| | | | It is only used in one place.
* Move NFS mount code from util-linux to nfs-utils - part 2Amit Gud2006-06-161-0/+487
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>