Commit Graph

67 Commits (da1a022670074686a0cae9363582d51547cbd42e)

Author SHA1 Message Date
Theodore Ts'o 80bfaa3e40 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 15:08:37 +00:00
Theodore Ts'o 7adb91d8e7 ChangeLog, e2fsprogs.spec:
e2fsprogs.spec (Summary): Add description of resize2fs to the package
  	summary.
POTFILES.in:
  Add recover.c and journal.c to the list of files that need
  internationalization processing.
2000-08-14 14:47:51 +00:00
Theodore Ts'o a298071380 ChangeLog, configure, configure.in:
configure.in: Add test for sys/mount.h (required for e2fsck's ext3
  	recovery code)
2000-08-14 14:30:50 +00:00
Theodore Ts'o f9e67064ce configure.in:
Commit this file for future use; contains a configure.in script for when
  libuuid gets separtead out into its own package.
libext2fs.texinfo:
  Update version numbers for 1.19 release.
TODO:
  Commit TODO list for 1.19 release.
README:
  Update file for 1.19 release.
ChangeLog, e2fsprogs.spec:
  e2fsprogs.spec: Merge in a few changes from the Red Hat 6.2 spec file,
  	now that we're using a modern rpm to build e2fsprogs.  Also updated
  	version number to 1.19.
version.h:
  Update version number for 1.19 release.
ChangeLog:
  Check in changes for 1.19 release.
2000-07-13 23:25:54 +00:00
Theodore Ts'o ab146766e3 ChangeLog, ext2fs.h:
ext2fs.h (EXT2_LIB_FEATURE_INCOMPAT_SUPP): Add
  	EXT3_FEATURE_INCOMPAT_RECOVER (aka needs_recovery) to the list of
  	filesystem flags supported by the library.
ChangeLog, e2fsprogs.spec:
  e2fsprogs.spec (%post): Remove resize2fs from its old location in
  	/usr/sbin in the postinstall script.
RELEASE-NOTES, version.h:
  Update for WIP release.
2000-07-07 04:37:35 +00:00
Theodore Ts'o e4c8e885d2 ChangeLog, Makefile.in:
Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin.
ChangeLog, unix.c:
  unix.c: Also, re-arrange the logic so that we do the time check only
  	after doing the percentage check, and we only advance the spinner if
  	we're about to display it.
ChangeLog:
  Fix minor wording error in Chagelog.
2000-07-05 23:54:46 +00:00
Theodore Ts'o 197fb3a33a ChangeLog, config.guess, config.sub:
config.guess, config.sub: Update to use latest version from FSF (2000-06-13)
2000-07-05 15:42:23 +00:00
Theodore Ts'o 6928adc90a ChangeLog, configure, configure.in:
Add test for lseek64 and open64
ChangeLog, Makefile.in:
  Makefile.in: Fix makefile so that it's safe to build in parallel.
2000-05-25 23:28:50 +00:00
Theodore Ts'o 91e544f2de ChangeLog, configure, configure.in:
configure.in (DO_SUBSTITUTE_SCRIPT): Remove unneeded substitution.
  	(Left over from before we moved to use a C program to do
  	substitutions.)
2000-05-25 16:43:00 +00:00
Theodore Ts'o 1d2792181f ChangeLog, Makefile.in:
Makefile.in (install): Create a symbolic link for fsck.ext3 as well.
ChangeLog, e2fsprogs.spec:
  e2fsprogs.spec (fsck.ext3): Add /sbin/fsck.ext3 to the spec file.
2000-05-19 02:38:14 +00:00
Theodore Ts'o cc73e0401d ChangeLog:
Makefile.in (source_tar_file): Remove the resize directory from the
  list of excluded files.
  version.h: Update version header for an WIP release.
e2fsprogs.spec, ChangeLog:
  e2fsprogs.spec: Updated for 1.19 release; added resize2fs.
ChangeLog, expect.1:
  f_filetype: Updated expect script to match with new text for
  	immutable/append-only files.
TODO:
  Update TODO file.
2000-04-06 23:05:32 +00:00
Theodore Ts'o 68853373db configure.in, ChangeLog:
configure.in (fdatasync): Add test for fdatasync(), since not all
  	functions have this function.
2000-04-06 21:44:19 +00:00
Theodore Ts'o 286a31aa8a ChangeLog, Makefile.in:
Makefile.in: Remove uneeded parenthesis around shell pipelines
  	containing a "cd" command.  Use && instead of ; so that if the "cd"
  	fails, the makefile stops.
ChangeLog:
  Fix typo.
2000-04-03 13:17:59 +00:00
Theodore Ts'o e8aed8c8db ChangeLog, MCONFIG.in:
MCONFIG.in (CPPFLAGS): Add define of CPPFLAGS from @CPPFLAGS@.  Remove
  	uneeded parenthesis around shell pipelines containing a "cd" command.
2000-04-03 03:18:59 +00:00
Theodore Ts'o 1917875fcd Many files:
unix.c (main): If compression is enabled on the filesystem, print a
  	warning message (for now).
  message.c: Add new compression shortcut: @c == compress
  problem.c, problem.h (PR_1_COMPR_SET): Add new error code.
  pass1.c (check_blocks): If the inode has EXT2_COMPRBLK_FL flag set,
  	check to see if the filesystem supports compression.  If it does pass
  	this information down to process_block() so it can treat the
  	compressed block flag words correctly.  If not, offer to clear the
  	flag, since it shouldn't be set.
  	(process_block): If an inode has the compressed inode flag set, allow
  	EXT2FS_COMPRESSED_BLKADDR.
  pass1b.c (process_pass1b_block, delete_file_block, clone_file_block):
  pass2.c (deallocate_inode_block): Use HOLE_BLKADDR to check to see if
  	the block can be skipped.
ChangeLog, Makefile.in:
  Makefile.in: Exclude the internationalization files from being
  	distributed.
ChangeLog, configure, configure.in:
  configure.in: Add support for --enable-compression.  This is
  	experimental code only for now, which is why it's under --enable test.
  	Once it's stable, it will always be compiled in.
TODO:
  Commit additional TODO items.
2000-02-11 15:55:07 +00:00
Theodore Ts'o 8f3f29d383 ChangeLog, configure, configure.in:
configure.in: Define HAVE_EXT2_IOCTLS based solely on the OS type,
  	instead of basising on whether a test program compiles.  This was
  	screwing up on some Linux kernel header files, and we know the Hurd
  	doesn't support the ext2 ioctls anyway.
types.h:
  Add newline at end of file.
2000-02-11 05:04:44 +00:00
Theodore Ts'o a64c9c13e5 ChangeLog, configure, configure.in, aclocal.m4:
configure.in, aclocal.m4: Add support for GNU gettext
  	internationalization support.
2000-02-08 20:17:21 +00:00
Theodore Ts'o 73ae2d4a23 ChangeLog, configure, MCONFIG.in, configure.in:
MCONFIG.in: Always include src/include in the include path now.  This
  	forces us to use our internally provided ext2_fs.h file, for sanity's
  	sake.
  configure.in: If linux/fs.h isn't found, then add build/include into
  	the include path only, since src/include is now always included.
  	Removed define of HAVE_LINUX_FS_H, since we're not using it any more.
  	Removed i_version vs. i_generation check, since with the included
  	header file it is a permanently known quantity.  Removed AC_C_CROSS
  	since it has been merged into AC_PROG_CC in autoconf 2.13.
2000-02-02 16:13:14 +00:00
Theodore Ts'o 77200f4ed7 ChangeLog, MCONFIG.in:
MCONFIG.in (DEPLIBUUID): Since LIBUUID can sometimes include
  	"-lsocket" we need a separate DEPLIBUUID that can be used in
  	Makefile's dependency rules.
ChangeLog, Makefile.in:
  Makefile.in: Since LIBUUID can sometimes include "-lsocket" we need a
  	separate DEPLIBUUID that can be used in Makefile's dependency rules.
2000-01-18 17:53:27 +00:00
Theodore Ts'o 5c36a2f85b ChangeLog, Makefile.in:
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
  	source directory.  Also, when making the .exclude file for the
  	source_tar_file, exclude those two files as well.
  Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
  	source directory.
1999-11-19 18:42:30 +00:00
Theodore Ts'o cd08636179 libext2fs.texinfo, ChangeLog:
Update for 1.18 release.
1999-11-10 16:00:39 +00:00
Theodore Ts'o 28e1194e65 Many files:
Update for 1.17 release.
1999-10-26 18:17:20 +00:00
Theodore Ts'o c81c6ce57e util.c:
Fix stupid bugs in NT portability patch.
ChangeLog, configure, configure.in:
  Add termios.h to the headers which are checked.
1999-10-26 04:28:53 +00:00
Theodore Ts'o f8bd980703 ChangeLog, configure, configure.in:
configure.in: Move the code that checks for the presence of Linux
  	header files, to earlier in the config file, since it adds a directory
  	to the include path, and that needs to happen before any compile tests
  	are run.
1999-10-26 04:19:45 +00:00
Theodore Ts'o ad6783df0c ChangeLog, fsck.c:
fsck.c (execute): Fix really stupid bug in the linked list management
  	which caused fsck in parallel mode to go into an infinite loop.
ChangeLog, mke2fs.c:
  mke2fs.c (show_stats): Capitalized Hurd to make the GNU types happy.
ChangeLog, configure.in:
  configure.in: Capitalized Hurd to make the GNU folks happy.
1999-10-26 01:58:54 +00:00
Theodore Ts'o 614fdfd5d9 ChangeLog:
Update for 1.16 release.
libext2fs.texinfo:
  Update version number for 1.16 release.
1999-10-23 03:19:51 +00:00
Theodore Ts'o c03bc4e8f2 ChangeLog, configure, configure.in:
* configure.in (HAVE_STATE_FLAGS): Check to see if st_flags is
  	actually useful (since glibc 2.1 declares it on Alpha without
  	it being usable).  Add check for signal.h header file, which
  	doesn't exist on non-unix platforms.
1999-10-20 18:20:36 +00:00
Theodore Ts'o 657cb97522 ChangeLog:
Add 1.15 release note to the Changelogs.
1999-07-30 23:19:10 +00:00
Theodore Ts'o e2a99be61e ChangeLog, depfix.sed:
depfix.sed: Remove all line continuations from the dependencies; the
  	word wrapping is now done by wordwrap.pl.
README, RELEASE-NOTES, TODO, e2fsprogs.spec:
  Update for 1.15 release.
1999-07-19 15:48:08 +00:00
Theodore Ts'o 45a676b5f1 Makefile.in:
Update dependencies.
ChangeLog:
  Update ChangeLog to reflect full set of changes to configure.in
1999-07-03 20:45:28 +00:00
Theodore Ts'o 6c133523b2 ChangeLog, MCONFIG.in, configure.in, configure:
MCONFIG.in (BUILD_CC):
  configure.in (BUILD_CC): If cross compiling, find the native C
  	compiler and set it to BUILD_CC so that we can successfully build
  	util/subst.
ChangeLog, Makefile.in:
  Makefile.in (subst): Build subst using $(BUILD_CC), since it's a
  	helper program which must be built using the native C compiler during
  	a cross-compilation.
Makefile.in:
  Update dependencies.
1999-07-03 20:37:03 +00:00
Theodore Ts'o 9d564f73f5 ChangeLog, Makefile.in, configure.in, MCONFIG.in, configure, wordwrap.pl:
Makefile.in (depend): Make "make depend" at the top-level
  	automatically recurse through all subdirectories.
  configure.in: Test for perl since it's needed by wordwrap.pl
  MCONFIG.in (depend): Fix make-depend so that it the dependencies are
  	automatically word-wrapped.  Added the makefile macro $(PERL).
  wordwrap.pl: New file which does the word wrapping.
1999-07-03 20:25:58 +00:00
Theodore Ts'o ef8901be24 ChangeLog, MCONFIG.in:
MCONFIG.in (subst): Add rule to build the util/subst program if
  	necessary (by cd'ing to $(top_builddir)/util and making it.)
1999-07-03 04:55:36 +00:00
Theodore Ts'o 6670495a39 ChangeLog, configure.in, configure:
configure.in: Check for the presence of i_generation field versus
  	i_version in the ext2_inode to support compiling e2fsprogs in Linux
  	2.3.
1999-06-25 15:30:33 +00:00
Theodore Ts'o a4bf69d919 ChangeLog, fileio.c:
fileio.c (ext2fs_file_open): Remove obsolete comment stating that we
  	don't handle writing yet (we do).  Fixed bug where we weren't
  	allocating a big enough buffer for ext2_bmap.
ChangeLog, ext2fs.h:
  ext2fs.h: Add feature definition for AFS IMAGIC inodes.
ChangeLog, MCONFIG.in, config.sub:
  MCONFIG.in: Define man1dir, man3dir, and man8dir in terms of mandir.
  config.sub: Update config.sub from autoconf 2.13 so that it will
  	recognize new machine types from the Alpha.
configure:
  Update to match latest changes to configure.in
1999-05-29 21:53:30 +00:00
Theodore Ts'o 6454d84b0d ChangeLog, configure.in:
Add check for malloc.h and mallinfo().
1999-03-16 19:24:34 +00:00
Theodore Ts'o 9e51eca782 ChangeLog, message.c:
message.c (safe_print): New function which prints strings, converting
  	non-printable characters using the '^' and M-notation.  This function
  	is now used to print directory name entries and pathnames.
ChangeLog:
  Update for release of E2fsprogs 1.14.
1999-01-09 16:32:31 +00:00
Theodore Ts'o 40fa8cc9b0 ChangeLog, configure.in:
configure.in (YEAR): Allow a 4-digit year for the version date, so we
  	can be Y2K politically correct.  (The date isn't used for anything
  	except display purposes, but it should make people more comfortable to
  	not use a 2-digit date, even though it doesn't matter.)
1999-01-09 05:06:02 +00:00
Theodore Ts'o defde7840c Makefile.in, configure.in, ChangeLog, configure:
Makefile.in: Move the generated types.h file from the linux/ directory
  	to the asm/ directory.
  configure.in: Force Solaris to never use -static, due to its dynamic
  	loader not being available to statically linked programs.  Create the
  	asm/ directory if needed.
.del-types.h.in~ca55114a, .del-ext2_fs.h~7a460879, .del-types.h.in~7a460879:
  Move the types.h header file from linux/ to asm/.
1999-01-04 07:39:19 +00:00
Theodore Ts'o 04c5b028a9 ChangeLog, INSTALL.elfbin:
INSTALL.elfbin (NOTE): Add a warning that the ELF binaries assume glibc.
1999-01-02 04:15:29 +00:00
Theodore Ts'o cf554b133d ChangeLog, config.guess:
config.guess: Update with a newer version from the FSF (although I've
  	removed rms's pathetic LINUX/GNU name kludgery)
1999-01-02 04:10:33 +00:00
Theodore Ts'o 556ad1327f Many files:
Update version information in ChangeLogs, release notes,
  documentation, etc.  for release of version 1.13.
1998-12-19 08:10:58 +00:00
Theodore Ts'o 5a679c8fb1 ChangeLog, pass3.c, problem.c:
pass3.c (get_lost_and_found): If the filesystem is not opened
  	read-only, then force /lost+found to be created if it is not present.
  problem.c: Allow PR_3_NO_LF_DIR to be handled during a preen operation.
ChangeLog, Makefile.in:
  Makefile.in: Updated dependencies.
ChangeLog, fsck.c:
  fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of relying
  	on getmntent().  This has the advantage of allowing us to properly
  	handle missing pass numbers correctly.
ChangeLog, configure.in:
  configure.in: Add paths.h to header files for which we search.
1998-12-03 16:40:38 +00:00
Theodore Ts'o 4a5fa19212 ChangeLog, .del-ChangeLog~905e7699, version.h:
Update for 1.12 release.
1998-07-09 05:42:45 +00:00
Theodore Ts'o ffe1991f47 ChangeLog, configure.in, configure:
Fix missing "test" invokation in configure.in test.  (Only affected
  default non-Linux builds).
1998-04-08 06:05:49 +00:00
Theodore Ts'o a4b2d3ce5e Many files:
configure.in: Change how the installation directions are selected.
  	Previously, we had prefix and usr_prefix, where prefix was '' and
  	usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
  	ulibdir, etc. in terms of that.  In autoconf 2.12, it's possible to
  	override bindir, libdir, etc., and so in order to make our
  	installation directory makefile variables more in line with autoconf
  	2.12, I've changed all of the various makefiles to use prefix and
  	root_prefix, where the default Linux definitions are /usr and '',
  	respectively.  What used to be bindir is now root_bindir, and what
  	used to be ubindir, is now bindir.
  MCONFIG.in: Change directories to match with new installation
  	directory convention (see above).  Add Makefile
  	dependencies for makefile fragments, and define
  	DEP_LIB_MAKEFILES which library makefiles can use to
  	define DEP_MAKEFILES, so that the library makefiles will
  	get regenerated when the makefile fragments change.
  	Remove the cat?dir variables, since we aren't creating
  	those directories any more.
  Makefile.in: Add top-level uninstall targets.
  e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
  	to reflect that fact that we now compile_et and mk_cmds for the
  	development package.
ChangeLog, Makefile.in:
  Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
  Update to interim version numbers for release purposes.
1998-04-03 16:12:25 +00:00
Theodore Ts'o bf2602bef6 ChangeLog, Makefile.in, MCONFIG.in:
Makefile.in: Use && after a cd command so that the right thing happens
  	if the directory is missing.  Don't compile man pages upon
  	installation any more, since modern Linux systems don't have
  	/usr/man/cat? anymore (they typically cache man pages in /var/catman
  	and delete them if they haven't been used in a while, to save on disk
  	space, and because CPU's are fast enough these days that you can get
  	away with this).
  MCONFIG.in: Add a new makefile variable for the share directory (i.e.,
  	/usr/share).  Make an autoconf magic make rule so that
  	$(top_builddir)/util/subst.conf gets rebuilt automatically when
  	necessary.
1998-03-30 01:11:44 +00:00
Theodore Ts'o 51fde2bb4f version.h:
Update the version date.
ChangeLog:
  Fix typo.
1998-02-21 04:57:31 +00:00
Theodore Ts'o dedf1b2768 ChangeLog, .del-e2fsprogs-1.12.spec~2cb50db6:
Update spec file in preparataion for 1.12 release.
1998-01-19 15:02:12 +00:00
Theodore Ts'o 5be8dc2143 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-01 18:24:10 +00:00