Commit Graph

73 Commits

Author SHA1 Message Date
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
simonb ec137f4f6b Bump ifree/iused field width. 2003-07-12 15:58:54 +00:00
grant eff007b21e add -g to ENVIRONMENT. 2003-04-18 12:49:12 +00:00
grant 6321639a84 change -G arg to -g.
-G was chosen as SuSv2 specified -g was already used in ls(1), but ls
has no blocksize options like df/du, so this was redundant.

bump date in man page.
2003-04-18 12:48:25 +00:00
grant a1dd31060d add -G argument for output in gigabytes.
ok'd by perry@, mrg@
2003-04-16 14:00:30 +00:00
grant 8e37d38a09 grammar fix. 2003-04-16 13:17:52 +00:00
grant f3014f2c17 sync usage args with reality. 2003-04-16 12:57:24 +00:00
perry 0dd5b455ae matche->match, from Igor Sobrado in PR 19670 2003-03-29 18:11:29 +00:00
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