From: Greg Banks <gnb@sgi.com>
To: Olaf Kirch <okir@suse.de>
Cc: Greg Banks <gnb@melbourne.sgi.com>,
Guolin Cheng <guolin@alexa.com>, Ian Kent <raven@themaw.net>,
Michael <mogmios@mlug.missouri.edu>,
nfs@lists.sourceforge.net
Subject: Re: auto-discovery of exports?
Date: Sun, 11 Apr 2004 19:44:22 +1000 [thread overview]
Message-ID: <20040411094422.GA19914@sgi.com> (raw)
In-Reply-To: <20040408085557.GA19482@suse.de>
On Thu, Apr 08, 2004 at 10:55:57AM +0200, Olaf Kirch wrote:
> [...]calling the MOUNT NULL procedure via PMAP_CALL
> should work.
Righto.
> You could even broadcast a DUMP call...
Except that the reply might blow the libc 8800 byte limit for
UDP RPC replies (I've seen this happen).
> Calling NFS NULL will not work, though.
Indeed.
So it seems an approach that would work is to a broadcast
RPC call to MOUNT NULL followed by showmount -e to each
of the repliers. Something like...
/usr/sbin/rpcinfo -b mountd 1 | while read IPADDR NAME ; do
showmount -e --no-headers $NAME | ...
done
Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-04-11 9:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-08 1:44 auto-discovery of exports? Guolin Cheng
2004-04-08 2:02 ` Greg Banks
2004-04-08 6:54 ` Olaf Kirch
2004-04-08 7:07 ` Greg Banks
2004-04-08 8:55 ` Olaf Kirch
2004-04-11 9:44 ` Greg Banks [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-04-07 23:01 Guolin Cheng
2004-04-08 0:37 ` Ian Kent
2004-04-08 5:34 ` Bryan O'Sullivan
2004-04-08 10:29 ` Michael
2004-04-07 8:03 Michael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040411094422.GA19914@sgi.com \
--to=gnb@sgi.com \
--cc=gnb@melbourne.sgi.com \
--cc=guolin@alexa.com \
--cc=mogmios@mlug.missouri.edu \
--cc=nfs@lists.sourceforge.net \
--cc=okir@suse.de \
--cc=raven@themaw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox