Commit Graph

58 Commits

Author SHA1 Message Date
bde
e93d50ef3b Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
peter
0eeb15037d #include <arpa/inet.h> 1998-06-12 16:24:13 +00:00
peter
0f778d7313 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
bde
fa85384270 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
bde
6b012c4fba Use rpcgen's -C option to get prototypes in nfs_prot.h. 1998-05-10 15:16:04 +00:00
bde
ed633ada06 Simplified by using new lex and yacc rules. 1998-05-04 19:40:12 +00:00
dfr
72618c7990 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
charnier
6e321f37d4 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
bde
8609d653b2 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
bde
06cd7b5323 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
bde
d53ef8ee6e Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
bde
5346e2783c Fixed missing DPADD by removing empty LDADD. 1997-12-17 11:13:26 +00:00
wosch
33e5135d21 Cleanup. 1997-10-05 12:28:02 +00:00
jkh
418d0a6a92 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
charnier
e462c7e2d2 Add usage(), use err(3), remove `progname'. 1997-09-02 06:35:27 +00:00
tegge
8131710f9d Delay free of mf->mf_mount in uninit_mntfs until it is no longer used. 1997-06-23 22:03:12 +00:00
steve
7a5541cde7 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
asami
e1511e1aa2 Add ${DESTDIR} to absolute pathnames of required sources.
Reviewed by:	bde
1997-05-23 07:45:42 +00:00
asami
e408ddb992 Typo (${.DESTDIR} -> ${DESTDIR}).
Reviewed by:	bde
1997-05-23 07:45:06 +00:00
dfr
a10f222e69 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
dfr
b0e6e4b685 Fix makefiles so they work without having to 'make depend' 1997-04-29 08:42:34 +00:00
dfr
e52cdb3cdf Update the host filesystem so that it works with NFSv3 1997-04-22 10:24:29 +00:00
dfr
ff3a24508f Fix make depend. 1997-04-19 09:15:25 +00:00
dfr
150f99d8a9 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
imp
691010efad 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
970092985a 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
c81bf1e8af 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
512d4a3d14 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
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
imp
03062e7af3 buffer overflow from OpenBSD:
1.3 bitblit:
	Fixed potential buffer overflow
Obtained from: OpenBSD
1997-02-09 04:52:11 +00:00
wosch
3c5e4a3bbe Sort cross references. 1997-01-20 00:03:00 +00:00
jkh
808a36ef65 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
jmacd
9705cb4713 Still going. 1997-01-11 05:41:39 +00:00
wollman
5972643f58 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
wollman
d3ecee07b3 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
ache
e5dccc9a0c Use LC_TIME=C 1996-11-26 08:53:48 +00:00
phk
9c92a6a728 bin/1974: core dump from amd when phkmalloc is set to AJ. 1996-11-25 19:36:26 +00:00
bde
d2512c2bf9 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
f7b4db0557 Fix a few minor type problems that turned up with gcc-2.7.2 1996-08-13 09:21:38 +00:00
wosch
9f795376b3 `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
mpp
3c57dc7753 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
mpp
86b292ffbd Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
mpp
95fd971cf1 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
graichen
29ac274c87 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
bde
ccd723f543 Fixed the type of time_type. 1995-12-07 14:33:33 +00:00
dfr
c5cbc782d3 Add code to work around FreeBSD's nfs symlink cache.
Obtained from: amd-upl102
1995-08-24 10:22:25 +00:00
dfr
666343f7f0 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
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
asami
e94bdaa5da 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
gpalmer
4cb3ce6d8c Change /lib/cpp to /usr/bin/cpp 1995-05-08 16:50:19 +00:00