Commit Graph

91 Commits

Author SHA1 Message Date
dillon
45a6fabe87 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
68a5e33921 Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
ru
d7e70183dd SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
tmm
d67a26493a 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
9c97c8f02d 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
0d5f9334cf mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
dd
816462428e 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
7894e59b7f Nuke unused variables. 2001-06-24 23:41:57 +00:00
dd
b5460aa75b Don't call printf without a format string (harmless in this case). 2001-06-17 02:01:43 +00:00
schweikh
770507fd58 Fix a grammar bogon and removed whitespace at EOL.
MFC after:	1 week
2001-06-03 16:08:25 +00:00
ru
e7a85be33f Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
ru
35437d86aa - 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
5a64b2bb6b 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
4b9d9cbaac Revert consequences of changes to mount.h, part 2.
Requested by:	bde
2001-04-29 02:45:39 +00:00
grog
05ea68dcf4 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
a875f67c07 mdoc(7) police: you don't need to use enclose macros for blocks of text. 2001-04-04 11:25:07 +00:00
dd
617435415d 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
afd506414e - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
f10dc9aca1 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
ru
5addfd60d6 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
0138595d39 mdoc(7) police: compact a few lists for better output. 2001-01-17 09:07:31 +00:00
ben
947e3ec23b 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
13a7451229 document -M and -N flags.
PR:		24323
Submitted by:	Jesse Monroy <opentrax@email.com>
2001-01-16 22:05:28 +00:00
assar
6b77259e11 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
624a962108 Use the MACRO API to <sys/queue.h>.
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
2000-12-30 14:19:07 +00:00
ru
4bb5f49662 Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
kris
75f6720a4f Constify 2000-11-27 08:18:58 +00:00
ru
71e2293ad4 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
peter
4fd86c31a6 Don't report TABLDISC - it "doesn't happen(TM)" 2000-01-29 16:45:28 +00:00
peter
d53e4c1d80 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
59ba729c30 Add extra columns for printing longer device name. 1999-12-05 20:04:56 +00:00
charnier
f0ff569fe4 Merge fprintf and exit into errx.
Use .Ev for environment variable.
1999-11-27 17:03:07 +00:00
phk
1adcecffd9 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
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
phk
ce56d23f4a VALIASED doesn't exist any more. 1999-08-26 15:49:54 +00:00
phk
a1775ed6ac Add support for picking up ttys with sysctl(kern.ttys). 1999-08-08 19:44:00 +00:00
peter
280d1557df Tidy up references to <sys/rlist.h> and support for the old swap management
that went away in January.
1999-05-11 14:32:18 +00:00
dillon
949fa00fea Fix formatting bug with [NFS swap] vs /dev/DEVNAME 1999-01-22 10:57:22 +00:00
dillon
8c1faf386e Make pstat use new kvm_getswapinfo() libkvm call. 1999-01-22 10:36:48 +00:00
dillon
b494d8d4c2 Update pstat -s to handle both old and new swapper.
Add pstat -ss to dump new swapper's radix tree.
1999-01-21 08:08:55 +00:00
bde
219e3ca36e Increased column widths for tty input watermark fields so that watermarks
for 11520-byte buffers for 115200 bps are displayed properly.

Fixed my recent printf format error fixes.  %p is almost unusable
in tables, since its width and format are unknown/machine-dependent.
Use %8lx and cast pointers to (u_long)(void*).  This is still quite
broken, e.g., for machines with 64-bit pointers.
1998-08-19 01:32:28 +00:00
bde
a5b3c3ea4f Fixed printf format errors. 1998-07-06 20:28:08 +00:00
bde
ab37e4723b Set the input and output buffer sizes and the input buffer watermarks
dynamically depending on the line speed(s).  This should give the old
sizes and watermarks until drivers are changed.

Display the input watermarks in pstat and sicontrol.
1998-03-07 15:36:29 +00:00
bde
965464cfca VVMIO -> VOBJBUF as in pstat.c. 1998-01-17 16:58:55 +00:00
dyson
363be0f0eb Make pstat.c compile, since in the new kernel code, VVMIO doesn't
exist anymore.
1998-01-06 05:33:28 +00:00
julian
ae22df605c Reviewed by: various.
Ever since I first say the way the mount flags were used I've hated the
fact that modes, and events, internal and exported, and short-term
and long term flags are all thrown together. Finally it's annoyed me enough..
This patch to the entire FreeBSD tree adds a second mount flag word
to the mount struct. it is not exported to userspace. I have moved
some of the non exported flags over to this word. this means that we now
have 8 free bits in the mount flags. There are another two that might
well move over, but which I'm not sure about.
The only user visible change would have been in pstat -v, except
that davidg has disabled it anyhow.
I'd still like to move the state flags and the 'command' flags
apart from each other.. e.g. MNT_FORCE really doesn't have the
same semantics as MNT_RDONLY, but that's left  for another day.
1997-11-12 05:42:33 +00:00
dg
c9410919df "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since
we no longer support that sysctl (in my opinion, pstat -v is a security
hole in any case).
1997-10-19 18:41:23 +00:00
charnier
1c136192c4 Use err(3). Add usage().
Default source of tables (-M) is /dev/mem, not /dev/kmem.
1997-10-09 07:22:08 +00:00
peter
699c94cfae Update to include some of the newer vnode flags and remove some stale ones. 1997-08-30 20:18:49 +00:00
peter
7df57a5f44 Previous commit to remove -I/sys broke 'make world', miscfs/union/*.h is
not (yet?) installed in /usr/include.
1997-07-15 07:03:00 +00:00