Whamcloud - gitweb
Theodore Ts'o [Sat, 15 Mar 2003 09:28:17 +0000 (04:28 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0314
Theodore Ts'o [Sat, 15 Mar 2003 09:28:17 +0000 (04:28 -0500)]
Update for 1.33-WIP (14-Mar-2003) release.
Theodore Ts'o [Sat, 15 Mar 2003 09:04:11 +0000 (04:04 -0500)]
f_dup_de: Added test case provided from Debian bug report #176814
Theodore Ts'o [Sat, 15 Mar 2003 09:03:43 +0000 (04:03 -0500)]
Don't display progress bar when rebuilding directories unless
explicitly requested by the user.
Theodore Ts'o [Sat, 15 Mar 2003 03:19:10 +0000 (22:19 -0500)]
e2fsck/pass2.c (check_dir_block): Check for duplicate filenames within
a single directory block (because this is the easy case;
we don't currently check for duplicates that span
directory blocks, for now. Eventually for htree
directories we can do this by searching for all directory
blocks that have a hash overflow, and then searching the
adjacent blocks to find all other potential duplicates.)
Theodore Ts'o [Fri, 14 Mar 2003 07:42:42 +0000 (02:42 -0500)]
Add dependency to allow parallel makes to work correctly.
Theodore Ts'o [Fri, 14 Mar 2003 07:25:36 +0000 (02:25 -0500)]
Update generated configure file.
Theodore Ts'o [Fri, 14 Mar 2003 07:13:48 +0000 (02:13 -0500)]
Add Apple/Darwin patches.
Theodore Ts'o [Fri, 14 Mar 2003 06:43:56 +0000 (01:43 -0500)]
Change e2fsck to detect and offer to delete or rename duplicate
filenames in directories when rebuilding directories using
"e2fsck -fD /dev/XXX"
Theodore Ts'o [Fri, 14 Mar 2003 05:59:42 +0000 (00:59 -0500)]
badblocks.c (ext2fs_u32_list_count), ext2fs.h: Add new function
which returns the number of entries in the list.
Theodore Ts'o [Fri, 14 Mar 2003 05:38:45 +0000 (00:38 -0500)]
e2image.c (write_raw_image_file): Include blocks from slow
symbolic links in the raw image file.
Theodore Ts'o [Mon, 10 Mar 2003 19:32:09 +0000 (14:32 -0500)]
fileio.c (ext2fs_file_lseek): Fix bug added when adding 64-bit
support; avoid null dereference when ret_pos is NULL.
Theodore Ts'o [Fri, 7 Mar 2003 06:09:57 +0000 (01:09 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0306
Theodore Ts'o [Fri, 7 Mar 2003 06:09:57 +0000 (01:09 -0500)]
Update release notes, version file, for 1.33-WIP release.
Theodore Ts'o [Thu, 6 Mar 2003 17:58:33 +0000 (12:58 -0500)]
tune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow
the device name to be specified using LABEL=xxx or
UUID=xxx, since we're including the blkid library anyway.
(Addresses Debian bugs #166048, #179671)
Theodore Ts'o [Thu, 6 Mar 2003 17:58:03 +0000 (12:58 -0500)]
Fix bug; if a partition has no known type, don't derference a null
pointer and crash.
Theodore Ts'o [Thu, 6 Mar 2003 17:39:55 +0000 (12:39 -0500)]
Minor man page fixes (Addresses Debian bugs #173612, #175233,
#175113, and #170497)
Theodore Ts'o [Thu, 6 Mar 2003 17:22:52 +0000 (12:22 -0500)]
Bug fix; we were incorrectly moving the block and inode bitmaps
for sparse superblock filesystems. (Address Debian bug #174766)
Theodore Ts'o [Thu, 6 Mar 2003 16:09:18 +0000 (11:09 -0500)]
Fix up lots of portability problems that caused e2fsprogs not to build successfully
under Solaris.
Theodore Ts'o [Sun, 2 Mar 2003 07:07:14 +0000 (02:07 -0500)]
Changes to create a subset distribution which consists only of the
et, ss, uuid, and blkid libraries. The configure script and top-level
makefile were changed to support working with a subset distribution.
Theodore Ts'o [Sun, 2 Mar 2003 03:57:31 +0000 (22:57 -0500)]
tag.c (blkid_set_tag): Fix bug; don't return an error when
deleting a tag by setting the value to NULL. This
caused a failed device verification to loop forever in
blkid_verify_devname().
Theodore Ts'o [Sun, 2 Mar 2003 01:01:27 +0000 (20:01 -0500)]
Update libblkid documentation.
Fix tst_resolve to use latest blkid API's.
Theodore Ts'o [Sun, 2 Mar 2003 00:47:44 +0000 (19:47 -0500)]
Update debugfs and e2fsck to use the blkid library.
Theodore Ts'o [Sun, 2 Mar 2003 00:29:01 +0000 (19:29 -0500)]
Minor bug fixes in the blkid library.
Convert mke2fs, fsck, and tune2fs to use the blkid library.
Theodore Ts'o [Fri, 28 Feb 2003 00:33:36 +0000 (19:33 -0500)]
resolve.c (blkid_get_tag_value): Rename function (used to be
blkid_get_tagname_devname)
Theodore Ts'o [Sat, 22 Feb 2003 22:15:20 +0000 (17:15 -0500)]
Internal changes to the blkid library:
1) Only one tag with a particular name can be attached to a device
at a time. This significantly simplifies the library, and was needed
to allow the cache file to be re-read and changes integrated into the
in-core version of the data structure in a simpler fashion than earlier
versions of the library.
2) To accomodate this, the ext2/ext3 filesystems are now always tagged
as "ext2" type filesystems. Ext3 filesystems are tagged with a
SEC_TYPE tag with the value ext3.
3) The new blkid_read_cache() function checks the mod time of the
cache file, and if the file has been changed since the last time the
cache file was read into memory, it is re-read. This function is now
called before probing all of the devices in the system or searching
all devices in the cache for a specific tag value.
4) After probing all devices, blkid_flush_cache() is called to write
out the cache file. This assures that all of the hard work involved
in doing a blkid_probe_all() is saved to disk.
Theodore Ts'o [Sat, 22 Feb 2003 18:19:53 +0000 (13:19 -0500)]
Add dynamic debugging capabilities to the blkid library,
controlled by the environment variable BLKID_DEBUG. The debugging
code is enabled by a new configuration option, --enable-blkid-debug.
Theodore Ts'o [Sun, 16 Feb 2003 05:47:07 +0000 (00:47 -0500)]
Rename blkid_get_devname() to blkid_get_dev(), and blkid_get_token()
to blkid_get_devname().
Theodore Ts'o [Fri, 14 Feb 2003 06:40:23 +0000 (01:40 -0500)]
Remove bid_id from the blkid device structure, as it is not used
for anything.
Theodore Ts'o [Fri, 14 Feb 2003 06:31:45 +0000 (01:31 -0500)]
Add a priority label to the device structure, so we can give
preference to EVMS and LVM devices when searching for a device
matching a particular LABEL or UUID in the blkid library.
Theodore Ts'o [Thu, 13 Feb 2003 04:51:21 +0000 (23:51 -0500)]
Wholesale changes to blkid library to simplify the implementation
and shrink its size. Change library version to be 1.0.
Theodore Ts'o [Thu, 30 Jan 2003 02:04:52 +0000 (21:04 -0500)]
Fixed up minor documentation issues (man page for badblocks and usage
message for e2fsck).
Theodore Ts'o [Mon, 27 Jan 2003 06:09:24 +0000 (01:09 -0500)]
Roto-till and clean up libblkid API.
read.c (parse_tag): Do not return that blkid_tag when parsing
the blkid.tag file.
resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
code from removed functions
tag.c (blkid_create_tag): Don't return the newly tag strcture
any more, as it's not needed.
(blkid_find_tag_cache, blkid_get_tag_cache,
blkid_token_to_tag, blkid_find_tv_tags): Remove these
functions, as they are either only used once or have
interfaces that should be deprecated.
(blkid_find_tag_dev, blkid_find_head_cache): Replace use
of blkid_tag with one or two const char * type/value
arguments.
(blkid_find_dev_with_tag): Fold in code from removed functions
probe.h, probe.c: Use a more sophisticated set of byte-swapping
routines which are more compact and efficient. Drop
calculation of bid_free, since it's unnecessary. Avoid
save.c (blkid_save_cache): Set the permissions on the blkid
cache file to 644.
Theodore Ts'o [Sun, 26 Jan 2003 06:54:39 +0000 (01:54 -0500)]
Separate public and private interfaces into separate header files.
Start separating internal implementation details from the
publically exported interface of the blkid library.
Theodore Ts'o [Sat, 25 Jan 2003 23:44:33 +0000 (18:44 -0500)]
devname.c: Add support for EVMS to the blkid library.
Theodore Ts'o [Sat, 25 Jan 2003 05:26:48 +0000 (00:26 -0500)]
Fix gcc -Wall nits.
Theodore Ts'o [Sat, 25 Jan 2003 04:11:29 +0000 (23:11 -0500)]
save.c (blkid_save_cache): Use mkstemp() instead mktemp().
Theodore Ts'o [Thu, 23 Jan 2003 21:45:16 +0000 (16:45 -0500)]
Integrate new blkid library.
Theodore Ts'o [Thu, 23 Jan 2003 00:55:59 +0000 (19:55 -0500)]
fsck.c (parse_fstab_line, parse_escape): Add support for
backslash escaping in /etc/fstab. (i.e., so that \040
will work.)
Theodore Ts'o [Wed, 22 Jan 2003 23:30:01 +0000 (18:30 -0500)]
unix_io.c (unix_write_blk): Fix up GCC -Wall nits.
Theodore Ts'o [Wed, 22 Jan 2003 23:28:15 +0000 (18:28 -0500)]
pass1.c (check_blocks): Use the EXT2_I_SIZE macro.
Theodore Ts'o [Wed, 22 Jan 2003 23:25:39 +0000 (18:25 -0500)]
Remove 32-bit limitations for debugfs's dump command and to the
ext2fs library's ext2fs_file_read.
Theodore Ts'o [Mon, 20 Jan 2003 02:01:22 +0000 (21:01 -0500)]
initialize.c (ext2fs_initialize): If the user specifies a really
large number of inodes, then reduce the number of blocks
per group until we find a workable set of filesystem
parameters.
ext2_err.et.in (EXT2_ET_TOO_MANY_INODES): Add new error code.
Theodore Ts'o [Wed, 18 Dec 2002 23:28:10 +0000 (18:28 -0500)]
pass2.c (strnlen): Provide strnlen if libc doesn't.
Theodore Ts'o [Thu, 2 Jan 2003 21:53:54 +0000 (16:53 -0500)]
Detect if there is an attempt to run the journal twice, and
abort the e2fsck run with an error if this is the case.
(Address IBM Bugzilla bug #1226)
Theodore Ts'o [Thu, 2 Jan 2003 21:36:44 +0000 (16:36 -0500)]
Print an error if more than one of the -p/-a, -n or -y options
are passed to e2fsck.
Theodore Ts'o [Wed, 11 Dec 2002 17:14:43 +0000 (12:14 -0500)]
Fix typo (errant extra character).
Theodore Ts'o [Wed, 13 Nov 2002 12:00:16 +0000 (07:00 -0500)]
Update to deal with the fact that the INDEX_FL code in the ext2 2.4
code accidentally had the INDEX_FL backwards compatibility code
removed. E2fsck will now fix HTREE corruptions in preen mode, and
mke2fs will not create filesystems with the dir_index flag set
by default. (The user has to specifically request it.)
Theodore Ts'o [Sat, 9 Nov 2002 20:03:44 +0000 (15:03 -0500)]
ADD TAG: E2FSPROGS-1_32
Theodore Ts'o [Sat, 9 Nov 2002 20:03:44 +0000 (15:03 -0500)]
Update LSM file for 1.32 release.
Theodore Ts'o [Sat, 9 Nov 2002 20:00:56 +0000 (15:00 -0500)]
Update files for 1.32 release.
Theodore Ts'o [Sat, 9 Nov 2002 19:56:17 +0000 (14:56 -0500)]
unix_io.c (find_cached_block, reuse_cache, unix_read_blk,
unix_write_blk): Optimize routines so that we don't end up
searching the cache twice when a block isn't in the
cache. If reads are larger than READ_DIRECT_SIZE, don't
let them go through the cache.
Theodore Ts'o [Sat, 9 Nov 2002 17:01:18 +0000 (12:01 -0500)]
Add german translation to the language catalog
Fix internationalization of "pass 2" in e2fsck.
Update po files.
Theodore Ts'o [Sat, 9 Nov 2002 15:33:49 +0000 (10:33 -0500)]
unix_io.c (find_cached_block): Fixed bug which caused some clean
blocks to be erroneously marked as dirty, so they would
get written back to the disk before they are evicted from
the cache. Harmless, but it slows down e2fsck
significantly.
Theodore Ts'o [Sat, 9 Nov 2002 01:13:24 +0000 (20:13 -0500)]
ADD TAG: E2FSPROGS-1_31
Theodore Ts'o [Sat, 9 Nov 2002 01:13:24 +0000 (20:13 -0500)]
Update lsm file for 1.31 release.
Theodore Ts'o [Sat, 9 Nov 2002 01:08:48 +0000 (20:08 -0500)]
Update files for 1.31 release.
Theodore Ts'o [Sat, 9 Nov 2002 01:02:21 +0000 (20:02 -0500)]
chattr.1.in: Update man page
Theodore Ts'o [Sat, 9 Nov 2002 00:12:48 +0000 (19:12 -0500)]
pf.c: Print the indexed directory flag if present. Don't display
all of the compression flags unless compression support has
been enabled.
Theodore Ts'o [Fri, 8 Nov 2002 23:46:45 +0000 (18:46 -0500)]
configure.in, configure: Change --enable-jfs-debug to
--enable-jbd-debug for consistency's sake.
Theodore Ts'o [Fri, 8 Nov 2002 20:55:17 +0000 (15:55 -0500)]
unix.c (main): Fix a bug where e2fsck could erroneously mark a
filesystem as being valid if it was being checked and it
is interrupted with a ^C. (Bug introduced in e2fsprogs
1.28.)
Theodore Ts'o [Fri, 8 Nov 2002 20:35:13 +0000 (15:35 -0500)]
unix.c (PRS), journal.c: Set the default level of journal
debugging to be 0, and allow the user to set the level of
journal debugging by using the E2FSCK_JBD_DEBUG
environment variable.
Theodore Ts'o [Fri, 8 Nov 2002 20:25:57 +0000 (15:25 -0500)]
Missed a EVMS 1.2 ABI fixup.
Theodore Ts'o [Fri, 8 Nov 2002 19:55:38 +0000 (14:55 -0500)]
Skip byteswap tests on --disable-swapfs
Disable certain tests that depend on the byteswapping functions
being present so that "make check" succeeds even if --disable-swapfs
is passed to the configure script.
Theodore Ts'o [Fri, 8 Nov 2002 19:31:03 +0000 (14:31 -0500)]
Update "make depend".
Theodore Ts'o [Fri, 8 Nov 2002 19:10:15 +0000 (14:10 -0500)]
fs_ext2.c (fs_expand, fs_shrink),
fsimext2.c (fsim_mkfs, fsim_fsck): Inform the user if e2fsck,
mke2fs or resize2fs dies with a signal, or if the exit
with a non-zero exit status.
Theodore Ts'o [Fri, 8 Nov 2002 19:01:07 +0000 (14:01 -0500)]
fsimext2.c (set_mkfs_options): If the hard sector size is 1024,
don't force a blocksize of 1024; there's no need to do so.
Theodore Ts'o [Fri, 8 Nov 2002 18:59:11 +0000 (13:59 -0500)]
Default the EVMS_ABI_CODE if it is not defined to 1.2.0.
Theodore Ts'o [Fri, 8 Nov 2002 18:50:51 +0000 (13:50 -0500)]
Update EVMS plugin to support EVMS ABI 1.2
Theodore Ts'o [Fri, 8 Nov 2002 17:26:37 +0000 (12:26 -0500)]
fsimext2.c (set_mkfs_options): Synchronize with EVMS CVS rev
1.7 (2002/09/11): Add a hack to force mkfs won't a
blocksize equal to the hardsector size if it is larger
than 512 bytes.
Theodore Ts'o [Fri, 8 Nov 2002 17:07:21 +0000 (12:07 -0500)]
Synchronize with EVMS CVS. Add better error handling
for child processes that die unexpectedly.
Theodore Ts'o [Fri, 8 Nov 2002 16:57:14 +0000 (11:57 -0500)]
fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12
(2002/08/28): Use the EVMS_IS_MOUNTED macro.
Theodore Ts'o [Fri, 8 Nov 2002 16:54:29 +0000 (11:54 -0500)]
fs_ext2.c (fs_expand, fs_shrink): Synchronize with EVMS CVS rev
1.11 (2002/8/27). Read from the resize2fs output in
non-blocking mode, so the GUI continues to updates the window.
Theodore Ts'o [Fri, 8 Nov 2002 16:46:22 +0000 (11:46 -0500)]
fsimext2.h: Synchronize with EVMS CVS rev 1.8 (2002/8/29).
Change all __uXX's to u_intXX_t's.
Theodore Ts'o [Fri, 8 Nov 2002 16:10:28 +0000 (11:10 -0500)]
Change e2fsck to force out changes to the backup copies of the
superblock and block group descriptors when important changes
are made to those data structures.
Theodore Ts'o [Fri, 8 Nov 2002 14:21:46 +0000 (09:21 -0500)]
closefs.c (write_bgdesc, ext2fs_flush): Fix bug in meta_bg
support when the MASTER_SB_ONLY flag is set. Some of
the descriptor blocks that should have been written out
were getting skipped.
Theodore Ts'o [Thu, 7 Nov 2002 21:16:55 +0000 (16:16 -0500)]
e2fsck.h, unix.c (main, check_mount): Fix e2fsck so that it
returns the appropriate exit code, so that the boot
scripts will be told that they need to automatically
reboot.
Theodore Ts'o [Fri, 1 Nov 2002 07:13:53 +0000 (02:13 -0500)]
ADD TAG: E2FSPROGS-1_30
Theodore Ts'o [Fri, 1 Nov 2002 07:13:53 +0000 (02:13 -0500)]
Update files for 1.30 release.
Theodore Ts'o [Fri, 1 Nov 2002 07:01:41 +0000 (02:01 -0500)]
ext2_fs.h: Add support for a new inode flag, which is to be used
for indicating the top of directory hierarchies for the
Orlov block allocator.
Theodore Ts'o [Fri, 1 Nov 2002 06:53:52 +0000 (01:53 -0500)]
Add support for a new inode flag, which is to be used
for indicating the top of directory hierarchies for the
Orlov block allocator.
Theodore Ts'o [Fri, 1 Nov 2002 00:56:56 +0000 (19:56 -0500)]
resize2fs.c (inode_scan_and_fix, check_and_change_inodes): When
moving an inode, set the ctime field so that people using
dump/restore will backup the changed inode. Also update
the mtime and ctime of directories which get updated when
we need to move an inode.
Theodore Ts'o [Fri, 1 Nov 2002 00:39:03 +0000 (19:39 -0500)]
unix.c (usage), e2fsck.8.in: Add the -D option to the usage and
command synopsis. (Addresses Debian bug #167108)
(missed this file in the previous checkin)
Theodore Ts'o [Fri, 1 Nov 2002 00:30:24 +0000 (19:30 -0500)]
unix.c (usage), e2fsck.8.in: Add the -D option to the usage and
command synopsis. (Addresses Debian bug #167108)
Theodore Ts'o [Thu, 31 Oct 2002 23:38:55 +0000 (18:38 -0500)]
pass1.c (e2fsck_pass1): Check the superblock write time to see
whether or not we can safely do the LOW_DTIME checks.
(Addresses Sourceforge bug #620980)
Theodore Ts'o [Thu, 31 Oct 2002 20:30:26 +0000 (15:30 -0500)]
get_device_by_label.c (read_partitions): Pay attention to
partitions returned in /proc/partitions that begin with
with the string "lvm".
Theodore Ts'o [Thu, 31 Oct 2002 20:17:16 +0000 (15:17 -0500)]
gen_uuid.c (get_random_bytes): Don't spin forever if read()
returns EINTR or EAGAIN, so that when /dev/random is
opened O_NONBLOCK, we don't end up spinning forever.
Theodore Ts'o [Thu, 31 Oct 2002 18:23:37 +0000 (13:23 -0500)]
ismounted.c (check_mntent, check_mntent_file): Add better
support for loopback-mounted filesystems. Check /etc/mtab
if /proc/mounts doesn't turn up any mount flags, since
/etc/mtab has the loopback image filename, instead of
/dev/loop0. Also, check based on st_dev and st_ino, so
that if a relative pathname or a pathnames using symbolic
links are used, we can detect the the filesystem correctly
in those cases. (Addresses Sourceforge bug #619119)
Theodore Ts'o [Thu, 31 Oct 2002 17:21:05 +0000 (12:21 -0500)]
flushb.c (ext2fs_sync_device): If the BLKFLSBUF ioctl succeeds,
don't try the FDFLUSH ioctl that was required for floppies
with older kernels. This avoids needless whining from the
MD device driver. (Addresses Sourceforge bug #545832).
Theodore Ts'o [Thu, 31 Oct 2002 16:53:49 +0000 (11:53 -0500)]
debugfs.c (do_write): Check to see if the filename exists before
creating it, and give an error if so. Addresses
Sourceforge bug #478195.
Theodore Ts'o [Thu, 31 Oct 2002 16:45:06 +0000 (11:45 -0500)]
openfs.c (ext2fs_open): Fix bug which caused us to pass the
wrong group_block to ext2fs_descriptor_block_loc if we're
using the backup superblock/block group descriptors.
(ext2fs_descriptor_block_loc): If we're using the backup
superblock descriptors, use the backup descriptor block in
the next block group.
Theodore Ts'o [Thu, 31 Oct 2002 16:30:02 +0000 (11:30 -0500)]
Remove uneeded debian files.
Theodore Ts'o [Thu, 31 Oct 2002 08:44:35 +0000 (03:44 -0500)]
Update Debian packaging information as of 1.29+130-WIP-0930-2.
Theodore Ts'o [Thu, 31 Oct 2002 08:32:34 +0000 (03:32 -0500)]
Makefile.in (install): Search all compression extensions when
deleting old man pages.
Theodore Ts'o [Thu, 31 Oct 2002 04:26:03 +0000 (23:26 -0500)]
Add Olaf Klemke's german translation.
Theodore Ts'o [Thu, 31 Oct 2002 04:07:21 +0000 (23:07 -0500)]
Add support for the meta_bg feature flag to the resize2fs program.
Fix bug in meta_bg support in mke2fs, e2fsck, and dumpe2fs; we were
incorrectly reserving the legacy block groups desriptor blocks.
Theodore Ts'o [Mon, 28 Oct 2002 21:52:12 +0000 (16:52 -0500)]
fsck.c (main): Fix bug reported by Gregory Mutt. Multiple
filesystems explicitly specified on the command line were
not being checked in parallel, due to a logic bug
introduced in to support the FSCK_MAX_INST environment
variable.
Theodore Ts'o [Fri, 25 Oct 2002 21:29:55 +0000 (17:29 -0400)]
Add a new superblock field, s_mkfs_time, which indicates when
the filesystem was created. It is set via mke2fs, and printed
via list_super2() (which is called by dumpe2fs).
Also, list_super2() will now print "n/a" if the last mount time
(s_mtime) is zero.
Theodore Ts'o [Fri, 25 Oct 2002 21:07:11 +0000 (17:07 -0400)]
dumpe2fs.c (list_desc, main): Make dumpe2fs more robust so that
if there is an error reading the block/inode bitmaps, it
will still print out the contents of the block group
descriptors.
Theodore Ts'o [Fri, 25 Oct 2002 20:21:03 +0000 (16:21 -0400)]
Update man page to document the journal_* default mount options.