Commit Graph

14 Commits

Author SHA1 Message Date
Peter Wemm
0c65eed7f9 More xdrproc_t issues. 2003-10-26 04:58:44 +00:00
Juli Mallett
760ddd8c1e The -a and -d flags are mutually exclusive, show them as such in usage() and
manual page for showmount(8)

Sponsored by:	Bright Path Solutions
MFC after:	2 weeks
2002-10-12 05:45:01 +00:00
Warner Losh
3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
David Malone
6e878749df Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.
2001-12-03 21:25:28 +00:00
Dima Dorfman
d4906adb59 ANSI C prohibits text after #endif.
Reviewed by:	md5(1)
2001-06-12 03:44:35 +00:00
Ian Dowse
c2fdb4d1b1 Add IPv6 support to showmount(8). This replaces IPv4-specific code
with calls to the new protocol-independent clnt_*_create functions
provided by ti-rpc. Martin submitted a more complex patch to achieve
this, but it turns out that clnt_create() does everything we need.

Reviewed by:	Martin Blapp <mb@imp.ch>
2001-04-05 17:18:36 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Tor Egge
5ab88c4102 Added an replacement for callrpc that uses tcp as primary transport method.
This enables larger reply messages.
1997-09-04 21:21:56 +00:00
Philippe Charnier
439165e504 Use err(3). Add prototypes. 1997-08-11 07:27:27 +00:00
David E. O'Brien
2dc545bba5 Add -3 option to usage() statement. 1997-04-11 19:54:09 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
David Greenman
48750b4c77 Include queue.h in preparation of struct socket changes. 1996-03-11 13:00:12 +00:00
Doug Rabson
a62dc40654 Changes to support version 3 of the NFS protocol.
The version 2 support has been tested (client+server) against FreeBSD-2.0,
IRIX 5.3 and FreeBSD-current (using a loopback mount).  The version 2 support
is stable AFAIK.
The version 3 support has been tested with a loopback mount and minimally
against an IRIX 5.3 server.  It needs more testing and may have problems.
I have patched amd to support the new variable length filehandles although
it will still only use version 2 of the protocol.

Before booting a kernel with these changes, nfs clients will need to at least
build and install /usr/sbin/mount_nfs.  Servers will need to build and
install /usr/sbin/mountd.

NFS diskless support is untested.

Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
1995-06-27 11:07:30 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00