summaryrefslogtreecommitdiff
path: root/bin/df/df.c
AgeCommit message (Expand)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-03-16actually print the now available large numbersOtto Moerbeek
2007-12-22fix df posix mode bugCharles Longeau
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-10-29like -i, -h is incompatible with -P; suggested by jmc@; ok ray@Otto Moerbeek
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
2005-01-28widen the avail/used columns by one space to accomodate for >100g filesystems...Michael Shalayeff
2004-11-18Sync usage with man page; Paul de WeerdTodd C. Miller
2004-10-15Don't print header if we didn't print any usage lines. Noticed andTodd C. Miller
2004-09-14fd leak (and who said lint never finds real bugs)Theo de Raadt
2004-09-14remove unused variableTheo de Raadt
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
2003-05-26Use prt_scaled from libutil. ok pjanzen@, millert@Ian Darwin
2003-02-19LFS is dead. saves some space on install floppies too.Ted Unangst
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-06o) __progname aria;Mike Pechkin
2001-07-09Compute %used in -P mode as a double, just like we do in normal printingTodd C. Miller
2001-02-23Avoid potential uninitialized variablePaul Janzen
2000-10-18sort out printf formats according to types, 64bit arithmetics in ffs_df; mill...Michael Shalayeff
2000-03-24Make f_bsize signed. Having it unsigned causes surprising (and unwanted)Todd C. Miller
1999-12-31In prtstat() use u_int32_t and int32_t, not long and castTodd C. Miller
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
1999-01-31When adjusting units for -h mode, use the absolute value to check forTodd C. Miller
1998-08-18people who fail to update man pages and usage lines will henceforth be shot o...Theo de Raadt
1998-08-17fix df -P on 0-size filesystemsTheo de Raadt
1997-11-20Fix units conversion wrt -h flag to be correct (and consistent withTodd C. Miller
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-19Add -P option, the POSIX 1003.2 output format (strictly specified for parsing).denny
1997-07-23tabifykstailey
1997-06-16Better support for unmounted filesystems (i.e. df /dev/rsd0a):denny
1997-06-01From denny@c200234-a.frmt1.sfba.home.com, check superblock magic number.Jason Downs
1997-04-14make -h columns more compactkstailey
1997-04-14switch from <blank> to "B" for byte suffix; columns look too ugly otherwisekstailey
1997-04-14fix Avail column in -h mode (again)kstailey
1997-04-14fix Avail column in -h modekstailey
1997-04-14new "-h" (human-readable) output flag now works, please test. thxkstailey
1997-04-12start of -h (human readable) flag. more to comekstailey
1997-04-04when mktemp() is hard to fix, use 10 XTheo de Raadt
1996-12-24indicate this mktemp is vulnerable to a DOS attack, however the impact is ver...Theo de Raadt
1996-12-14-Wall'ing.Michael Shalayeff
1996-12-07handle -t & -l in more cases; netbsd pr#2869, hubert.feyrer@rz.uni-regensburg.deTheo de Raadt
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-11-06complete ufs -> ffs change (From John Kohl; PR #1403)Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt