summaryrefslogtreecommitdiffstats
path: root/sbin/ffsinfo/Makefile
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-08-14 18:55:31 +0000
committerrwatson <rwatson@FreeBSD.org>2003-08-14 18:55:31 +0000
commitf25b6baf4b35d436161e29d5813c10e287d8d396 (patch)
treeee361914ed07679e9403628c060ab0421a956148 /sbin/ffsinfo/Makefile
parent561613bab84178853cab1279e0a22dad7f2f1aa0 (diff)
downloadFreeBSD-src-f25b6baf4b35d436161e29d5813c10e287d8d396.zip
FreeBSD-src-f25b6baf4b35d436161e29d5813c10e287d8d396.tar.gz
Commit 1 of 2 to fix ffsinfo(8) for UFS2.
Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging functions. Largely consists of renaming fields and types to be aware of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity check the device/file/label accessed. Since libufs(3) now handles label/UFS interactions, remove -L argument. Note: when submitted, this patch had substantial style changes. I've attempted to remove the restyling from the patch to separate the functional and style changes. Submitted by: Lukas Ertl <l.ertl@univie.ac.at> PR: bin/53517
Diffstat (limited to 'sbin/ffsinfo/Makefile')
-rw-r--r--sbin/ffsinfo/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ffsinfo/Makefile b/sbin/ffsinfo/Makefile
index 9562f36..47c1d70 100644
--- a/sbin/ffsinfo/Makefile
+++ b/sbin/ffsinfo/Makefile
@@ -15,5 +15,7 @@ MAN= ffsinfo.8
WARNS?= 0
CFLAGS+=-DFS_DEBUG -I${GROWFS}
+DPADD= ${LIBUFS}
+LDADD= -lufs
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud