Commit Graph

93 Commits

Author SHA1 Message Date
fvdl 49ec36daa1 Don't compare integers and NULL. 2003-10-21 02:16:59 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun 3c95d355e5 use bounded string op 2003-07-15 05:56:55 +00:00
fvdl 42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
christos 0fcef5865c undo mallocvar.h changes! 2003-02-02 02:35:58 +00:00
tron 3f39a3d045 Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
build failure because MALLOC_DECLARE() is not defined.
2003-02-01 18:31:09 +00:00
martin 8010344d66 Make it compile again on LP64 archs.
XXX - we *realy* need some format string macros for size_t/off_t!
2003-01-20 06:20:37 +00:00
dsl 7e2ddd8ef0 Use kvm_getprocs2 so independant of kernel version
(change aggreed by christos)
2003-01-19 18:14:06 +00:00
enami 988be8626f - file ... instead of filename ...
- "An asterisk (``*'')" instead of "A (``*'')" to be more consistient with
  rest of this manpage.
- Fix typo; ``w'' instead of ``''.
- There is no section named Sockets.  There is only SOCKETS.
2002-11-07 13:52:04 +00:00
yamt ebc708387a add VT_LFS case. 2002-10-26 06:03:50 +00:00
jdolecek 879d35cda1 merge rev. 1.50.2.1 (made by lukem):
rudimentary support for for displaying DTYPE_KQUEUE fds
2002-10-23 22:37:11 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
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
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
wiz 5706f55332 Punctuation nit, sort sections. 2001-12-01 19:13:18 +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
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
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 0238a51cd0 use dprintf() instead of printf(), as other filesystem modules do 2000-02-04 10:43:34 +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 55fa2666be set mode accordingly to file type (similarily to what nfs_filestat() does)
file type is now viewed correctly for files on ntfs
2000-02-04 10:13:54 +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
kristerw e71aea426d Typos (from OpenBSD) 1999-11-19 22:29:24 +00:00
sommerfeld f25cd19a6a Improve summary line so jhawk can find this command using apropos 1999-11-15 14:48:32 +00:00
jdolecek facd78dc9f adapt to last ntfs changes - struct ntnode doesn't contain i_mode
anymore, get the mode from appropriate ntfsmount structure
1999-11-01 19:56:20 +00:00
jdolecek 1a3b3e1f42 pull in <sys/mount.h> (with _KERNEL) to get definition of struct netexport,
used in struct ntfsmount
1999-09-12 16:47:42 +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
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
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
garbled 9e44e9b578 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:16:34 +00:00
kleink ffcc078fe7 Fix Xref; from Geoff C. Wing in PR bin/7166. 1999-03-16 09:54:50 +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