Commit Graph

83 Commits

Author SHA1 Message Date
ad e1036d7e68 Couple of nits. 2001-07-09 17:46:39 +00:00
ad 773c9cf920 errx() prints the newline for you. 2001-07-09 17:30:37 +00:00
mrg 7276c20511 don't #define _LKM to work around header lossage; it is no longer necessary. 2001-06-05 09:20:12 +00:00
wiz 7da30c83ac Change xref for vmstat(8) to vmstat(1).
Whitespace, punctuation and spelling fixes while I'm here.
2001-05-06 23:48:31 +00:00
enami d80b31fd76 Don't rely on the struct e_vnode since it isn't a part of KERN_VNODE sysctl
interface and it actually breaks pstat -v on an architecture on which
compiler emits padding between the struct's members.
2001-02-11 03:01:05 +00:00
enami 693aff020e Protect statement macro with do { ... } while(0). 2001-02-11 02:44:27 +00:00
lukem c2aa46e7c2 use %ll_ instead of the less standard %q_ 2001-01-05 03:27:26 +00:00
enami 2285fa8eab Print address of lower vnode of layered fs vnode. 2000-12-13 05:50:33 +00:00
enami 7ec21d4438 Use va.va_type instead of va.va_mode to determine if a nfs vnode is a
deivce node or not, since latter contains permission bits only.
2000-12-13 05:34:55 +00:00
tron dd8effead0 Adapt to the new line discipline scheme. 2000-11-02 21:40:37 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
assar 7655c3a8f9 update list of ufs inode, nfs inode flags and tty disciplines to
reality.  also sort them in the obvious order.
2000-06-12 13:30:03 +00:00
simonb fd4ede242b Don't declare 'extern opt*' getopt variables. 2000-04-14 06:26:52 +00:00
msaitoh 01dc593408 fix the table of the STATE field of "pstat -t" 1999-12-08 22:01:53 +00:00
enami 2ca792df74 - Sync mount options and vnode flags with reality.
- Use i_e2fs_rdev.
- Print per filesystem data only if an inode is associated to the vnode.
1999-11-18 08:34:38 +00:00
enami 041d1aa9b5 Cosmetic changes; fix indentation and usage of white spaces. 1999-11-18 08:27:39 +00:00
enami c1fd241001 The field to print vnode tag isn't necessary so wide. 1999-11-18 03:08:38 +00:00
mrg 7ca673b24b add a (long) cast to previous fix like the other arguments. 1999-10-10 00:15:27 +00:00
soren bcc362ca92 Account for widening of the v_usecount member in struct vnode. 1999-10-01 23:11:24 +00:00
chs 21eedb0ec1 the PMAP_NEW option is gone as the new interface is no longer optional. 1999-09-12 01:19:23 +00:00
fvdl bec4549303 Update for mount flag change. 1999-07-04 22:09:30 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
erh 65e6435539 Add missing .El lines. 1999-03-10 08:25:37 +00:00
mrg cdac266703 discard setgid. 1999-01-31 10:12:33 +00:00
tv bf6bf05ae1 Fix hannken's fix: The correct way to keep pstat.c from looking for any
"opt_*.h" files is to set a flag that tells the header files not to look for
anything in the kernel compile directory, i.e. _LKM.

Just rearranging includes doesn't work because it'll just break again,
eventually, as more stuff is defopted.
1998-06-26 19:52:29 +00:00
hannken 653c43d0f5 Make it compile again. Include <sys/socket.h> before setting _KERNEL.
Otherwise the chain pstat.c -> <sys/mount.h> -> <sys/socket.h> fails
with 'opt_compat_freebsd.h: No such file or directory' ...
1998-06-26 14:17:01 +00:00
mycroft 553452c450 Display the TS_DIALOUT flag. 1998-03-29 12:24:44 +00:00
mycroft f9e1d205d7 Replace TS_WOPEN with t_wopen, per mail on tech-kern. 1998-03-21 04:40:24 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
perry ba7b5f16ff add -DPMAP_NEW if PMAP_NEW is on in mk.conf 1998-02-18 03:54:58 +00:00
mrg 279ce528ce add -DUVM to CPPFLAGS if defined(UVM) 1998-02-09 06:25:15 +00:00
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
drochner 41e3b9d2f4 The previous changes were not sufficient, we need more kvm reads. 1997-10-20 18:12:56 +00:00
drochner c111d4e6c2 make compile after NFS (struct nfsnode) changes 1997-10-20 17:32:51 +00:00
mrg ca2afdd453 fix compile warnings on the alpha. 1997-10-19 09:39:35 +00:00
lukem c355b33f75 deprecate register 1997-10-18 11:06:52 +00:00
lukem aef4182020 WARNSify 1997-10-17 12:16:54 +00:00
mrg d8bc5f0aa6 merge lite-2 1997-10-17 06:34:19 +00:00
thorpej 6b7bb49adb There hasn't been machine-dependent code in pstat since the introduction
of the kernel tty list; garbage-collect -D${MACHINE}.
1997-07-14 08:33:35 +00:00
kleink 8c011ed85f Fix list_swap() argument order; from Dan Winship <danw@mit.edu> in PR bin/3856. 1997-07-13 02:23:40 +00:00
mrg 4a5d7f4d75 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:03:43 +00:00
bouyer 558f2d0ebe Make this compile again, and add support for ext2fs.
Also 2 ufs->ffs conversions in pstat.8.
1997-06-12 07:45:28 +00:00
mikel 5f77ad2313 indicate more clearly that [Tfstv] options are mutually exclusive;
fixes PR misc/2655.
1997-06-05 06:14:16 +00:00
pk 7c7220b290 Macros take no more than nine arguments. 1997-05-28 22:03:34 +00:00
pk 29afaac55f Display VDIROP vnode flag (so we're congruent with the man page). 1997-05-28 19:26:52 +00:00
cgd 26902ec586 recognize MNT_NOCOREDUMP and print the 'nocoredump' flag for file
systems which have MNT_NOCOREDUMP set.
1996-10-23 22:50:05 +00:00
cgd 8b3e8678eb add support for recognizing a bunch of flags which are in <sys/mount.h>
but which were never added to pstat -v: UNION, ASYNC, DEFEXPORTED,
EXPORTANON, EXKERB.  Also, sort according to the apparent local style
(order in mount.h, rather than alphabetical).
1996-10-23 22:19:23 +00:00
cgd 60da050b90 fix session pointer field width: make it two characters wider.
(The alpha will use all 8 chars.)
NOTE: use of (addr & ~KERNBASE) is VERY bogus.
1996-06-03 19:00:23 +00:00
cgd 6b52790dd2 warnx() already outputs newline; warnings for undefined symbols don't
need an extra one.
1996-06-03 18:50:26 +00:00