diff options
author | Neil Brown <neilb@suse.de> | 2007-03-16 13:56:25 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-16 13:56:25 +1100 |
commit | 1e42be20a3283994d0ffd6c5f80c36fab5a887a8 (patch) | |
tree | 442e5a76eaf9e53b3f31594d43d60747d8138edc /Makefile.am | |
parent | f0e018fa18ac7726a67144c73e8ca0f33190b7dd (diff) | |
download | nfs-utils-1e42be20a3283994d0ffd6c5f80c36fab5a887a8.tar.gz nfs-utils-1e42be20a3283994d0ffd6c5f80c36fab5a887a8.tar.xz nfs-utils-1e42be20a3283994d0ffd6c5f80c36fab5a887a8.zip |
Further tidyup of nfs_umount.
- remove non-used arguments from del_mtab.
- Don't try to pass a "host:/path" string to umount.
It used to be possible to umount("/dev/whatever"). It has never
been possible to umount("host:/path").
- Don't try to read /proc/mounts first. Some mount options (mount_vers)
are only stored in /etc/mtab, not in /proc/mounts. So we have to
prefer /etc/mtab as getmntXbackwards do.
- Only every call one of getmnt{dir,dev}backwards, depending on whether
'spec' looks like a path name or a host:/path.
- Don't call _nfsumount unless we have a host:/path, or del_mtab unless we
have a path name.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions