Commit Graph

155 Commits

Author SHA1 Message Date
Martin Blapp
3dc48a9218 Set HAVE_STRUCT_IFREQ_IFR_ADDR, HAVE_STRUCT_FHSTATUS_FHS_FH to 1. 2003-09-02 15:56:05 +00:00
Andrey A. Chernov
90862ca23d LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
Andrey A. Chernov
3d2b7661d5 Use LANG=C before egrep A-Z and tr A-Z
Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale
Strip [] for tr ranges
2003-08-04 15:57:01 +00:00
David E. O'Brien
052238b16c style.Makefile(5) 2003-04-04 17:49:21 +00:00
Ruslan Ermilov
423e9124d9 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
Ruslan Ermilov
335612307e Stop "make depend" from attempting to delete non-existent .depend. 2002-04-11 12:30:20 +00:00
Ruslan Ermilov
eea399e3ac Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
David E. O'Brien
d6432d1f16 Strip non version _number_ bits from HOST_OS_VERSION.
Requested by:	knu
2001-09-06 18:39:46 +00:00
David E. O'Brien
5cd462d266 I was missing the HOST_OS_VERSION setting in the fall-back case.
Also, the script was too position dependant.  We now have make(1) pass in
the file to grub around in to get our settings from.
2001-09-06 17:52:59 +00:00
David E. O'Brien
1b5546b873 Try to determine the OS version and architecture for what is being built
vs.  the building machine.

PR:		14040
2001-09-05 16:54:20 +00:00
David E. O'Brien
3fe149a643 Opps, let one definition slip out that we define dynamically. 2001-09-03 19:19:12 +00:00
David E. O'Brien
6874428a19 Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
2001-09-02 20:37:36 +00:00
David E. O'Brien
890bbd6bda Update for version 6.0.7. 2001-09-02 19:50:47 +00:00
David E. O'Brien
b20e8db347 Document my tweaks better. 2001-09-02 04:06:48 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Ruslan Ermilov
3e7c6a91b1 Added missing dependancy.
Submitted by:	bde
Approved by:	obrien
2001-07-19 19:04:31 +00:00
Ruslan Ermilov
fd2b652a0a msdos -> msdosfs
null -> nullfs
umap -> umapfs
union -> unionfs

Approved by:	obrien
2001-06-04 13:08:54 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Alfred Perlstein
8f15078110 give the "netgrent" functions a home in netdb.h 2001-03-27 09:49:03 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
742f5bdd4c Properly fix the world breakage.
Unpollute the Makefile.inc's abuse of SRCS variable, and move
the generation of header files into include/ subdirecory.

Reviewed by:	buildworld
2001-03-21 10:56:29 +00:00
Michael C . Wu
6e9a9c5851 Add SRCS= mk-mdmap.c and SRCS= wire-test.c to fix the world
breakage.  amd has its own SRCS= that prevents bsd.*.mk to function correctly.

Submitted by: bmah
Reviewed by: peter
2001-03-21 04:04:34 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Brian Somers
d7dcad45d7 Include sys/types.h 2000-10-16 09:14:44 +00:00
Peter Wemm
f23d0a1fa2 Really fix the struct callout collision. AMD does not need to
#include <sys/mbuf.h>.  (which #include's <machine/mutex.h> and then
<sys/proc.h> and then <sys/callout.h>, leading to the collision).
<sys/mbuf.h> is really one of those 'no user servicable parts inside'
things.
2000-10-02 08:31:20 +00:00
David E. O'Brien
b33d8b6d7f Update for 6.0.3s1 changes. 1999-11-05 12:34:00 +00:00
David E. O'Brien
8eea002abf Sync with am-utils-6.0.2s2. 1999-09-23 06:19:25 +00:00
David E. O'Brien
320f7c1ed3 Sync with am-utils-6.0 => am-utils-6.0.1 changes. 1999-09-15 09:00:54 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
David E. O'Brien
7a519a0014 Cosmetic reformating. 1999-02-14 22:04:09 +00:00
David E. O'Brien
b187c6cd83 Fix ufs mounting support
PR:		10044
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-02-13 11:06:20 +00:00
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