summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordenny <denny@openbsd.org>1997-06-16 04:37:48 +0000
committerdenny <denny@openbsd.org>1997-06-16 04:37:48 +0000
commit8ede77957113c550713fc098bb86647e7e1d809c (patch)
treebdc65614d953c9a4817e67f4596525093ed3903c /lib
parentNormalize treatment of -n option. Don't know why it was ever special-cased (diff)
downloadwireguard-openbsd-8ede77957113c550713fc098bb86647e7e1d809c.tar.xz
wireguard-openbsd-8ede77957113c550713fc098bb86647e7e1d809c.zip
Better support for unmounted filesystems (i.e. df /dev/rsd0a):
- 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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions