Commit Graph

31 Commits

Author SHA1 Message Date
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
green
821751947c Add a new options: -m enables searching for memory-mapped files.
It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.

PR:		17555
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2000-04-05 05:45:40 +00:00
green
7dffb5b1b5 Support more filesystems in fstat(1): now you can use fstat(1) to
find out if files on msdosfs and cd9660 filestores are open.
There was also a movement of some common things to a header, a
small cleanup.

PR:	bin/16364 bin/7043
Submitted by:	Peter Edwards <peter.edwards@openet-telecom.com>
2000-03-16 02:02:34 +00:00
shin
d64251b6b7 Fixed a little bit strange INET6 output.
Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
2000-02-19 21:46:45 +00:00
peter
4a06465a4e Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
green
c3ac0805a4 Make fstat work with file arguments again after being broken by dev_t
changes.  Thanks, Mr. Edwards!

Submitted by:	Peter Edwards <peter.edwards@ireland.com>
1999-11-13 21:13:25 +00:00
sheldonh
59e5111760 Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
the sockstat.1 document title, which still remembers when sockstat was
called lsock.

Reviewed by:	mpp
1999-09-06 13:14:24 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
7e91e73b9f Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +00:00
ru
bc79717c49 o use getprotobynumber(3) instead of hardcoded protocol names.
Divert(4) sockets will now appear as "internet raw divert"
  instead of "internet raw 254".

o -Wall tweak.

Reviewed by:	bde
1999-07-02 13:25:49 +00:00
bde
0ea85390b1 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
markm
56ba53881c Include correct header to get definition of struct sockaddr_un. 1998-05-16 21:35:37 +00:00
steve
783acedcff Use -literal to make for a more pleasing list.
PR:		5547
Submitted by:	Matthew Hunt <mph@pobox.com>
1998-01-25 16:38:42 +00:00
dima
b2ce3ca0bc Fix argument string for getopt.
Submitted by:	dillon@best.net
1997-09-18 23:16:17 +00:00
alex
15660962b9 Display file size as an unsigned long. 1997-08-31 01:27:04 +00:00
jmg
a3a20e342f -I/sys converstion and Id line 1997-08-22 14:22:31 +00:00
charnier
2f1515c1fa Typo. 1997-07-10 06:41:33 +00:00
charnier
a075711232 Use err(3). 1997-07-08 11:02:48 +00:00
bde
eb895393d0 Removed `#define KERNEL'. This was a hack-around for nfs.h being broken
in the Lite2 merge to not export some nfs constants.  It started causing
warnings when I added a kernel-only #define for DIRBLKSIZ.

Removed `#define NFS'.  This was an old, bad interface for telling
<sys/mount.h> to export nfs stuff.
1997-03-29 12:50:41 +00:00
imp
cd84ece5fd 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
peter
cf1e7e3f26 Merge from Lite2 1997-03-11 13:43:33 +00:00
bde
f6b36255b3 Include <fcntl.h> so that this doesn't depend on the KERNEL version
of <sys/file.h> including <sys/fcntl.h>.  Only the !KERNEL version
of <sys/file.h> will do that when I unspam the kernel headers.
1996-09-29 19:25:10 +00:00
peter
212e1aa3b0 Locate the text inode, closes PR#1070 1996-08-24 13:43:46 +00:00
peter
137ea838dd Quick attempt to decode DTYPE_PIPE files and print something meaningful
for them.  Otherwise, it does strange things when it hits one..
1996-08-24 08:01:29 +00:00
mpp
99996af085 Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
mpp
0f9c3c7f7d 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
dfr
654515d655 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
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
dg
8914c3c002 Added #include <sys/queue.h> 1995-04-10 00:38:15 +00:00
dg
17e7606224 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00