summaryrefslogtreecommitdiff
path: root/bin/df
AgeCommit message (Collapse)Author
2014-05-20As suggested by guenther@ and millert@, replace seek+[read|write] withKenneth R Westerback
p[read|write]. Makes the code much clearer by eliminating extra error checking and verbiage. No intentional functional change. Tweaks by and ok guenther@
2014-05-16Make the df calculations of available space the same as that done inKenneth R Westerback
ffs_statfs(). In 1998, with /usr/src/sys/ufs/ffs/ffs_vfsops.c r1.16, mickey@ improved the calculation of available blocks in ffs_statfs(). Yesterday guenther@ noticed that this fix had not been applied to the same calculation being done by df(8) when run against raw devices. Which meant different values were displayed depending on which device/file system you gave to df. ok otto@
2014-03-17word tweak from schwarze;Jason McIntyre
2014-02-13BLOCKSIZE is an extension;Jason McIntyre
2014-02-04various minor fixes; ok sobradoJason McIntyre
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-04- sync the descriptions of -h and -kJason McIntyre
- note that the last -h or -k specified takes precedence the latter part based on a diff from Daniel Dickman, with text from ls.1 ok otto millert
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-03-16actually print the now available large numbersOtto Moerbeek
2007-12-22fix df posix mode bugCharles Longeau
from otto@ prompted by otto@ who is aftk for now
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29note some flags which differ in behaviour from posix;Jason McIntyre
suggested by millert
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-04-30ffs2 support for reading df data directly from device; ok millert@ pedro@Otto Moerbeek
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks.
2007-02-03statfs(2) and fstatfs(2) are one and the same, so don;t add both to SEE ALSO;Jason McIntyre
2006-10-29like -i, -h is incompatible with -P; suggested by jmc@; ok ray@Otto Moerbeek
2006-10-21note that -hP and -iP are illegal; ok ottoJason McIntyre
2006-10-18- update reference to posix to latest versionJason McIntyre
- note that the flags [-hiln] are extensions
2006-10-18- standard EXAMPLES sectionJason McIntyre
- use .Ex instead of an entire DIAGNOSTICS section
2006-09-21Remove LFS-related code, no binary changePedro Martelletto
2006-05-11handle malloc failure; jan.niemann@tu-bs.deTheo de Raadt
2005-02-20Better handling of large filesystems, okay henning@ and millert@, withPedro Martelletto
input from martin@ and miod@.
2005-01-28widen the avail/used columns by one space to accomodate for >100g ↵Michael Shalayeff
filesystems. the total is already wide enough due to the header length; dhartmei@ ok
2004-11-18Sync usage with man page; Paul de WeerdTodd C. Miller
2004-11-17Document exit code, pointed out by Paul de Weerd.Todd C. Miller
2004-10-15Don't print header if we didn't print any usage lines. Noticed andTodd C. Miller
tested by robert@
2004-09-14fd leak (and who said lint never finds real bugs)Theo de Raadt
2004-09-14remove unused variableTheo de Raadt
2004-09-14do not alias unions between files (lint hates it)Theo de Raadt
2004-01-05wording improvemements;Jason McIntyre
started by Jared Yanovich and tempered by otto, tom, millert and myself; ok millert@
2003-12-08-h also overrides BLOCKSIZE;Jason McIntyre
from perry@netbsd
2003-07-29spacingTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-29section reorder;Jason McIntyre
2003-05-26Use prt_scaled from libutil. ok pjanzen@, millert@Ian Darwin
2003-03-12more .LiTheo de Raadt
2003-03-11use file system consistently. spot by margaridaTed Unangst
2003-02-19oops; delete it, don't just shuffleTed Unangst
2003-02-19LFS is dead. saves some space on install floppies too.Ted Unangst
ok deraadt@
2002-07-04ansiTheo de Raadt
2002-06-08This doesn't need to be setgid operator; it was only set so usersAngelos D. Keromytis
could do "df /dev/rwd0a" or some such, but arguably only operators (or root) care about this, and they should already be on the operator group.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-24fix the history refsMichael Shalayeff
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.