7703a6ff27
errors have been detected in a particular run. Clean up the global state variables so that a restart can happen correctly. Separate the global variables in fsck_ffs and fsdb to their own file. This fixes header sharing with fscd. Correctly initialize, static-ize, and remove global variables as needed in dir.c. This fixes a problem with lost+found directories that was causing a segfault. Correctly initialize, static-ize, and remove global variables as needed in suj.c. Initialize the suj globals before allocating the disk object, not after. Also ensure that 'preen' mode doesn't conflict with 'restart' mode Submitted by: scottl, max Reviewed by: max, mckusick (earlier version) Obtained from: Netflix MFC after: 3 days
20 lines
551 B
Makefile
20 lines
551 B
Makefile
# $FreeBSD$
|
|
# @(#)Makefile 8.2 (Berkeley) 4/27/95
|
|
|
|
PROG= fsck_ffs
|
|
LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_ufs
|
|
LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd
|
|
MAN= fsck_ffs.8
|
|
MLINKS= fsck_ffs.8 fsck_ufs.8 fsck_ffs.8 fsck_4.2bsd.8
|
|
SRCS= dir.c ea.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c \
|
|
pass4.c pass5.c setup.c suj.c utilities.c gjournal.c getmntopts.c \
|
|
globs.c
|
|
DPADD= ${LIBUFS}
|
|
LDADD= -lufs
|
|
WARNS?= 2
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mount
|
|
|
|
.PATH: ${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../mount
|
|
|
|
.include <bsd.prog.mk>
|