Commit Graph

106 Commits

Author SHA1 Message Date
des
c3d8b66483 Use struct xfile, not struct file. 2002-07-31 12:43:17 +00:00
charnier
90baea60d8 The .Nm utility 2002-07-14 14:47:15 +00:00
des
05cfb38066 If unable to retrive maxfiles / openfiles, fail rather than print garbage.
Gratuitously rename a couple of variables.
Remove unused macros.
Add NAI copyright.

Sponsored by:	DARPA, NAI Labs
2002-05-28 06:52:21 +00:00
des
9874c6b7cb Remove the code that was disabled in a recent commit; it is of very limited
use and has been broken in -CURRENT for a long time.
Clean up unneeded entries in the nlist array.
Implement kvm-backed ttymode (which we never had before).  Incomplete as we
do not (yet?) print the correct device, sid or pgid.

Sponsored by:	DARPA, NAI Labs
2002-05-28 06:37:27 +00:00
des
d3a52b47ce Oops, don't print /dev/ twice. 2002-05-28 05:45:56 +00:00
des
7d45ef2201 struct tty -> struct xtty. Reenable some previously disable code, but
temporarily disable some rarely-used code that needs more work.

Sponsored by:	DARPA, NAI Labs
2002-05-28 05:42:32 +00:00
des
ed6b400c9b Un-kmemize. Portions of the tty mode code have been temporarily disabled;
everything else, including dead kernel support, works just like before.

Sponsored by:	DARPA, NAI Labs
2002-05-23 15:09:49 +00:00
des
57261d7426 Nits in previous commits.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:58:07 +00:00
des
5c73f17b27 Cull large amounts of dead code (deprecated since 1997)
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:53:04 +00:00
des
0a71667e1f ANSIfy.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:48:25 +00:00
des
856ae02356 Staticize.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:44:23 +00:00
des
9b4234d47e Whitespace cleanup.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:42:17 +00:00
des
33f1175684 Unbreak tty mode (cons was renamed to constty a while ago)
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:41:52 +00:00
joe
5d6d64b108 Replace /kernel with /boot/kernel/kernel.
PR:		docs/37757
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
iedowse
e2675bc6c0 Oops, remove references to NLOCKED and NWANTED, now that they no
longer exist.
2002-04-28 10:24:38 +00:00
dillon
c11fc13d2b Change the vnode list under the mount point from a LIST to a TAILQ
in preparation for an implementation of limiting code for kern.maxvnodes.

MFC after:	3 days
2001-10-23 01:21:29 +00:00
peter
860188b5bf Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
ru
5ee2a44e4d SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
tmm
647da96426 Fix the third argument to sysctlbyname() to be of the type size_t *
(instead of int *).

MFC after:	2 days
2001-07-30 21:42:26 +00:00
obrien
4b92fa588b 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
ru
5617dbcc22 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
dd
85c044d4c6 Make the '-tn' flag combination print the major/minor numbers of the
line as documented intead of a full column of 0's.
2001-07-04 22:53:19 +00:00
dd
9f9a695939 Nuke unused variables. 2001-06-24 23:41:57 +00:00
dd
f13aaa5b2e Don't call printf without a format string (harmless in this case). 2001-06-17 02:01:43 +00:00
schweikh
da10e53f10 Fix a grammar bogon and removed whitespace at EOL.
MFC after:	1 week
2001-06-03 16:08:25 +00:00
ru
21147a3118 Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
ru
4e55fde84e - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
  FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.
2001-05-23 09:42:29 +00:00
alfred
3fc7ffcb2b Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while and
Kirk finally has ditched them.  While I'm here also ditch FSHLOCK.
2001-05-09 03:38:02 +00:00
grog
609bc7e870 Revert consequences of changes to mount.h, part 2.
Requested by:	bde
2001-04-29 02:45:39 +00:00
grog
ad17a56675 Include necessary header files, in preparation for fixing breakage in
sys/mount.h.

Suggested by: phk
2001-04-23 08:13:18 +00:00
ru
ad57725115 mdoc(7) police: you don't need to use enclose macros for blocks of text. 2001-04-04 11:25:07 +00:00
dd
c0c097b2eb Note that the -v option is not supported. Don't remove the actual
text because the code is still in pstat.c, and may be reincarnated at
some point.

PR:		26054
Approved by:	nik
2001-03-29 01:46:20 +00:00
ru
b15a893144 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
42350947e7 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
ru
74ecc06fa7 mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged.  With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
ru
bbdb20708d mdoc(7) police: compact a few lists for better output. 2001-01-17 09:07:31 +00:00
ben
6ac6817bab Ooops, the -M and -N flags were already documented, though not very clearly.
Remove the old description in favour of the new description which lists the
-M and -N flags along with all the other flags.  This is consistent with the
manual pages for ps, netstat, iostat, etc.
2001-01-16 22:09:33 +00:00
ben
222bc424b0 document -M and -N flags.
PR:		24323
Submitted by:	Jesse Monroy <opentrax@email.com>
2001-01-16 22:05:28 +00:00
assar
4899c281c7 update to the current set of mnt_, ufs_ and nfs_ flags
also make man-page correspond to the code
2000-12-30 15:41:40 +00:00
phk
de51ba97a9 Use the MACRO API to <sys/queue.h>.
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
2000-12-30 14:19:07 +00:00
ru
522216623a Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
kris
1c080faf96 Constify 2000-11-27 08:18:58 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
peter
0daf6d4d27 Don't report TABLDISC - it "doesn't happen(TM)" 2000-01-29 16:45:28 +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
charnier
888a88628d Add extra columns for printing longer device name. 1999-12-05 20:04:56 +00:00
charnier
87b9cc2a9b Merge fprintf and exit into errx.
Use .Ev for environment variable.
1999-11-27 17:03:07 +00:00
phk
baaa589c2a struct mountlist and struct mount.mnt_list have no business being
a CIRCLEQ.  Change them to TAILQ_HEAD and TAILQ_ENTRY respectively.

This removes ugly  mp != (void*)&mountlist  comparisons.

Requested by:   phk
Submitted by:   Jake Burkholder jake@checker.org
PR:             14967
1999-11-20 10:00:46 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
phk
73cab7e56e VALIASED doesn't exist any more. 1999-08-26 15:49:54 +00:00