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
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
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
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
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
thorpej
b271f361f1
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 06:00:39 +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
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
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
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
cgd
896fc34ba3
queue/struct changes
1994-04-21 07:58:49 +00:00
cgd
eb0f0ad92d
fs type names will soon be strings
1994-04-14 03:21:21 +00:00
glass
d1d4089268
check return code. noticed while discovering a already fixed bug
1994-04-11 02:19:53 +00:00
cgd
082660ef11
when you move a fn. call to another function, you shouldn't depend
...
on the locals' values it used to set...
1994-04-07 00:33:20 +00:00
mycroft
a988dc6c4d
Add `-l' option.
1994-03-11 03:07:27 +00:00
cgd
6ea371cbd3
new definition of getbsize
1994-01-25 20:25:08 +00:00
mycroft
a78a8ce534
Incorporate new version using getbsize(), with -k flag added.
1993-08-06 17:05:08 +00:00
mycroft
a579b792ce
Add RCS identifiers.
1993-08-01 18:59:54 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00