Commit Graph

43 Commits

Author SHA1 Message Date
Peter Wemm
fdaad796ed Update to include some of the newer vnode flags and remove some stale ones. 1997-08-30 20:18:49 +00:00
Peter Wemm
1e0de93c0b 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
Guido van Rooij
11523cf5fb Remove -I/sys 1997-07-13 11:51:42 +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
Bruce Evans
c263a0048d 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
Peter Wemm
95cddebbe5 - update MNT_* flags to match lite2 properly. get rid of old #if 0 flags
that are gone, add new missing ones.
- don't dereference kernel relative pointers in user space for() loops, it
doesn't work real well.
1997-03-25 15:48:14 +00:00
Peter Wemm
9c5cdfe0af Merge Lite2 changes 1997-03-11 13:00:41 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +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
Alexander Langer
c2dc07c8eb Fix a typo, putput --> output.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-10-27 23:12:48 +00:00
Joerg Wunsch
64e529ea5f Make pstat -s (aka. sswapinfo) print ``[NFS]'' as opposed to
``/dev/??'' for NFS swap.

I had a hard time to figure out whether it's possible to print the
actual mounted swap file, but i failed to get any information.  If
anybody knows how to get ``192.168.0.1:/swap.192.168.0.3'' instead,
please step forward!
1996-10-20 12:54:55 +00:00
Bruce Evans
5d98ce7598 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
Mike Pritchard
c0b0bcf4d3 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
Mike Pritchard
d19eed81d4 Document the -i backward compatibility option (same as -v).
Submitted by:	Faried Nawaz
1996-07-03 02:11:39 +00:00
Sujal Patel
2d8e94a4a4 Enable the -M and -N options of swapinfo, as advertised in the usage line. 1996-05-29 19:57:25 +00:00
Jordan K. Hubbard
fb59e630f6 Properly free up resources allocated in swapmode(). This is not quite
the patch submitted by Philippe Charnier since he wasn't actually freeing
the resources early enough (an earlier return could be invoked, leaving
the resources still allocated), but he definitely pointed it out.  Merci,
Philippe!
Suggested-By: Philippe Charnier <charnier@lirmm.fr>
1996-05-09 07:13:16 +00:00
Joerg Wunsch
9b25840f5c Mention swapinfo as .Nm, so it will be referenced by mkwhatis. 1996-04-17 20:50:44 +00:00
Jeffrey Hsu
98d6900886 From Lite2: file LIST changes. 1996-03-11 05:41:43 +00:00
John Dyson
739a189a10 Fix pstat to sync up with recent changes with swap space allocation. 1996-03-04 12:40:29 +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
Poul-Henning Kamp
3aab05cf23 #include <sys/user.h>
I belive make world will work again now.
1995-10-29 09:57:50 +00:00
Bruce Evans
3f69295415 Document SESS, fix PGRP (now PGID), and document some more STATE flags.
Submitted by:	clemc@locus.com and edited by me.
1995-10-06 20:58:24 +00:00
Peter Wemm
a9aa8c37da Add support for the "si" Specialix driver in "pstat -t"
The si driver is different to the others in that the _si_tty symbol
is a pointer, not the base of an array.
1995-09-22 20:01:34 +00:00
David Greenman
d219a12e16 Do the mountlist traversal the way it was done in 4.4-Lite2. 1995-08-11 23:40:31 +00:00
Jordan K. Hubbard
4cdd3a4069 Since the mountlist is now a circular queue, adjust the names of the
queue members used and also add a check to see when we've wrapped
around again.
1995-08-11 20:49:26 +00:00
Bruce Evans
283fecc144 Document new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE,
TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE.

Document old tty states TS_ASLEEP and TS_TTSTOP more completely.

Document old tty states TS_ASYNC and TS_TBLOCK.

Document not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP.

Don't document nonexistent state TS_HUPCL.

Document the current line disciplines instead of prehistoric ones.
1995-07-21 17:03:34 +00:00
Bruce Evans
24f769b024 Support cy driver. All tty drivers require namelist stuff here or they
won't get reported.  The pcvt, cx and iitty drivers aren't supported.

Report new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE,
TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE if they are
defined.

Report old tty states TS_WOPEN and TS_ASLEEP only if they are defined.

Report not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP only
if they are defined (instead of if __FreeBSD__ is defined).
1995-07-21 17:02:29 +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
Poul-Henning Kamp
2df6483f69 Reflect the fact that we do not swap on the first <dmmax> blocks of a
swapdev, to protect disklabels and other such magic stuff.
1995-05-14 03:37:40 +00:00
David Greenman
1295400e49 Updated to work with Poul-Henning's recent changes to the swap device
table.

Reviewed by:	John Dyson and David Greenman
Submitted by:	Poul-Henning Kamp
1995-05-14 03:08:35 +00:00
Poul-Henning Kamp
59392fe2bc Make pstat act like swapinfo if so invoked. 1995-05-13 17:25:23 +00:00
Andrey A. Chernov
020531ce67 Add FreeBSD-specific TS_* states 1995-05-07 23:19:53 +00:00
Andrey A. Chernov
9030041959 Enable sio driver and upcoming rc driver
Add more line disciplines
1995-05-07 22:15:46 +00:00
Søren Schmidt
de4c8be3eb Corrected variable names for syscons support. 1995-04-28 09:08:18 +00:00
Andreas Schulz
5c0ca64ca0 Submitted by: John Capo
Bogus pstat usage message from pstat:
usage: pstat -Tfnstv [system] [-M core] [-N system]

[system] is not mentioned in the man page and I don't
see where it is used in the code either.
Added also a [] around the first options to show them as optional, ATS.
1994-12-28 00:47:03 +00:00
Andrey A. Chernov
5a3391bf7f Fix for 'pstat -t' works on vtys
Submitted by: jhay@mikom.csir.co.za
1994-11-03 11:41:34 +00:00
David Greenman
e96c54247f Clean up after last commit: get rid of some unused variables. 1994-10-10 05:19:11 +00:00
David Greenman
1cb2c62684 Rewrote swap code to work with our swap layout. Much of the code stolen
from swapinfo.c.
1994-10-10 02:33:50 +00:00
David Greenman
8d7547c27e #if 0'd out the meat of the swap code until I get a chance to rewrite it. 1994-10-09 07:42:32 +00:00
Garrett Wollman
84e59eb50d Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
David Greenman
b3bfc7199e Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00