summaryrefslogtreecommitdiff
path: root/bin/df/df.c
AgeCommit message (Collapse)Author
1997-06-16Better support for unmounted filesystems (i.e. df /dev/rsd0a):denny
- interpret the superblock of lfs, ext2fs, and ffs filesystems. - never mount() an offline filesystem, always read its superblock. - use the same algorithm as statfs() for ffs, get the same answers. Even so, now I'm really unsure this code should remain in df. Similar functionality should be added to dumpfs or fsck instead.
1997-06-01From denny@c200234-a.frmt1.sfba.home.com, check superblock magic number.Jason Downs
I'm unsure if this code should even remain in df.
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 ↵Theo de Raadt
very low
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