Commit Graph

174 Commits

Author SHA1 Message Date
Mark Murray
e116238d83 Add the texinfo'ed docs to the build/install. 1999-01-23 21:24:49 +00:00
David E. O'Brien
d2d5185099 Updated version string to 6.0-release. 1999-01-13 19:33:02 +00:00
David E. O'Brien
a424235073 Fix version number. 1998-11-20 05:18:34 +00:00
Bruce Evans
71e15550a3 Fixed missing libraries in DPADD. 1998-10-17 13:55:22 +00:00
David E. O'Brien
c4e8b7e41e I don't want to be the only one to use `cut''. Use `sed'' instead. 1998-09-10 00:27:57 +00:00
David E. O'Brien
bc4d911b88 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
Brian Somers
9de9848b61 Install amd.conf 1998-09-02 21:09:14 +00:00
Gary Palmer
dd6303bd2a DPDADD -> DPADD 1998-08-30 19:59:53 +00:00
Gary Palmer
1f4dcd683a Fix parallel makes falling over on xwhere 1998-08-30 19:59:35 +00:00
David E. O'Brien
f4a9d83b40 bmake framework for contrib_amd 1998-08-27 08:09:42 +00:00
David E. O'Brien
87c1e71689 Make way for the contrib_amd bmake frame work. 1998-08-27 08:03:35 +00:00
Warner Losh
ad60f0a60d MAXPATHLEN is long enough 1998-07-29 03:31:03 +00:00
Warner Losh
44e90c32c9 when changing mktemp -> mkstemp, make sure to include the new s 1998-07-29 03:25:08 +00:00
Warner Losh
90bc3b2e4b Fix temp file race in unused file. If someone wanted to clean the
tree a little, many files here are likely ripe for removal...
1998-07-29 03:23:18 +00:00
Bruce Evans
a8c09dabbd Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
Peter Wemm
ef1f75f486 #include <arpa/inet.h> 1998-06-12 16:24:13 +00:00
Peter Wemm
f66ca81068 Remove bogus #defines and redefintions for KERNEL, mount, nfs_init, the
beastie builds just fine without them and gets less warnings.
1998-06-01 07:36:20 +00:00
Bruce Evans
959bcb5329 Simplified by putting all generated headers in SRCS. The explicit
dependencies on *.o were complete, but this was not obvious.
1998-05-10 15:48:54 +00:00
Bruce Evans
5e97204684 Use rpcgen's -C option to get prototypes in nfs_prot.h. 1998-05-10 15:16:04 +00:00
Bruce Evans
caee217652 Simplified by using new lex and yacc rules. 1998-05-04 19:40:12 +00:00
Doug Rabson
593f0dec5d Fixes for using amd with non-NFSv3 servers and for choosing the right address
for a multihomed server.

PR:		bin/6231, bin/4678
Submitted by:	Mika Nystrom <mika@cs.caltech.edu
1998-04-13 12:11:24 +00:00
Philippe Charnier
f12a14713b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
Bruce Evans
3f9035b74a Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
1998-03-06 07:00:28 +00:00
Bruce Evans
66a655bcf6 Merged from Lite2. Get the filesystem type name directly from the
statfs struct instead of converting from the filesystem type number.
1998-01-20 15:12:24 +00:00
Bruce Evans
87f01287d2 Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
Bruce Evans
a2d1e2fbf5 Fixed missing DPADD by removing empty LDADD. 1997-12-17 11:13:26 +00:00
Wolfram Schneider
87ce848491 Cleanup. 1997-10-05 12:28:02 +00:00
Jordan K. Hubbard
97fe7f477f Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
Philippe Charnier
d7d4c0e8c6 Add usage(), use err(3), remove `progname'. 1997-09-02 06:35:27 +00:00
Tor Egge
f62b59b0d8 Delay free of mf->mf_mount in uninit_mntfs until it is no longer used. 1997-06-23 22:03:12 +00:00
Steve Price
681e5e7a09 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Satoshi Asami
0ae336a697 Add ${DESTDIR} to absolute pathnames of required sources.
Reviewed by:	bde
1997-05-23 07:45:42 +00:00
Satoshi Asami
a5ac6a3b86 Typo (${.DESTDIR} -> ${DESTDIR}).
Reviewed by:	bde
1997-05-23 07:45:06 +00:00
Doug Rabson
4b15c06830 Fix so that amd can build with hesiod support.
Submitted by:	Kevin Van Maren <vanmaren@marker.cs.utah.edu>
1997-04-29 08:43:52 +00:00
Doug Rabson
f7411a35d2 Fix makefiles so they work without having to 'make depend' 1997-04-29 08:42:34 +00:00
Doug Rabson
a7c99c34e6 Update the host filesystem so that it works with NFSv3 1997-04-22 10:24:29 +00:00
Doug Rabson
748c4cdf38 Fix make depend. 1997-04-19 09:15:25 +00:00
Doug Rabson
e38dff1718 Generate mount*.[ch] and nfs_prot*.[ch] from the .x files.
Delete bogus local versions of mount*.[ch] and nfs_prot*.[ch].

Use v3 protocol by default for NFS mounts.  If v3 is not supported, v2 is
used automatically.  Add a new mount options for NFS, 'nfsv2' to allow the
administrator to force the use of the older protocol.

Document the new mount options and fix a couple of markup problems.
1997-04-18 13:23:38 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Joerg Wunsch
3f5323eb71 Make the argument handling for select() less bogus. Also, move the
amq service from UDP to TCP for better reliability.
1997-03-22 23:12:08 +00:00
Peter Wemm
9bdaf328ef Make amd actually work instead of just compiling. The new Lite2 code
was not setting the version number in the nfs_args data to mount(2), so it
was returning EFAULT.  Perhaps the nfs_args version number was something
we added at some point?
1997-03-12 08:29:44 +00:00
Peter Wemm
fe15802099 I feel sick. :-( There is some really, truely, shameful stuff in here
to try and work around the nfsv3 headers in the post-lite2-kernel era.
This program somehow manages to make just about every #include conflict
with everything else. :-(
1997-03-11 15:51:36 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Warner Losh
a3d9131308 buffer overflow from OpenBSD:
1.3 bitblit:
	Fixed potential buffer overflow
Obtained from: OpenBSD
1997-02-09 04:52:11 +00:00
Wolfram Schneider
bfd34a4a60 Sort cross references. 1997-01-20 00:03:00 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Joshua Peck Macdonald
f95f08edb3 Still going. 1997-01-11 05:41:39 +00:00
Garrett Wollman
702a1d0148 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
Garrett Wollman
628d2ac1b0 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Andrey A. Chernov
ae2c6adddd Use LC_TIME=C 1996-11-26 08:53:48 +00:00
Poul-Henning Kamp
bbf432c0d6 bin/1974: core dump from amd when phkmalloc is set to AJ. 1996-11-25 19:36:26 +00:00
Bruce Evans
0c8ea4d48c Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
Peter Wemm
403b820b67 Fix a few minor type problems that turned up with gcc-2.7.2 1996-08-13 09:21:38 +00:00
Wolfram Schneider
9fb933075e `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Mike Pritchard
edf0e5b3f8 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
Mike Pritchard
906c1e27fc Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
Mike Pritchard
270d3d754a Fix a variety of minor typos and cross references in a bunch of
man pages.

Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>
1996-01-20 07:29:11 +00:00
Thomas Graichen
fa913fbd87 Obtained from: David Mazieres (OpenBSD)
added "#define PRECISE_SYMLINKS" to the amd config header - this
solves a problem with the amd "-type:=direct" mounts and /bin/sh
giving a "readlink failed" if you cd'ed to a "-type:=direct" mounted
directory

i got this from david mazieres as a result of giving him our (mostly
doug rabsons) fixes for the amd "-type:=direct" mounts and telling
them (also some NetBSD people were interested) about my only problem
running these fixes (which is now solved too :-)
1996-01-09 08:49:21 +00:00
Bruce Evans
de2bdb25ca Fixed the type of time_type. 1995-12-07 14:33:33 +00:00
Doug Rabson
21ff364166 Add code to work around FreeBSD's nfs symlink cache.
Obtained from: amd-upl102
1995-08-24 10:22:25 +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
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Satoshi Asami
d6f5c64683 Added "doc" to the list of subdirs, so that amdref.info* will get
installed in /usr/share/info...closes my own PR, docs/408 (aaah now
I need to figure out how to "close" PRs... ;)....
1995-05-14 11:24:41 +00:00
Gary Palmer
8b3fe702b7 Change /lib/cpp to /usr/bin/cpp 1995-05-08 16:50:19 +00:00
Jordan K. Hubbard
0ccb57e856 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
Bill Paul
4b35aae3dd Added three line hack to nfs_ops.c to add support for the 'resvport'
mount option: you need this little bugger in environments with facsist
SunOS NFS servers (like mine :).
1995-02-13 01:56:22 +00:00
Poul-Henning Kamp
b2ea996c3a Added final '\n' 1995-02-04 20:02:01 +00:00
Jordan K. Hubbard
e9400e0561 Cosmetic fix.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
1995-02-02 03:36:51 +00:00
Garrett Wollman
039b79a960 Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <faulkner@mpd.tandem.com>
1995-01-20 20:58:54 +00:00
Jordan K. Hubbard
2399a1589e Correct and add proper man page extents.
Submitted by:	jkh
1994-08-11 01:46:41 +00:00
Garrett Wollman
003a0dd6e4 Delete reference to obsolete librpc.a. 1994-08-08 00:04:21 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00