1997-04-26 21:58:21 +08:00
|
|
|
#
|
|
|
|
# Makefile for e2fsck
|
|
|
|
#
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
top_builddir = ..
|
1997-04-29 22:53:37 +08:00
|
|
|
my_dir = e2fsck
|
1997-04-26 21:58:21 +08:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
LDFLAG_STATIC = @LDFLAG_STATIC@
|
|
|
|
|
|
|
|
@MCONFIG@
|
|
|
|
|
Many files:
dblist.c (ext2fs_get_num_dirs): Make ext2fs_get_num_dirs more paranoid
about validating the directory counts from the block group
information.
all files: Don't include stdlib.h anymore; include it in ext2_fs.h,
since that file requires stdlib.h
ChangeLog, Makefile.in, dirinfo.c:
dirinfo.c (e2fsck_add_dir_info): Use ext2fs_get_num_dirs instead of
e2fsck_get_num_dirs, which has been removed.
Makefile.in (PROGS): Remove @EXTRA_PROGS@, since we don't want to
compile and install flushb.
ChangeLog, configure.in:
Remove @EXTRA_PROGS@, since we aren't using it in 2fsck/Makefile.in anymore
ChangeLog, Makefile.in:
Install debugfs in /sbin, instead of /usr/sbin.
libext2fs.texinfo:
Update version string to be 1.12
Makefile.in:
Fix bug in find script which made the exclusion list, where a '-' was
missing from an -name option.
1997-12-02 02:24:10 +08:00
|
|
|
PROGS= e2fsck
|
1997-04-26 21:58:21 +08:00
|
|
|
MANPAGES= e2fsck.8
|
1997-10-20 09:38:32 +08:00
|
|
|
XTRA_CFLAGS= -DRESOURCE_TRACK
|
1997-04-26 21:58:21 +08:00
|
|
|
|
1997-04-29 22:53:37 +08:00
|
|
|
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBUUID)
|
2000-01-19 05:27:12 +08:00
|
|
|
DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBUUID)
|
1997-04-29 22:34:47 +08:00
|
|
|
|
1997-04-29 22:53:37 +08:00
|
|
|
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBUUID)
|
2000-01-19 05:27:12 +08:00
|
|
|
STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(DEPSTATIC_LIBUUID)
|
1997-04-29 22:34:47 +08:00
|
|
|
|
1997-04-29 22:53:37 +08:00
|
|
|
PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) $(PROFILED_LIBUUID)
|
2000-01-19 05:27:12 +08:00
|
|
|
PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR) \
|
|
|
|
$(DEPPROFILED_LIBUUID)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
.c.o:
|
1997-04-26 22:37:06 +08:00
|
|
|
$(CC) -c $(ALL_CFLAGS) $< -o $@
|
1997-04-30 00:15:03 +08:00
|
|
|
@PROFILE_CMT@ $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Flags for using Checker
|
|
|
|
# Note: The optimization flags must include -g
|
|
|
|
#
|
|
|
|
#MCHECK= -checker
|
1997-04-29 22:34:47 +08:00
|
|
|
#LIBS= $(LIBCOM_ERR) $(LIB_EXT2FS) $(CHECKLIB)
|
|
|
|
#DEPLIBS= $(LIBCOM_ERR) $(LIB_EXT2FS)
|
1997-04-26 21:58:21 +08:00
|
|
|
#CHECKLIB= /usr/lib/libchecker.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flags for doing mtrace --- uncomment to produce mtracing e2fsck
|
|
|
|
# Note: The optimization flags must include -g
|
|
|
|
#
|
|
|
|
#MTRACE= -DMTRACE
|
|
|
|
#MTRACE_OBJ= mtrace.o
|
|
|
|
#MTRACE_SRC= $(srcdir)/mtrace.c
|
|
|
|
#OPT= -g
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flags for doing mcheck --- uncomment to produce mchecking e2fsck
|
|
|
|
# Note: The optimization flags must include -g
|
|
|
|
#
|
|
|
|
#MCHECK= -DMCHECK
|
|
|
|
|
2002-08-02 00:37:00 +08:00
|
|
|
OBJS= dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o \
|
2002-06-26 11:26:34 +08:00
|
|
|
pass5.o journal.o swapfs.o badblocks.o util.o dirinfo.o dx_dirinfo.o \
|
|
|
|
ehandler.o problem.o message.o recovery.o region.o revoke.o \
|
2002-07-20 12:28:07 +08:00
|
|
|
ea_refcount.o rehash.o $(MTRACE_OBJ)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2002-08-02 00:37:00 +08:00
|
|
|
PROFILED_OBJS= profiled/dict.o profiled/unix.o profiled/e2fsck.o \
|
|
|
|
profiled/super.o profiled/pass1.o profiled/pass1b.o \
|
1997-04-29 22:34:47 +08:00
|
|
|
profiled/pass2.o profiled/pass3.o profiled/pass4.o profiled/pass5.o \
|
2000-07-07 12:13:21 +08:00
|
|
|
profiled/journal.o profiled/badblocks.o profiled/util.o \
|
2002-06-26 11:26:34 +08:00
|
|
|
profiled/dirinfo.o profiled/dx_dirinfo.o profiled/ehandler.o \
|
|
|
|
profiled/message.o profiled/problem.o profiled/swapfs.o \
|
|
|
|
profiled/recovery.o profiled/region.o profiled/revoke.o \
|
2002-07-20 12:28:07 +08:00
|
|
|
profiled/ea_refcount.o profiled/rehash.o
|
1997-04-29 22:34:47 +08:00
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
SRCS= $(srcdir)/e2fsck.c \
|
2002-08-02 00:37:00 +08:00
|
|
|
$(srcdir)/dict.c \
|
Many files:
pass*.c, super.c: Massive changes to avoid using printf and com_err
routines. All diagnostic messages are now routed through the
fix_problem interface.
pass2.c (check_dir_block): Check for duplicate '.' and '..' entries.
problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and
PR_2_DUP_DOT_DOT.
problem.c: Added new problem codes for some of the superblock
corruption checks, and for the pass header messages. ("Pass
1: xxxxx")
util.c (print_resource_track): Now takes a description argument.
super.c, unix.c, e2fsck.c: New files to separate out the
operating-specific operations out from e2fsck.c. e2fsck.c now
contains the global e2fsck context management routines, and
super.c contains the "pass 0" initial validation of the
superblock and global block group descriptors.
pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate
(nearly) all global variables and moved them to the e2fsck
context structure.
problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT,
PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP,
PR_0_FIRST_DATA_BLOCK
expect.1, expect.2:
Updated tests to align with e2fsck problem.c changes.
1997-10-04 01:48:10 +08:00
|
|
|
$(srcdir)/super.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/pass1.c \
|
|
|
|
$(srcdir)/pass1b.c \
|
|
|
|
$(srcdir)/pass2.c \
|
|
|
|
$(srcdir)/pass3.c \
|
|
|
|
$(srcdir)/pass4.c \
|
|
|
|
$(srcdir)/pass5.c \
|
2000-07-07 12:13:21 +08:00
|
|
|
$(srcdir)/journal.c \
|
2000-08-14 22:25:19 +08:00
|
|
|
$(srcdir)/recovery.c \
|
2000-12-09 14:41:25 +08:00
|
|
|
$(srcdir)/revoke.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/badblocks.c \
|
|
|
|
$(srcdir)/util.c \
|
Many files:
pass*.c, super.c: Massive changes to avoid using printf and com_err
routines. All diagnostic messages are now routed through the
fix_problem interface.
pass2.c (check_dir_block): Check for duplicate '.' and '..' entries.
problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and
PR_2_DUP_DOT_DOT.
problem.c: Added new problem codes for some of the superblock
corruption checks, and for the pass header messages. ("Pass
1: xxxxx")
util.c (print_resource_track): Now takes a description argument.
super.c, unix.c, e2fsck.c: New files to separate out the
operating-specific operations out from e2fsck.c. e2fsck.c now
contains the global e2fsck context management routines, and
super.c contains the "pass 0" initial validation of the
superblock and global block group descriptors.
pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate
(nearly) all global variables and moved them to the e2fsck
context structure.
problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT,
PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP,
PR_0_FIRST_DATA_BLOCK
expect.1, expect.2:
Updated tests to align with e2fsck problem.c changes.
1997-10-04 01:48:10 +08:00
|
|
|
$(srcdir)/unix.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/dirinfo.c \
|
2002-06-26 11:26:34 +08:00
|
|
|
$(srcdir)/dx_dirinfo.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(srcdir)/ehandler.c \
|
1997-04-30 00:15:03 +08:00
|
|
|
$(srcdir)/problem.c \
|
ChangeLog, Makefile.in, swapfs.c, unix.c:
Makefile.in: Add message.c and swapfs.c to the list of source files to
build the make depend.
swapfs.c, unix.c: Only support the -s and -S options to e2fsck if
ENABLE_SWAPFS is defined.
Many files:
ext2fs.h, bitops.h, block.c, bmap.c, closefs.c, dirblock.c, inode.c,
native.c, openfs.c, rw_bitmaps.c, swapfs.c: Only include the
byte-swapping logic if ENABLE_SWAPFS is turned on or if we're on a
big-endian machine.
initialize.c (ext2fs_initialize):Use WORDS_BIGENDIAN directly to set
EXT2_FLAG_SWAP_BYTES, instead of using ext2fs_native_flag.
native.c (ext2fs_native_flag): Use WORDS_BIGENDIAN provided by
autoconf to determine whether or not return EXT2_FLAG_SWAP_BYTES.
2001-06-11 15:00:04 +08:00
|
|
|
$(srcdir)/message.c \
|
|
|
|
$(srcdir)/swapfs.c \
|
2001-07-02 23:54:09 +08:00
|
|
|
$(srcdir)/ea_refcount.c \
|
2002-07-20 12:28:07 +08:00
|
|
|
$(srcdir)/rehash.c \
|
2001-07-20 04:31:25 +08:00
|
|
|
$(srcdir)/region.c \
|
1997-04-26 21:58:21 +08:00
|
|
|
$(MTRACE_SRC)
|
|
|
|
|
1997-04-29 22:53:37 +08:00
|
|
|
all:: profiled $(PROGS) e2fsck.static e2fsck.shared $(MANPAGES)
|
ChangeLog, bitops.h:
bitops.h (ext2fs_mark_generic_bitmap, ext2fs_unmark_generic_bitmap,
ext2fs_mark_block_bitmap, ext2fs_unmark_block_bitmap,
ext2fs_mark_inode_bitmap, ext2fs_unmark_inode_bitmap): Change to
return the previous state of the bit that is being marked or unmarked.
For speed optimization.
ChangeLog, pass3.c:
pass3.c (check_directory): Only do the loop detection algorithm if
we've searched over 2048 parent directories and haven't found the end
yet. This means that in the common case, we don't allocate or clear
the inode_loop_detection bitmap, which for large systems, merely
clearing the bitmap for each directory was turning out to be quite
expensive. Thanks to Jani Jaakkola (jjaakkol@cs.helsinki.fi) for
identifying this problem.
ChangeLog, Makefile.in, e2fsck.h, unix.c:
Makefile.in: Call sync after finishing building all in this directory.
unix.c (PRS): sync the filesystem before trying to use BLKFLSBUF, to
minimize the chance of causing dirty blocks to get dropped.
e2fsck.h: Manually define BLKFLSBUF if not defined, and we're on a
Linux/i386 system.
2000-02-09 03:14:02 +08:00
|
|
|
@sync
|
1997-04-26 21:58:21 +08:00
|
|
|
|
1997-04-29 22:34:47 +08:00
|
|
|
@PROFILE_CMT@all:: e2fsck.profiled
|
|
|
|
|
|
|
|
e2fsck: e2fsck.@E2FSCK_TYPE@
|
|
|
|
$(CP) e2fsck.@E2FSCK_TYPE@ e2fsck
|
|
|
|
|
|
|
|
e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
|
|
|
|
$(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o e2fsck.static $(OBJS) \
|
|
|
|
$(STATIC_LIBS)
|
|
|
|
|
|
|
|
e2fsck.shared: $(OBJS) $(DEPLIBS)
|
|
|
|
$(LD) $(ALL_LDFLAGS) -o e2fsck.shared $(OBJS) $(LIBS)
|
|
|
|
|
1997-04-30 00:15:03 +08:00
|
|
|
e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS)
|
|
|
|
$(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
|
1997-04-29 22:34:47 +08:00
|
|
|
$(PROFILED_LIBS)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2001-07-02 23:54:09 +08:00
|
|
|
tst_refcount: ea_refcount.c
|
|
|
|
$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
|
|
|
|
$(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
|
|
|
|
|
2001-07-20 04:31:25 +08:00
|
|
|
tst_region: region.c
|
|
|
|
$(CC) -o tst_region $(srcdir)/region.c \
|
|
|
|
$(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
|
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
extend: extend.o
|
1997-04-26 22:37:06 +08:00
|
|
|
$(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
flushb: flushb.o
|
1997-04-26 22:37:06 +08:00
|
|
|
$(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
2001-08-09 08:50:57 +08:00
|
|
|
iscan: iscan.o util.o ehandler.o $(DEPLIBS)
|
1997-04-26 22:37:06 +08:00
|
|
|
$(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
1997-04-29 22:34:47 +08:00
|
|
|
profiled:
|
|
|
|
mkdir profiled
|
|
|
|
|
1997-10-15 10:47:20 +08:00
|
|
|
e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
|
1997-04-29 22:34:47 +08:00
|
|
|
$(SUBSTITUTE) $(srcdir)/e2fsck.8.in e2fsck.8
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
installdirs:
|
1998-04-01 11:16:29 +08:00
|
|
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
|
|
|
|
$(DESTDIR)$(man8dir)
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
install: $(PROGS) $(MANPAGES) installdirs
|
|
|
|
for i in $(PROGS); do \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
|
|
|
|
$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
|
1997-04-26 21:58:21 +08:00
|
|
|
done
|
1998-04-01 11:16:29 +08:00
|
|
|
$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext2
|
2000-05-19 10:38:14 +08:00
|
|
|
$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext3
|
1997-04-26 21:58:21 +08:00
|
|
|
for i in $(MANPAGES); do \
|
2002-10-31 16:32:34 +08:00
|
|
|
for j in $(COMPRESS_EXT); do \
|
|
|
|
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
|
|
|
|
done; \
|
1997-04-26 22:37:06 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
|
1997-04-26 21:58:21 +08:00
|
|
|
done
|
2002-02-24 16:48:45 +08:00
|
|
|
$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 $(DESTDIR)$(man8dir)/fsck.ext2.8
|
|
|
|
$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 $(DESTDIR)$(man8dir)/fsck.ext3.8
|
1997-04-26 22:37:06 +08:00
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
uninstall:
|
1997-04-30 00:15:03 +08:00
|
|
|
for i in $(PROGS); do \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
|
1997-04-30 00:15:03 +08:00
|
|
|
done
|
2000-05-19 10:38:14 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext3
|
1997-04-26 21:58:21 +08:00
|
|
|
for i in $(MANPAGES); do \
|
1998-04-01 11:16:29 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(man8dir)/$$i; \
|
1997-04-26 21:58:21 +08:00
|
|
|
done
|
2002-02-24 16:08:57 +08:00
|
|
|
$(RM) -f $(DESTDIR)$(root_sbindir)/fsck.ext2 \
|
|
|
|
$(DESTDIR)$(root_sbindir)/fsck.ext3
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
clean:
|
1997-04-29 22:34:47 +08:00
|
|
|
$(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
|
1999-07-20 05:02:11 +08:00
|
|
|
e2fsck.shared e2fsck.profiled flushb e2fsck.8
|
1997-04-29 22:34:47 +08:00
|
|
|
$(RM) -rf profiled
|
|
|
|
|
1997-04-26 21:58:21 +08:00
|
|
|
mostlyclean: clean
|
|
|
|
distclean: clean
|
1999-11-20 02:42:30 +08:00
|
|
|
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
|
1997-04-26 21:58:21 +08:00
|
|
|
|
|
|
|
# +++ Dependency line eater +++
|
|
|
|
#
|
|
|
|
# Makefile dependencies follow. This must be the last section in
|
|
|
|
# the Makefile.in file
|
|
|
|
#
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
e2fsck.o: $(srcdir)/e2fsck.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
2002-08-31 15:00:33 +08:00
|
|
|
dict.o: $(srcdir)/dict.c $(srcdir)/dict.h
|
1997-11-04 03:42:40 +08:00
|
|
|
super.o: $(srcdir)/super.c $(top_srcdir)/lib/uuid/uuid.h $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
pass1.o: $(srcdir)/pass1.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
2001-07-20 04:31:25 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/ext2_ext_attr.h \
|
|
|
|
$(srcdir)/problem.h
|
1997-04-30 05:26:48 +08:00
|
|
|
pass1b.o: $(srcdir)/pass1b.c $(top_srcdir)/lib/et/com_err.h \
|
Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
e2fsck.h, scantest.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
2001-05-14 19:45:38 +08:00
|
|
|
$(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
2002-08-31 15:00:33 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h $(srcdir)/dict.h
|
1998-12-04 00:40:38 +08:00
|
|
|
pass2.o: $(srcdir)/pass2.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
1997-11-04 03:42:40 +08:00
|
|
|
pass3.o: $(srcdir)/pass3.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
1997-04-29 22:34:47 +08:00
|
|
|
pass4.o: $(srcdir)/pass4.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
1997-11-04 03:42:40 +08:00
|
|
|
pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
2001-12-25 04:33:49 +08:00
|
|
|
journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h \
|
|
|
|
$(srcdir)/problem.h $(top_srcdir)/lib/uuid/uuid.h
|
|
|
|
recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
|
|
|
|
revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/ext2fs/kernel-jbd.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/jfs_compat.h $(top_srcdir)/lib/ext2fs/kernel-list.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
|
Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
e2fsck.h, scantest.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
2001-05-14 19:45:38 +08:00
|
|
|
$(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
util.o: $(srcdir)/util.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
1997-10-20 08:44:26 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
|
|
|
unix.o: $(srcdir)/unix.c $(top_srcdir)/lib/et/com_err.h $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
|
|
|
|
$(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
|
|
|
|
$(srcdir)/problem.h $(top_srcdir)/version.h
|
Many files:
Makefile.in: Update the make dependencies
problem.c, problem.h: Add the problem codes:
PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK,
PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE,
PR_0_ORPHAN_INODE_INUSE
super.c (release_inode_blocks, release_orphan_inodes,
check_super_block): Add support for clearing orphaned inodes from the
unmounted filesystem.
journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check;
this is now handled in check_super_block --- non-journaled filesystems
can use the orphan list in the future. Also, move the the re-opening
of the filesystem to e2fsck_run_ext3_journal().
debugfs.c:
debugfs.c (finish_range): Make sure the pager FILE pointer to use.
configure, configure.in, ChangeLog:
configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
2000-08-18 23:08:37 +08:00
|
|
|
dirinfo.o: $(srcdir)/dirinfo.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
2002-08-31 15:00:33 +08:00
|
|
|
dx_dirinfo.o: $(srcdir)/dx_dirinfo.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
1997-04-30 05:26:48 +08:00
|
|
|
ehandler.o: $(srcdir)/ehandler.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
1997-04-30 05:26:48 +08:00
|
|
|
problem.o: $(srcdir)/problem.c $(srcdir)/e2fsck.h \
|
2001-06-02 07:49:46 +08:00
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h $(srcdir)/problemP.h
|
2001-06-14 05:40:58 +08:00
|
|
|
message.o: $(srcdir)/message.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
|
|
|
swapfs.o: $(srcdir)/swapfs.c $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
|
|
|
|
$(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
2001-07-20 04:31:25 +08:00
|
|
|
ea_refcount.o: $(srcdir)/ea_refcount.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|
2002-08-31 15:00:33 +08:00
|
|
|
rehash.o: $(srcdir)/rehash.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
|
2001-07-20 04:31:25 +08:00
|
|
|
region.o: $(srcdir)/region.c $(srcdir)/e2fsck.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
|
|
|
|
$(top_srcdir)/lib/ext2fs/bitops.h
|