Whamcloud - gitweb
Theodore Ts'o [Fri, 20 Jul 2001 22:21:34 +0000 (18:21 -0400)]
ADD TAG: E2FSPROGS-1_23-WIP-0720
Theodore Ts'o [Fri, 20 Jul 2001 22:14:10 +0000 (18:14 -0400)]
Update final changes before 1.23-WIP-0620
Theodore Ts'o [Fri, 20 Jul 2001 18:25:23 +0000 (14:25 -0400)]
fsck.8.in: Add much more explicit language documenting how the
fs_passno field in /etc/fstab is handled. (Addresses
Debian bug #30833).
Theodore Ts'o [Fri, 20 Jul 2001 18:17:19 +0000 (14:17 -0400)]
ext_attr.c (ext2fs_write_ext_attr): When writing the extended
attribute block, set the filesystem changed bit.
Theodore Ts'o [Fri, 20 Jul 2001 18:13:49 +0000 (14:13 -0400)]
unix.c (main): Add an explicit warning when the filesystem is left not
completely fixed when e2fsck exits. (Addresses Debian bug #104502.)
Theodore Ts'o [Fri, 20 Jul 2001 16:35:11 +0000 (12:35 -0400)]
Update version and release notes for 1.23 WIP release.
Theodore Ts'o [Fri, 20 Jul 2001 16:33:37 +0000 (12:33 -0400)]
Comment out ext2_find_first_bit_set and ext2fs_find_next_bit_set
since we're not using them.
Theodore Ts'o [Fri, 20 Jul 2001 00:38:53 +0000 (20:38 -0400)]
fstype.c (identify_fs): New file which looks at the superblock
of the filesystem to determines its type.
fsck.c (fsck_device, ignore, interpret_type): Call identify_fs
if the type specified in /etc/fstab is "auto".
Theodore Ts'o [Thu, 19 Jul 2001 20:31:25 +0000 (16:31 -0400)]
This patch completes the initial extended attribute/ACL support for
e2fsck. We now check the entire EA block to make sure that the all
of the EA entries look sane.
Theodore Ts'o [Tue, 10 Jul 2001 18:34:41 +0000 (14:34 -0400)]
Fix really stupid typo.
Theodore Ts'o [Tue, 10 Jul 2001 18:27:58 +0000 (14:27 -0400)]
Speed up journal recovery in userspace by avoiding a pointless
unconditional ext2_flush() call. Also made ext2_flush() more
efficient when the superblock is modified after the filesystem has
been flushed, and make it clear the superblock dirty flag
after doing the superblock/block group descriptor flush.
Theodore Ts'o [Tue, 10 Jul 2001 04:45:58 +0000 (00:45 -0400)]
Fix problems in po's Makefile.in.in and POTFILES.in.
Theodore Ts'o [Sun, 8 Jul 2001 03:01:31 +0000 (23:01 -0400)]
pass1b.c (pass1b, process_pass1b_block): Change the num_bad
field calculation so that it only counts EA block entries
as a single multiply claimed block (since once we clone
the EA blocks for one inode, we fix the problem for all of
the other inodes). Also, I moved the num_bad calculation
from process_pass1b_block to the end of pass1b. This
fixes a *significant* performance bug in pass1b which hit
people who had to had a lot of multiply claimed blocks.
(Can you say O(n**3) boys and girls? I knew you could...
Fortunately, this case didn't happen that much in actual practice.)
Theodore Ts'o [Sun, 8 Jul 2001 02:27:40 +0000 (22:27 -0400)]
pass1.c (e2fsck_pass1): Defer inodes which have an extended attribute
block for later processing to avoid extra seeks across the disk.
(process_inode_cmp): If there is no indirect block, sort by the
extended attribute (i_file_acl) block.
Theodore Ts'o [Sun, 8 Jul 2001 02:14:23 +0000 (22:14 -0400)]
bitops.h (ext2fs_find_first_bit_set): Use %esi instead of %ebx to
avoid register conflicts when compiling in PIC mode.
Theodore Ts'o [Sat, 7 Jul 2001 17:23:14 +0000 (13:23 -0400)]
f_badinode: Update expect.1 to match change in invalid symlink
size text.
Theodore Ts'o [Sat, 7 Jul 2001 17:20:34 +0000 (13:20 -0400)]
pass1b.c (clone_file_block): Fix bugs when cloning extended attribute
blocks. Moved free of block_buf to after the code which clones the
extattr block, and fixed logic for changing pointers to the extended
attribute field in the inodes which were affected.
(decrement_badcount): New function which is used whenever we need to
decrement the number of files which claim a particular bad block.
Fixed bug where delete_file wasn't checking check_if_fs_block() before
clearing the entry in block_dup_map. This could cause a block which
was claimed by multiple files as well as the filesystem metadata to
not be completely fixed.
Theodore Ts'o [Sat, 7 Jul 2001 15:12:50 +0000 (11:12 -0400)]
Add code to check and fix incorrect reference counts in the extended
attribute blocks.
Theodore Ts'o [Wed, 4 Jul 2001 18:04:58 +0000 (14:04 -0400)]
Add new functions to bitops.h to find quickly search for set bits in
a bitmask. (In both C and i386 assembler).
Theodore Ts'o [Wed, 4 Jul 2001 01:43:07 +0000 (21:43 -0400)]
Add support for XFS filesystems.
Theodore Ts'o [Mon, 2 Jul 2001 15:54:09 +0000 (11:54 -0400)]
Add initial support for extended attribute blocks
Theodore Ts'o [Fri, 29 Jun 2001 21:57:26 +0000 (17:57 -0400)]
Use long long to calculate the percentage
of the number of blocks in use in the filesystem.
Theodore Ts'o [Wed, 27 Jun 2001 11:51:11 +0000 (07:51 -0400)]
Don't predefine RM; it's defined by MCONFIG
Theodore Ts'o [Sat, 23 Jun 2001 04:25:18 +0000 (00:25 -0400)]
ADD TAG: E2FSPROGS-1_22
Theodore Ts'o [Sat, 23 Jun 2001 04:25:18 +0000 (00:25 -0400)]
Update size of tarball.
Theodore Ts'o [Sat, 23 Jun 2001 04:16:37 +0000 (00:16 -0400)]
Update changelogs for 1.22.
Theodore Ts'o [Sat, 23 Jun 2001 04:13:09 +0000 (00:13 -0400)]
Update for 1.22 release.
Theodore Ts'o [Sat, 23 Jun 2001 03:05:23 +0000 (23:05 -0400)]
Synchronize with Debian release 1.21+1.22-WIP-0620-1
Theodore Ts'o [Sat, 23 Jun 2001 01:52:14 +0000 (21:52 -0400)]
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.)
Theodore Ts'o [Sat, 23 Jun 2001 01:20:47 +0000 (21:20 -0400)]
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)
Theodore Ts'o [Sat, 23 Jun 2001 01:01:17 +0000 (21:01 -0400)]
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.
Theodore Ts'o [Sat, 23 Jun 2001 00:54:11 +0000 (20:54 -0400)]
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).
Theodore Ts'o [Sat, 23 Jun 2001 00:51:42 +0000 (20:51 -0400)]
uuid.h: Add protection against multiple inclusion
Theodore Ts'o [Sat, 23 Jun 2001 00:50:05 +0000 (20:50 -0400)]
Theodore Ts'o [Sat, 23 Jun 2001 00:50:05 +0000 (20:50 -0400)]
Update version for 1.22-WIP release
Theodore Ts'o [Sat, 23 Jun 2001 00:47:24 +0000 (20:47 -0400)]
Makefile.in: Avoid including BitKeeper files into the source tarball.
Theodore Ts'o [Sat, 23 Jun 2001 00:40:51 +0000 (20:40 -0400)]
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.)
Theodore Ts'o [Sat, 23 Jun 2001 00:35:38 +0000 (20:35 -0400)]
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.
Theodore Ts'o [Sat, 23 Jun 2001 00:29:54 +0000 (20:29 -0400)]
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.
Theodore Ts'o [Sat, 16 Jun 2001 01:14:28 +0000 (01:14 +0000)]
ADD TAG: E2FSPROGS-1_21
Theodore Ts'o [Sat, 16 Jun 2001 01:14:28 +0000 (01:14 +0000)]
ChangeLog:
Update for 1.21 release.
Theodore Ts'o [Fri, 15 Jun 2001 22:54:34 +0000 (22:54 +0000)]
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.
Theodore Ts'o [Fri, 15 Jun 2001 22:44:32 +0000 (22:44 +0000)]
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.
Theodore Ts'o [Fri, 15 Jun 2001 18:33:43 +0000 (18:33 +0000)]
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...)
Theodore Ts'o [Thu, 14 Jun 2001 07:20:12 +0000 (07:20 +0000)]
configure:
Update to latest configure.in script.
version.h:
Update for WIP release.
Theodore Ts'o [Thu, 14 Jun 2001 07:15:02 +0000 (07:15 +0000)]
tune2fs.8.in:
Fix minor man page nits.
Theodore Ts'o [Thu, 14 Jun 2001 07:11:33 +0000 (07:11 +0000)]
RELEASE-NOTES, ChangeLog:
Add Debian bug number which got resolved.
Theodore Ts'o [Thu, 14 Jun 2001 07:05:44 +0000 (07:05 +0000)]
ChangeLog, mke2fs.c:
mke2fs.c (PRS): Remove unneeded test in when creating a external
filesystem journal.
Theodore Ts'o [Thu, 14 Jun 2001 07:00:55 +0000 (07:00 +0000)]
ChangeLog, ismounted.c:
ismounted.c (ext2fs_check_if_mounted): Fix grammer in comment. Remove
unneeded #pragma argsused, since the arguments are always used.
Theodore Ts'o [Thu, 14 Jun 2001 06:58:33 +0000 (06:58 +0000)]
problem.c:
Fix tabbing/indenting from Andreas.
Theodore Ts'o [Thu, 14 Jun 2001 06:42:44 +0000 (06:42 +0000)]
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.
Theodore Ts'o [Thu, 14 Jun 2001 01:16:17 +0000 (01:16 +0000)]
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.
Theodore Ts'o [Thu, 14 Jun 2001 00:24:42 +0000 (00:24 +0000)]
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.
Theodore Ts'o [Wed, 13 Jun 2001 23:49:05 +0000 (23:49 +0000)]
RELEASE-NOTES:
Fixed release note entry since we ended up installing ext2_fs.h in
/usr/include/ext2fs.
Theodore Ts'o [Wed, 13 Jun 2001 23:46:39 +0000 (23:46 +0000)]
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.
Theodore Ts'o [Wed, 13 Jun 2001 23:31:27 +0000 (23:31 +0000)]
ChangeLog:
Add debian bug number reference.
Add debian bug reference.
Theodore Ts'o [Wed, 13 Jun 2001 23:26:19 +0000 (23:26 +0000)]
ChangeLog, ismounted.c:
ismounted.c (check_mntent_file): Work around GNU hurd brain damage.
Theodore Ts'o [Wed, 13 Jun 2001 22:38:56 +0000 (22:38 +0000)]
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.
Theodore Ts'o [Wed, 13 Jun 2001 22:16:47 +0000 (22:16 +0000)]
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.
Theodore Ts'o [Wed, 13 Jun 2001 21:40:58 +0000 (21:40 +0000)]
Makefile.in:
Insert missing dependencies.
Theodore Ts'o [Wed, 13 Jun 2001 00:12:04 +0000 (00:12 +0000)]
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.
Theodore Ts'o [Tue, 12 Jun 2001 22:35:00 +0000 (22:35 +0000)]
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.
Theodore Ts'o [Mon, 11 Jun 2001 15:17:45 +0000 (15:17 +0000)]
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.
Theodore Ts'o [Mon, 11 Jun 2001 07:00:04 +0000 (07:00 +0000)]
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.
Theodore Ts'o [Mon, 11 Jun 2001 06:54:13 +0000 (06:54 +0000)]
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.
Theodore Ts'o [Mon, 11 Jun 2001 02:07:57 +0000 (02:07 +0000)]
.del-configure~
7a460879:
Remove junk file.
Theodore Ts'o [Mon, 11 Jun 2001 00:49:29 +0000 (00:49 +0000)]
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.
Theodore Ts'o [Fri, 8 Jun 2001 12:03:36 +0000 (12:03 +0000)]
RELEASE-NOTES, version.h:
Updated for 8-Jun-2001 WIP release.
Theodore Ts'o [Fri, 8 Jun 2001 11:55:44 +0000 (11:55 +0000)]
ChangeLog, jfs.h:
jfs.h: Synchronize with ext3 0.7a
ChangeLog, recovery.c, revoke.c:
recover.c, revoke.c: Synchronize with ext3 0.7a
Theodore Ts'o [Fri, 8 Jun 2001 09:43:40 +0000 (09:43 +0000)]
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.
Theodore Ts'o [Fri, 8 Jun 2001 02:53:20 +0000 (02:53 +0000)]
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.
Theodore Ts'o [Sun, 3 Jun 2001 23:27:56 +0000 (23:27 +0000)]
ChangeLog, debugfs.c:
debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read
errors to not be noticed.
Theodore Ts'o [Sat, 2 Jun 2001 04:55:57 +0000 (04:55 +0000)]
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.
Theodore Ts'o [Sat, 2 Jun 2001 04:50:14 +0000 (04:50 +0000)]
ChangeLog, recovery.c:
recovery.c (scan_revoke_records): Fix bug in recovery code; missing
byte order conversion.
Theodore Ts'o [Sat, 2 Jun 2001 04:37:02 +0000 (04:37 +0000)]
ChangeLog:
Add other change to pass1.c
Theodore Ts'o [Sat, 2 Jun 2001 04:26:26 +0000 (04:26 +0000)]
ChangeLog, pass1.c, pass2.c, problem.c, problem.h:
pass1.c (mark_inode_bad): Replace alloc_bad_map with a function which
sets the bit in the bad inode bitmap.
(e2fsck_pass1): Check for fast symlinks with an invalid size, and set
the bad inode map in that case.
pass2.c (e2fsck_process_bad_inode): Check for fast symlinks with an
invalid size and prompt the user if the inode should be cleared.
problem.h, problem.c (PR_2_SYMLINK_SIZE): Added new problem code.
Theodore Ts'o [Sat, 2 Jun 2001 04:13:16 +0000 (04:13 +0000)]
ChangeLog, valid_blk.c:
valid_blk.c (ext2fs_inode_has_valid_blocks): Only check i_blocks for a
symlink to determine whether it is a fast symlink.
Theodore Ts'o [Sat, 2 Jun 2001 01:20:18 +0000 (01:20 +0000)]
Many files:
Interim checkin for 1.21-WIP release.
Theodore Ts'o [Sat, 2 Jun 2001 00:54:10 +0000 (00:54 +0000)]
ChangeLog:
Fix typo in ChangeLog.
Theodore Ts'o [Sat, 2 Jun 2001 00:38:40 +0000 (00:38 +0000)]
ChangeLog, journal.c, problem.c, problem.h:
problem.c, problem.h: Change PR_0_JOURNAL_UNSUPP_INCOMPAT and
PR_0_JOURNAL_UNSUPP_ROCOMPAT so they aren't fatal errors, but prompt
to see if the user should abort. Removed the
PR_0_JOURNAL_RESET_COMPAT problem code.
journal.c (e2fsck_journal_load): If there are incompatible journal
flags, just return an error code.
(e2fsck_check_ext3_journal): If e2fsck_journal_load returns an error
code indicating that there are incompatible journal flag, check to see
if we should abort, and then offer to clear the journal.
Theodore Ts'o [Fri, 1 Jun 2001 23:49:46 +0000 (23:49 +0000)]
ChangeLog, wordwrap.pl:
Makefile.in: Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
wordwrap.pl: Add some rules which help fix up the dependencies.
Many files:
Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
Theodore Ts'o [Fri, 1 Jun 2001 19:46:43 +0000 (19:46 +0000)]
ChangeLog, expect.1, expect.2, image.gz, name:
f_dup3: New test case which checks handling of blocks claimed multiple
times by one inode which weren't handled correctly by e2fsck 1.20.
Theodore Ts'o [Fri, 1 Jun 2001 19:29:36 +0000 (19:29 +0000)]
ChangeLog, pass1.c, pass1b.c:
pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode,
pass1_check_directory): Add a safety check to make sure
ctx->stashed_inode is non-zero.
pass1b.c (pass1b): Use e2fsck_use_inode_shortcuts() to disable the
inode shortcut processing, instead of manually clearing only half of
the function pointers that needed to be NULL'ed out. This caused
nasty bugs if the last inode in the filesystem needed dup block
processing.
pass1b.c (clone_file_block): When cloning a directory's metadata
block, don't try to update the directory block list database, since
indirect blocks aren't stored in the database and the resulting error
will abort the file clone operation.
Theodore Ts'o [Fri, 1 Jun 2001 15:36:05 +0000 (15:36 +0000)]
ChangeLog, debugfs.c, debugfs.h, logdump.c:
debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
Theodore Ts'o [Fri, 1 Jun 2001 15:22:38 +0000 (15:22 +0000)]
ChangeLog, logdump.c:
logdump.c (read_journal_block): Replace pread with lseek/read combination.
Theodore Ts'o [Fri, 1 Jun 2001 15:14:38 +0000 (15:14 +0000)]
ChangeLog, expect, script:
d_loaddump: Fix test script to remove bash'isms, and make the shell
script more robust in cases where the user has overridden CFLAGS so
that the debugfs binary isn't compiled with -g, and is smaller than
128k. Also specify the blocksize to be used explictly to avoid
problems with people who change the mke2fs default parameters.
Theodore Ts'o [Fri, 1 Jun 2001 15:03:25 +0000 (15:03 +0000)]
ChangeLog, unpack.c, unparse.c, uuid_time.c:
unpack.c, unparse.c, uuid_time.c: Update files to be under the LGPL
(that somehow were missed when libuuid was converted to use the LGPL).
Whoops.
Theodore Ts'o [Fri, 25 May 2001 17:35:00 +0000 (17:35 +0000)]
ADD TAG: E2FSPROGS-1_20
Theodore Ts'o [Fri, 25 May 2001 17:35:00 +0000 (17:35 +0000)]
e2fsprogs.lsm, version.h:
Update version string for 1.20 release
ChangeLog:
Update Changelogs for 1.20 release.
Theodore Ts'o [Fri, 25 May 2001 17:32:49 +0000 (17:32 +0000)]
ChangeLog:
Makefile.in: Only exclude the top-level TODO file, not over the entire
tree.
Theodore Ts'o [Fri, 25 May 2001 17:18:43 +0000 (17:18 +0000)]
Makefile.in:
Makefile.in: Only exclude the top-level TODO file, not over the entire
tree.
Theodore Ts'o [Fri, 25 May 2001 17:16:41 +0000 (17:16 +0000)]
configure, configure.in:
Remove lib/finddev from the list of directories that we try to configure
Theodore Ts'o [Fri, 25 May 2001 17:14:23 +0000 (17:14 +0000)]
ChangeLog, ismounted.c:
ismounted.c: More cleanups for ismounted.c, some from Andreas, some to
clean up Andreas's patches. Use strncpy instead of strcpy to save the
root's mountpoint. Clean up #ifdef structure. Remove uneeded
variable in testing/debug driver.
Theodore Ts'o [Fri, 25 May 2001 16:40:56 +0000 (16:40 +0000)]
ChangeLog, journal.c:
journal.c (e2fsck_journal_reset_super): Remove extraneous line
Theodore Ts'o [Fri, 25 May 2001 16:38:48 +0000 (16:38 +0000)]
ChangeLog, tune2fs.c:
tune2fs.c (update_feature_set): Fix capitalization typo.
Theodore Ts'o [Fri, 25 May 2001 16:35:33 +0000 (16:35 +0000)]
ChangeLog:
Fix spelling typo.
Theodore Ts'o [Fri, 25 May 2001 16:32:53 +0000 (16:32 +0000)]
ChangeLog, ismounted.c:
ismounted.c: Add check for root device which doesn't depend on
/etc/fstab or /proc/mounts to be correct. Don't call endmntent()
before we are done with mnt struct.
Theodore Ts'o [Wed, 23 May 2001 22:29:22 +0000 (22:29 +0000)]
ChangeLog, partinfo.c:
partinfo.c (main): Use unsigned long instead of long when querying the
size of a device using the BLKGETSIZE ioctl, to remove the 1TB limit
(and turn it into a 2TB limit :-)
Theodore Ts'o [Wed, 23 May 2001 22:26:39 +0000 (22:26 +0000)]
ChangeLog, fsck.c:
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead
of _() to initialize static variables.
Theodore Ts'o [Wed, 23 May 2001 22:19:47 +0000 (22:19 +0000)]
ChangeLog, journal.c, problem.c, problem.h:
journal.c (e2fsck_journal_reset_super): Fix bug; the reset journal
wasn't getting written out to disk since the dirty bit wasn't being
set on the buffer.
(e2fsck_journal_load): Don't print an error message if the journal
version number is wrong; just return a error code reflecting this
fact. If the block type in the journal superblcok is obviously not a
version number, report the journal is corrupted.
(e2fsck_check_ext3_journal): On an unsupported journal version, prompt
to abort by default, but then offer a chance to clear the journal as
corrupt.
problem.c, problem.h (PR_0_JOURNAL_UNSUPP_VERSION): Added new problem code.