Commit Graph

55 Commits

Author SHA1 Message Date
simonb ba31699a83 Add an extra column for inode numbers, and pull back the mode field to
just 5 columns if in "numeric" mode.  Other fields should dynamically
resize, but not today...
2002-02-12 03:28:20 +00:00
jdolecek 305085a35d for (new)pipes, print 'n' if it's in nonblocking mode, and 'a' if it's
set to async
2001-11-25 18:49:02 +00:00
lukem 99147a7648 remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)
2001-10-26 05:56:06 +00:00
jdolecek ac2147b9f2 remove accidentaly left debug printf
change the pipe descriptor output to include 'r' or 'w' to explicitly
indicate it's open for reading or writing, similarily to "regular" descriptors
2001-09-28 20:29:04 +00:00
jdolecek 92f9fd86ff the descriptor flags may also contain other stuff besides FWRITE|FREAD,
so do '& FWRITE' instead of '== FWRITE' in the check in pipe-related code
2001-09-28 20:16:43 +00:00
jdolecek 298d03ceba fix comment 2001-07-08 20:24:05 +00:00
wiz f3f6c5b675 `accessible' only has one `a'. 2001-06-19 12:52:20 +00:00
lukem a4224d7f92 convert if ... else if ... tree to a switch 2001-06-17 08:27:57 +00:00
jdolecek 28dbb7357f Add support for DTYPE_PIPE pipes (a.k.a NEW_PIPE) 2001-06-16 12:08:05 +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
lukem c2b84904ae use %ll_ instead of the less standard %q_ 2001-01-04 23:05:54 +00:00
enami a5989caf7a Redo previous a bit different way so that mount point of top layer is shown
instead of lowest one and ``fstat file-on-upperlayer'' works.
2000-08-14 09:17:11 +00:00
enami 1dccbbfbd2 Print lower vnode if vnode is on a layered filesystem. 2000-08-14 06:03:21 +00:00
sommerfeld 080fdae8fc Bring into line with recent ktrace changes 2000-05-27 15:02:04 +00:00
jdolecek 1371d1b72d add support for msdosfs 2000-02-04 11:02:00 +00:00
jdolecek 9200b8eabf move the mapping of vnode type to file type to separate function getftype()
and use it where appropriate
2000-02-04 10:35:46 +00:00
jdolecek 5d9b6ac28b fix typo 2000-02-04 09:43:45 +00:00
itojun 65d8ab7ea0 IPv6 support.
NetBSD PR: 9199 (with minor changes)
2000-01-17 16:14:39 +00:00
jdolecek 88a653ac21 add support for ntfs 1999-08-02 17:39:13 +00:00
tron 52f4fd7993 Define "_LKM" before including kernel includes with "_KERNEL" defined
so that "opt_ffs.h" gets skipped.
1999-07-08 12:07:56 +00:00
thorpej 4c03a95577 Adjust for cwdinfo changes. 1999-05-02 22:50:19 +00:00
lukem 591a968873 as suggested by chuck cranor, pull in some openbsd mods:
* display ip address details of tcp/udp connections
* display isofs details
* use %p instead of %lx in error messages

other mods by me:
* don't put \n at the end of err()/warn() format
* man page cleanups (use .Dq and .Pq as appropriate)
1999-02-18 06:09:25 +00:00
mycroft 28beaae04f const propagation. 1998-07-28 21:25:35 +00:00
mycroft 271fd291d0 const propagation. 1998-07-28 21:16:42 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
ross ff4a1ce958 Fix LP64 problems from (5!) July deltas. 1998-07-16 22:23:30 +00:00
fair 7d64e83ea1 one more thing... 1998-07-06 22:59:58 +00:00
fair 6ad77e4ee9 convert the remainder of the fprintf() to {err,warn}{,x}() 1998-07-06 21:47:07 +00:00
fair f76a889b7b fix build error - forgot to #include <err.h> for errx() 1998-07-06 21:23:40 +00:00
mrg 80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
msaitoh d4d8503fa5 check return value of kvm_read() more safe 1998-07-03 15:49:25 +00:00
thorpej f771d511d4 Update for changes to how nfsnode attributes are stored. 1997-10-20 00:00:49 +00:00
lukem 30809d6452 WARNSify, fix .Nm usage, deprecate register 1997-10-18 15:28:04 +00:00
lukem 906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
mrg 3740466adc merge lite-2. 1997-10-18 11:38:27 +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
explorer 3f120170b2 Add a double quote to make emacs's color mode happy... 1997-03-03 22:47:17 +00:00
mrg b9de9dbc60 remove dangerous sprintf and strcpy calls. 1997-02-11 08:40:44 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
mhitch 8082a458ec Change -N and -M option string to specify the options have an argument.
Fixes PR#2374.
1996-05-05 19:12:03 +00:00
fvdl beb0929ea8 Fix NFS include files; sync with Lite2 1996-02-20 16:04:47 +00:00
jtc ae0b9c2010 KERNEL -> _KERNEL 1995-03-28 17:18:59 +00:00
mycroft afd89ee68e Check for bogus file descriptor tables. 1995-02-15 02:10:41 +00:00
cgd 8a7150a301 type sanity 1994-12-24 16:38:43 +00:00
mycroft 8d5d38980e Merge local changes. 1994-06-13 22:04:11 +00:00
cgd 09b7f07d6b include file fix 1994-06-13 15:04:00 +00:00
cgd 7947f77b36 get it to work with old private data allocation 1994-05-09 07:17:08 +00:00
cgd 96674b17a0 clean up import 1994-05-09 07:07:32 +00:00
cgd 72d449e788 update for changed flags 1994-05-05 02:27:31 +00:00
cgd 7536dc1148 Fixed multiple off-by-one bugs which caused the open file printing to
not print the last open file.  patch from David Greenman
<davidg@implode.rain.com>.
1993-10-26 02:04:49 +00:00