Commit Graph

36 Commits

Author SHA1 Message Date
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
jkh
5f4b7bc92c 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
wpaul
0800cc9478 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
phk
873b076b61 Added final '\n' 1995-02-04 20:02:01 +00:00
jkh
7b026c1466 Cosmetic fix.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
1995-02-02 03:36:51 +00:00
wollman
837a5d2f5b Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <faulkner@mpd.tandem.com>
1995-01-20 20:58:54 +00:00
jkh
8fd9bc3d00 Correct and add proper man page extents.
Submitted by:	jkh
1994-08-11 01:46:41 +00:00
wollman
7fa6011b59 Delete reference to obsolete librpc.a. 1994-08-08 00:04:21 +00:00
rgrimes
862fdf11a2 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00