]> git.decadent.org.uk Git - nfs-utils.git/commit
add -r flag to make mountd do reverse resolve of ipaddress on the fly
authorJeff Layton <jlayton@redhat.com>
Mon, 18 Dec 2006 20:44:11 +0000 (15:44 -0500)
committerNeil Brown <neilb@suse.de>
Mon, 18 Dec 2006 22:31:22 +0000 (09:31 +1100)
commit5d5d8dc1f093f73825b5c2fc814f0a9a565bd384
tree038ba32fa564483813e310127ed88e34f825f5f8
parent9e1aa7b9a04776bd43eb75bef50a53f41e17b813
add -r flag to make mountd do reverse resolve of ipaddress on the fly

For those that want "traditional" showmount -a behavior from their mountd
(hostname:/path instead of ipaddr:/path). This patch adds a '-r' flag that
does a reverse-resolve for each IP address listed in the rmtab when
a dump operation is called.

Probably not a good idea for those concerned about performance, but since it's
not the default option, I don't see it being an issue.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mountd/mountd.c
utils/mountd/rmtab.c