diff options
author | denny <denny@cvs.openbsd.org> | 1997-06-16 04:37:51 +0000 |
---|---|---|
committer | denny <denny@cvs.openbsd.org> | 1997-06-16 04:37:51 +0000 |
commit | 917618fd0d4785021ed5c6f96f068964606abaa7 (patch) | |
tree | 4f7a6593c8f299e8bb48793499edfe19cdcbd76f /bin/df/Makefile | |
parent | 7e648a5e6d2f98a29cf7cc995989553a1b895e94 (diff) |
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 'bin/df/Makefile')
-rw-r--r-- | bin/df/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/df/Makefile b/bin/df/Makefile index a07eb37e972..ce0b720bc80 100644 --- a/bin/df/Makefile +++ b/bin/df/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.2 1996/06/23 14:19:50 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 1997/06/16 04:37:48 denny Exp $ # $NetBSD: Makefile,v 1.9 1995/03/21 09:04:14 cgd Exp $ PROG= df +SRCS= df.c ffs_df.c lfs_df.c ext2fs_df.c BINGRP= operator BINMODE=2555 |