summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2000-10-09 10:23:31 +0000
committeradrian <adrian@FreeBSD.org>2000-10-09 10:23:31 +0000
commit9fab80905d1942ad80ee9603b20fae58afc12279 (patch)
treeea7b7bb116d8a14339402053551017cf33c4c0d3 /sbin/fsdb
parent206c9da0003d97b967e9bde828270b81264479a9 (diff)
downloadFreeBSD-src-9fab80905d1942ad80ee9603b20fae58afc12279.zip
FreeBSD-src-9fab80905d1942ad80ee9603b20fae58afc12279.tar.gz
Reviewed by: rwatson, bp
Approved by: rwatson Obtained from: NetBSD source tree Second part of the fsck wrappers commit. This commit enables the new fsck code (removing the fsck/* code and replacing it with the netbsd fsck wrapper code), and enabling some FFS-based utilities to compile. Details: * quotacheck, fsdb required modification to use the fsck_ffs/ code rather than fsck/ . This might change later since quotacheck requires preen.c which should exist in fsck/ rather than fsck_ffs/ * src/Makefile has fsck_ffs added to it so it it built as part of the tree now * share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck. I've tested this, and it shouldn't require any changes on your machine. The fsck wrapper reads /etc/fsck and is command-line-compatible enough to not require rc changes (well, most changes unless you want to do anything nifty by specifying the fs types explicityly, read the man page if you want further details on what it can do.) This now allows us to support multiple filesystem types during bootup.
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile
index ef842c9..972bf8e 100644
--- a/sbin/fsdb/Makefile
+++ b/sbin/fsdb/Makefile
@@ -5,11 +5,11 @@
PROG= fsdb
MAN8= fsdb.8
SRCS= fsdb.c fsdbutil.c \
- dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
+ dir.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c
-CFLAGS+= -I${.CURDIR}/../fsck
+CFLAGS+= -I${.CURDIR}/../fsck_ffs
LDADD+= -ledit -ltermcap
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
-.PATH: ${.CURDIR}/../fsck ${.CURDIR}/../../sys/ufs/ffs
+.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud