Commit Graph

65 Commits

Author SHA1 Message Date
provos
4fd29e5dcf human-readable output via -h flag. output matches Linux and other BSDs.
partly from kstailey@openbsd.org.  approved itojun and perry.
2002-09-26 16:27:43 +00:00
wiz
14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
lukem
146a774973 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc). 2002-08-19 09:56:00 +00:00
soren
e426c0fac8 Following FreeBSD's example, remove the old pre-statfs(2) code for
examining FFS filesystems directly. This also gets rid of df(1)'s
setgid operator bit.
2002-08-02 08:17:12 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
6fa1adea30 Use standard headers, sort SEE ALSO. 2001-12-20 20:04:46 +00:00
jdolecek
a76b375c0f put -l explanation before -m, so that the options are in alphabet order
Fixes misc/14471 by Hiramatsu Yoshifumi.
2001-11-05 17:51:56 +00:00
christos
bebeebd8aa if -a is not given, we need to walk the filesystem list to check the
flags in order to get the correct count (from enami)
2001-10-11 16:31:33 +00:00
enami
802d6b10df KNF. 2001-10-11 09:23:31 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
simonb
79f5a137af Xref getbsize(3). 2001-07-08 15:34:13 +00:00
cgd
e459adfd7a use getprogname() 2001-02-20 23:02:07 +00:00
tsutsui
337db294f1 Adjust output column in printf(). 2001-02-01 10:19:51 +00:00
christos
3ca65e4438 eliminate nested extern 2001-01-07 05:37:10 +00:00
lukem
f819878ce7 use more standard %ll_ in favour of %q_ 2001-01-04 15:39:50 +00:00
hubertf
69939b09cd Add -m option, similar to -k, but display output in 1024*1024 byte units.
Patch submitted by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk> in PR 11849,
adjusted for NetBSD-current by me.
2000-12-30 16:20:58 +00:00
kleink
bd6b91bddb Support the 1003.2-92 -P flag for a `portable output format'; based on
Ben Harris' patch in standards/11208 but extended about output alignment
and documentation.
2000-10-15 17:50:10 +00:00
christos
54d8f9cccb Add -a flag now that we have support for MNT_IGNORE 2000-06-26 21:16:15 +00:00
hubertf
8f48378bc3 Fix overflow in df on big partitions' raw device.
Supplied by Greg Oster, problem noted in OpenBSD PR#924.
1999-09-24 13:35:21 +00:00
sommerfeld
95fc3b5710 Fix PR3474: df -t/df -l confused by stacked local mounts.
(Ross's patch in the PR appears to Just Work).
1999-07-27 12:13:19 +00:00
garbled
f124765044 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:25:43 +00:00
bouyer
751ea7cd70 tunefs lives in section 8, not 1. 1999-02-01 10:55:50 +00:00
cjs
2335d45e3d Close PR 6919, submitted by Jaromir Dolecek <jdolecek@per4mance.cz>. 1999-02-01 01:25:25 +00:00
wsanchez
ef9982bb8e Cast args to strpct() u_long, as in the prototype, not ulong. 1998-10-08 02:10:36 +00:00
mycroft
9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft
ce7d757530 Delint. 1998-07-28 03:47:14 +00:00
mycroft
3834fcec5c Use mkdtemp(3). 1998-07-27 16:33:31 +00:00
mrg
3cd022b72f minor KNF. 1998-07-04 19:44:32 +00:00
fair
c8e93442cc Fix PR#3590 - remove floating point calculation from df to avoid faulting
on machines that don't yet have complete FP support (e.g. MC68LC040)
1998-04-08 23:16:37 +00:00
fvdl
e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
enami
c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
christos
23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
thorpej
75e9acf559 Build with WARNS 1997-07-20 06:01:01 +00:00
thorpej
b271f361f1 - Use __COPYRIGHT() and __RCSID().
- Fix compiler warnings.
1997-07-20 06:00:39 +00:00
tls
09a2307c08 Sync to 4.4BSD-Lite2; really just the SCCS ID, because we don't have vfslist.c in our mount sources. 1997-01-09 03:56:31 +00:00
thorpej
0097f7bcc8 Make df(1) more liberal (and intelligent) about what it accepts
as arguments (for -t and -l flags, specifically).
From Hubert Feyrer <feyrer@rfhs8002.fh-regensburg.de>, PR #2869.
1996-12-11 03:48:42 +00:00
jtc
9a3ca97f12 ENVIRONMENTAL -> ENVIRONMENT 1995-12-05 02:41:35 +00:00
jtc
3ae562ed82 merge in changes from 1.1 release branch 1995-11-28 05:12:44 +00:00
jtc
40b67f2121 lose unused variable; PR #1297 1995-08-11 00:38:15 +00:00
jtc
23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +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
cgd
49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft
f5ad44b6ac Use S_IS*(). 1995-01-30 19:30:13 +00:00
mycroft
cfbbe9b764 Document the `-t' option as in umount(8). 1995-01-30 18:14:55 +00:00
mycroft
c3b978fa44 Various:
* Redo `-t' handling like mount(8) and umount(8).
* Don't force a stat of every fs unless we need it.
* When using an explicit list, stat everything before printing anything, and
minimize the column width.
1995-01-30 18:10:51 +00:00
mycroft
720e729421 Add `-t' option from Matthew Green, hacked a bit by me. 1995-01-13 23:23:41 +00:00
mycroft
9c2fbdc245 Deal with large file systems, and clean up a bit. 1994-09-16 20:59:27 +00:00
glass
3c285ea60f fix typo 1994-07-12 07:58:27 +00:00
chopps
8ed58a738d fixup for new fs code. 1994-06-13 06:39:17 +00:00
cgd
5592f2ccf2 copyright foo 1994-05-17 04:06:00 +00:00