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
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
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
fvdl
bec4549303
Update for mount flag change.
1999-07-04 22:09:30 +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
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
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
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
cgd
f73f528c42
add case for STRIPDISC to the tty discipline printing code, so that
...
ttys running Metricom Wireless IP have their discipline printed nicely.
1996-05-31 00:09:38 +00:00
mrg
d3124e1c38
remove unnecessary test.
1996-05-30 23:33:16 +00:00
mrg
0fae2c6fbd
oops. print pstat -t header.
1996-05-30 08:08:27 +00:00
mrg
956fd533da
use new ttylist to get tty stats.
1996-05-30 05:45:45 +00:00
cgd
eeee976759
handle the VISTTY vnode flag with the same letter ('I') that BSDI used.
...
Update the documentation of the vnode flags so that it lists only (and all)
of the flags understood by the program. (The documentation is likely in need
of more cleanup.)
1996-05-02 00:13:08 +00:00
pk
ca9e50f43b
Don't get distracted into kernel space.
...
Understand MNT_ROOTFS flag.
1996-04-30 00:41:51 +00:00
cgd
3afcb7a849
fix for new NFS include files. (checked with fvdl.)
1996-02-21 02:27:57 +00:00
thorpej
484fdbba2d
New-style RCS ids.
1996-01-11 06:33:32 +00:00
jtc
21908ddbd5
merge in changes from 1.1 release branch
1995-11-28 19:43:04 +00:00
ragge
f525d4b280
Cleaned up an old #ifdef vax.
1995-08-24 19:58:07 +00:00
cgd
a8973a1752
specify precision, not minimum field width. pointed out by John Kohl
1995-06-22 11:15:14 +00:00
cgd
3d113b326b
don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated
1995-06-18 10:58:06 +00:00