summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-02-17 16:26:31 -0500
committerSteve Dickson <steved@redhat.com>2009-02-17 16:26:31 -0500
commitc735a8331b082038a0e83ec4187c2656b0804eea (patch)
treeca307bb2262a34d944f457dd060e2fb67d632562 /support/export/export.c
parent97de03f8c866b9d3e790d64f4e9ac24011aaa5b1 (diff)
downloadnfs-utils-c735a8331b082038a0e83ec4187c2656b0804eea.tar.gz
nfs-utils-c735a8331b082038a0e83ec4187c2656b0804eea.tar.xz
nfs-utils-c735a8331b082038a0e83ec4187c2656b0804eea.zip
umount.nfs command: Support AF_INET6 server addresses
Replace existing mount option parser in nfsumount.c with the new pmap stuffer function nfs_options2pmap(). Mount option parsing for umount.nfs now works the same as it does for mount option rewriting in the text-based mount.nfs command. This adds a number of new features: 1. The new logic supports resolving AF_INET6 server addresses 2. Support is added for the recently introduced "mountaddr" option. 3. Parsing numeric option values is much more careful 4. Option parsing no longer uses xmalloc/xstrdup, so it won't fail silently if memory can't be allocated 5. Mount program number set in /etc/rpc is respected 6. Mount doesn't exit with EX_USAGE if the hostname lookup fails Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions