Commit Graph

836 Commits (67052a8aeeca8cd80d1dd33c2792f917573accc8)

Author SHA1 Message Date
Theodore Ts'o 2520f20aa4 Update size of tarball. 2001-06-23 00:25:18 -04:00
Theodore Ts'o 67960139d7 Update changelogs for 1.22. 2001-06-23 00:16:37 -04:00
Theodore Ts'o 19d6b54b2d Update for 1.22 release. 2001-06-23 00:13:09 -04:00
Theodore Ts'o 7978621611 Synchronize with Debian release 1.21+1.22-WIP-0620-1 2001-06-22 23:05:23 -04:00
Theodore Ts'o b23520d050 mkjournal.c (ext2fs_add_journal_inode): Move close of file
descriptor so that adding a journal to a mounted
	filesystem doesn't die.  (Fixes a bug accidentally
	introduced in e2fsprogs 1.21.)
2001-06-22 21:52:14 -04:00
Theodore Ts'o 7833262585 mkjournal.c (ext2fs_add_journal_inode): Only use fchflags if
HAVE_CHFLAGS and UF_NODUMP are defined, since the Hurd has
	fchflags without defining UF_NODUMP.  (Addresses Debian
	bug #101361)
2001-06-22 21:20:47 -04:00
Theodore Ts'o d90f3494b2 e2fsck/flushb.c and lib/ext2fs/flushb.c: Use platform independent
method of defining the BLKFLSBUF and FDFLUSH ioctl's.
	Also include sys/mount.h since on newer glibc's BLKFLSBUF
	is defined there.
2001-06-22 21:01:17 -04:00
Theodore Ts'o 16645f802a bitops.h: The C language versions of ext2fs_swab16/32 need to be
included if EXT2FS_ENABLE_SWAPFS is defined, since we need to support
	byte swapping even if we don't support the conversion functions.
	(Fixes Debian bug #101686).
2001-06-22 20:54:11 -04:00
Theodore Ts'o 163337b069 uuid.h: Add protection against multiple inclusion 2001-06-22 20:51:42 -04:00
Theodore Ts'o b006f361ed ADD TAG: WIP-20010620 2001-06-22 20:50:05 -04:00
Theodore Ts'o 6a8256e982 Update version for 1.22-WIP release 2001-06-22 20:50:05 -04:00
Theodore Ts'o 990d96a9d0 Makefile.in: Avoid including BitKeeper files into the source tarball. 2001-06-22 20:47:24 -04:00
Theodore Ts'o 89a1fa831f dirblock.c (ext2fs_read_dir_block): Remove use of dir_entry_2 since
the byte-swapping code all assumes the ext2_dir_entry structure.
	(It's a question of whether or not name_len should be byte-swapped or
	not, and whether it's a 16 bit or 8 bit field.)
2001-06-22 20:40:51 -04:00
Theodore Ts'o 42475e281d super.c (release_inode_blocks): Don't try to release the blocks if the
orphaned inode is a device file, symlink, or some other kind of
	special file that doesn't have a block list.
2001-06-22 20:35:38 -04:00
Theodore Ts'o 20a57e98df Filter out CR characters from the output, since BK filtered \r fromthe
expect files.  This is needed to make the regression test suite work
again.
2001-06-22 20:29:54 -04:00
Theodore Ts'o 22d4478036 ADD TAG: E2FSPROGS-1_21 2001-06-16 01:14:28 +00:00
Theodore Ts'o f4f75bae85 ChangeLog:
Update for 1.21 release.
2001-06-16 01:14:28 +00:00
Theodore Ts'o b90b826b9a Many files:
Synchronize with the Debian package 1.20+1.21-WIP-0614-1.
RELEASE-NOTES, version.h, libext2fs.texinfo, e2fsprogs.lsm:
  Update for 1.21 release.
2001-06-15 22:54:34 +00:00
Theodore Ts'o d1e66b7936 ChangeLog, Makefile.in:
Makefile.in: Fix bug in installation of ext2_types.h.  It is a file
  	which is generated and is therefore found in the build directory, not
  	source directory.
2001-06-15 22:44:32 +00:00
Theodore Ts'o 997b820e94 ChangeLog, ismounted.c:
ismounted.c (check_mntent_file): Use a test file in / to check to see
  	if the root filesystem is mounted read-only.  This protects against
  	the case where /etc might not be on /, as well as the case where
  	/etc/mtab doesn't exist.  (Both are should-never happen scenarios, but
  	you never know...)
2001-06-15 18:33:43 +00:00
Theodore Ts'o a35bcab0dd configure:
Update to latest configure.in script.
version.h:
  Update for WIP release.
2001-06-14 07:20:12 +00:00
Theodore Ts'o e9a2d07171 tune2fs.8.in:
Fix minor man page nits.
2001-06-14 07:15:02 +00:00
Theodore Ts'o e333845b2a RELEASE-NOTES, ChangeLog:
Add Debian bug number which got resolved.
2001-06-14 07:11:33 +00:00
Theodore Ts'o 562ba5ecea ChangeLog, mke2fs.c:
mke2fs.c (PRS): Remove unneeded test in when creating a external
  	filesystem journal.
2001-06-14 07:05:44 +00:00
Theodore Ts'o 6bd134809c ChangeLog, ismounted.c:
ismounted.c (ext2fs_check_if_mounted): Fix grammer in comment.  Remove
  	unneeded #pragma argsused, since the arguments are always used.
2001-06-14 07:00:55 +00:00
Theodore Ts'o f76ad46200 problem.c:
Fix tabbing/indenting from Andreas.
2001-06-14 06:58:33 +00:00
Theodore Ts'o 66cf2f6035 ChangeLog, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move the
  	message which displays how often the filesystem will be checked from
  	mke2fs into a utility subroutine.  Then cause tune2fs to call that
  	function to display the message after adding a journal to a
  	filesystem.
  mke2fs.8.in: Add manual page fixups and explanation for why it's good
  	to check filesystems periodically from Andreas Dilger.
2001-06-14 06:42:44 +00:00
Theodore Ts'o b6a0807b08 ChangeLog, unix.c:
unix.c (check_if_skip): Adapted patch from Andreas Dilger which prints
  	the number of mounts or days elapsed since the last check when e2fsck
  	is forced to check an otherwise clean filesystem.
2001-06-14 01:16:17 +00:00
Theodore Ts'o 6579488028 ChangeLog, ext2_types.h.in:
ext2_types.h.in: If linux/types.h has been defined, then don't try to
  	redefine the typedefs.
ChangeLog, Makefile.in:
  Makefile.in: Make the install target depend on $(SUBS) to accomodate
  	the fools who want to compile and install e2fsprogs as root using just
  	one command.
2001-06-14 00:24:42 +00:00
Theodore Ts'o 7d614e3d04 RELEASE-NOTES:
Fixed release note entry since we ended up installing ext2_fs.h in
  /usr/include/ext2fs.
2001-06-13 23:49:05 +00:00
Theodore Ts'o 364a373e16 ChangeLog, setsuper.c:
setsuper.c: Add s_lastcheck field to the fields which can be modified
  	using set_super_value.  (Suggested by Andreas Dilger)
ChangeLog, Makefile.in:
  Makefile.in (HFILES): Add ext2_types.h to the list of files which
  	should be installed.
2001-06-13 23:46:39 +00:00
Theodore Ts'o 83d5abf1d7 ChangeLog:
Add debian bug number reference.
  Add debian bug reference.
2001-06-13 23:31:27 +00:00
Theodore Ts'o 66a461469c ChangeLog, ismounted.c:
ismounted.c (check_mntent_file): Work around GNU hurd brain damage.
2001-06-13 23:26:19 +00:00
Theodore Ts'o 30ae14c9de ChangeLog, Makefile.in:
Makefile.in: Limit some .o files from being included into the library
  	if --disable-debugfs, --disable-swapfs, --disable-imager, or
  	--disable-resizer are used.
2001-06-13 22:38:56 +00:00
Theodore Ts'o cdf186e477 ChangeLog, configure, configure.in:
configure.in: Add --disable-resizer, --disable-imager, and
  	--disable-debugfs switches, which allow people who are building boot
  	floppies to build a very restricted e2fsprogs distribution.  Note:
  	these functions limit the functions in the shared library, so beware!
Makefile.in, ChangeLog:
  Makefile.in: Don't recurse into debugfs and resize subdirectory if
  	--disable-debugfs or --disable-resizer is given as a configuration
  	option.
ChangeLog, Makefile.in:
  Makefile.in: Don't build e2image if --disable-imager is specified to
  	configure.
2001-06-13 22:16:47 +00:00
Theodore Ts'o 16f095ee6e Makefile.in:
Insert missing dependencies.
2001-06-13 21:40:58 +00:00
Theodore Ts'o cbbf031b6e ChangeLog, dumpe2fs.c, mke2fs.c:
dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not we're
  	(not) using i386 byte order.
  dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks function,
  	and use the ext2fs_badblocks_* functions instead.
ChangeLog, inode.c, tst_iscan.c:
  inode.c, tst_iscan.c: Stop using the compatibility badblocks function,
  	and use the ext2fs_badblocks_* functions instead.
ChangeLog, badblocks.c:
  badblocks.c: Stop using the compatibility badblocks function, and use
  	the ext2fs_badblocks_* functions instead.
2001-06-13 00:12:04 +00:00
Theodore Ts'o 28cf9041b8 ChangeLog, fsck.c:
fsck.c (device_already_active): Fixed bug which can cause fsck to core
  	dump if there are a mix of devices with standard and non-standard
  	names.
2001-06-12 22:35:00 +00:00
Theodore Ts'o 3034f62a0f ChangeLog, Makefile.in, bitops.h, gen_bitmap.c:
Makefile.in, gen_bitmap.c, bitops.h: Move inline functions
  	ext2fs_mark_generic_bitmap and ext2fs_unmark_generic_bitmap to
  	gen_bitmap.c as normal functions.  (This saves space and doesn't
  	significantly change the speed of e2fsck on a P-III.)
ChangeLog:
  Add missing log entry for unix.c.
2001-06-11 15:17:45 +00:00
Theodore Ts'o 5df55d7f84 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 07:00:04 +00:00
Theodore Ts'o 877eb6d923 ChangeLog, configure, configure.in:
configure.in: Add new switch, --disable-swapfs which disables support
  	of byte-swapping old filesystems.  Add new test, AC_C_BIGENDIAN, which
  	sets WORDS_BIGENDIAN on big-endian machines.  Change handling of
  	--with-ccopts so that if set, the default CFLAGS is suppressed.
2001-06-11 06:54:13 +00:00
Theodore Ts'o 69c09f526c .del-configure~7a460879:
Remove junk file.
2001-06-11 02:07:57 +00:00
Theodore Ts'o 349a484a57 ChangeLog, Makefile.in, mkjournal.c:
Makefile.in: Remove the dependence on the libe2p library.
  mkjournal.c (ext2fs_add_journal_inode): Replace use of fsetflags with
  	direct usage of the ioctl/fchflags so that we don't have to depend on
  	the libe2p library.
2001-06-11 00:49:29 +00:00
Theodore Ts'o c05b552185 RELEASE-NOTES, version.h:
Updated for 8-Jun-2001 WIP release.
2001-06-08 12:03:36 +00:00
Theodore Ts'o 725c474ffc ChangeLog, jfs.h:
jfs.h: Synchronize with ext3 0.7a
ChangeLog, recovery.c, revoke.c:
  recover.c, revoke.c: Synchronize with ext3 0.7a
2001-06-08 11:55:44 +00:00
Theodore Ts'o 30e50b7cdd ChangeLog, icount.c:
icount.c (insert_icount_el): Fix the code used to estimate the size of
  	the new icount array to be more intelligent, to avoid reallocating the
  	array too many times.
ChangeLog, ext2_types.h.in:
  ext2_types.h.in: Use unsigned ints in favor of unsigned longs when
  	trying to find a 32-bit wide type.
2001-06-08 09:43:40 +00:00
Theodore Ts'o b705640ae1 ChangeLog, chattr.c, lsattr.c:
chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using the
  	64-bit function, since this changes the expected size of struct
  	dirent.  Instead use lseek64 explicitly.
2001-06-08 02:53:20 +00:00
Theodore Ts'o b7846402ca ChangeLog, debugfs.c:
debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read
  	errors to not be noticed.
2001-06-03 23:27:56 +00:00
Theodore Ts'o 5a9c036bf3 ChangeLog, expect.1, image.gz:
f_badinode: Added a fast symlink with an invalid size to test e2fsck's
  	handling of this case.
RELEASE-NOTES:
  Upate last couple of changes for the WIP release.
2001-06-02 04:55:57 +00:00
Theodore Ts'o a479fe6049 ChangeLog, recovery.c:
recovery.c (scan_revoke_records): Fix bug in recovery code; missing
  	byte order conversion.
2001-06-02 04:50:14 +00:00