aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2000-10-09 10:23:31 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2000-10-09 10:23:31 +0000
commitda7e7114d116b4e34a5a5b168d7c49c859afaf5f (patch)
treef8a5ed6a2c434fef25adeb109c71abe05da98b49 /sbin/fsdb
parentd9f97000b4206558864ea929c3615ec69512966c (diff)
downloadsrc-da7e7114d116b4e34a5a5b168d7c49c859afaf5f.tar.gz
src-da7e7114d116b4e34a5a5b168d7c49c859afaf5f.zip
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.
Notes
Notes: svn path=/head/; revision=66868
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 ef842c9d50b2..972bf8e75430 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>