Whamcloud - gitweb
tools/e2fsprogs.git
21 years agoADD TAG: E2FSPROGS-1_33-WIP-0306 E2FSPROGS-1_33-WIP-0306
Theodore Ts'o [Fri, 7 Mar 2003 06:09:57 +0000 (01:09 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0306

21 years agoUpdate release notes, version file, for 1.33-WIP release.
Theodore Ts'o [Fri, 7 Mar 2003 06:09:57 +0000 (01:09 -0500)]
Update release notes, version file, for 1.33-WIP release.

21 years agotune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow
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)

21 years agoFix bug; if a partition has no known type, don't derference a null
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.

21 years agoMinor man page fixes (Addresses Debian bugs #173612, #175233,
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)

21 years agoBug fix; we were incorrectly moving the block and inode bitmaps
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)

21 years agoFix up lots of portability problems that caused e2fsprogs not to build successfully
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.

21 years agoChanges to create a subset distribution which consists only of the
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.

21 years agotag.c (blkid_set_tag): Fix bug; don't return an error when
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().

21 years agoUpdate libblkid documentation.
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.

21 years agoUpdate debugfs and e2fsck to use the blkid library.
Theodore Ts'o [Sun, 2 Mar 2003 00:47:44 +0000 (19:47 -0500)]
Update debugfs and e2fsck to use the blkid library.

21 years agoMinor bug fixes in 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.

21 years agoresolve.c (blkid_get_tag_value): Rename function (used to be
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)

21 years agoInternal changes to the blkid library:
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.

21 years agoAdd dynamic debugging capabilities to the blkid library,
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.

21 years agoRename blkid_get_devname() to blkid_get_dev(), and blkid_get_token()
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().

21 years agoRemove bid_id from the blkid device structure, as it is not used
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.

21 years agoAdd a priority label to the device structure, so we can give
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.

21 years agoWholesale changes to blkid library to simplify the implementation
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.

21 years agoFixed up minor documentation issues (man page for badblocks and usage
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).

21 years agoRoto-till and clean up libblkid API.
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.

21 years agoSeparate public and private interfaces into separate header files.
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.

21 years agodevname.c: Add support for EVMS to 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.

21 years agoFix gcc -Wall nits.
Theodore Ts'o [Sat, 25 Jan 2003 05:26:48 +0000 (00:26 -0500)]
Fix gcc -Wall nits.

21 years agosave.c (blkid_save_cache): Use mkstemp() instead mktemp().
Theodore Ts'o [Sat, 25 Jan 2003 04:11:29 +0000 (23:11 -0500)]
save.c (blkid_save_cache): Use mkstemp() instead mktemp().

21 years agoIntegrate new blkid library.
Theodore Ts'o [Thu, 23 Jan 2003 21:45:16 +0000 (16:45 -0500)]
Integrate new blkid library.

21 years agofsck.c (parse_fstab_line, parse_escape): Add support for
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.)

21 years agounix_io.c (unix_write_blk): Fix up GCC -Wall nits.
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.

21 years agopass1.c (check_blocks): Use the EXT2_I_SIZE macro.
Theodore Ts'o [Wed, 22 Jan 2003 23:28:15 +0000 (18:28 -0500)]
pass1.c (check_blocks): Use the EXT2_I_SIZE macro.

21 years agoRemove 32-bit limitations for debugfs's dump command and to the
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.

21 years agoinitialize.c (ext2fs_initialize): If the user specifies a really
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.

21 years agopass2.c (strnlen): Provide strnlen if libc doesn't.
Theodore Ts'o [Wed, 18 Dec 2002 23:28:10 +0000 (18:28 -0500)]
pass2.c (strnlen): Provide strnlen if libc doesn't.

21 years agoDetect if there is an attempt to run the journal twice, and
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)

21 years agoPrint an error if more than one of the -p/-a, -n or -y options
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.

21 years agoFix typo (errant extra character).
Theodore Ts'o [Wed, 11 Dec 2002 17:14:43 +0000 (12:14 -0500)]
Fix typo (errant extra character).

21 years agoUpdate to deal with the fact that the INDEX_FL code in the ext2 2.4
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.)

21 years agoADD TAG: E2FSPROGS-1_32 E2FSPROGS-1_32
Theodore Ts'o [Sat, 9 Nov 2002 20:03:44 +0000 (15:03 -0500)]
ADD TAG: E2FSPROGS-1_32

21 years agoUpdate LSM file for 1.32 release.
Theodore Ts'o [Sat, 9 Nov 2002 20:03:44 +0000 (15:03 -0500)]
Update LSM file for 1.32 release.

21 years agoUpdate files for 1.32 release.
Theodore Ts'o [Sat, 9 Nov 2002 20:00:56 +0000 (15:00 -0500)]
Update files for 1.32 release.

21 years agounix_io.c (find_cached_block, reuse_cache, unix_read_blk,
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.

21 years agoAdd german translation to the language catalog
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.

21 years agounix_io.c (find_cached_block): Fixed bug which caused some clean
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.

21 years agoADD TAG: E2FSPROGS-1_31 E2FSPROGS-1_31
Theodore Ts'o [Sat, 9 Nov 2002 01:13:24 +0000 (20:13 -0500)]
ADD TAG: E2FSPROGS-1_31

21 years agoUpdate lsm file for 1.31 release.
Theodore Ts'o [Sat, 9 Nov 2002 01:13:24 +0000 (20:13 -0500)]
Update lsm file for 1.31 release.

21 years agoUpdate files for 1.31 release.
Theodore Ts'o [Sat, 9 Nov 2002 01:08:48 +0000 (20:08 -0500)]
Update files for 1.31 release.

21 years agochattr.1.in: Update man page
Theodore Ts'o [Sat, 9 Nov 2002 01:02:21 +0000 (20:02 -0500)]
chattr.1.in: Update man page

21 years agopf.c: Print the indexed directory flag if present. Don't display
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.

21 years agoconfigure.in, configure: Change --enable-jfs-debug to
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.

21 years agounix.c (main): Fix a bug where e2fsck could erroneously mark a
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.)

21 years agounix.c (PRS), journal.c: Set the default level of journal
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.

21 years agoMissed a EVMS 1.2 ABI fixup.
Theodore Ts'o [Fri, 8 Nov 2002 20:25:57 +0000 (15:25 -0500)]
Missed a EVMS 1.2 ABI fixup.

21 years agoSkip byteswap tests on --disable-swapfs
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.

21 years agoUpdate "make depend".
Theodore Ts'o [Fri, 8 Nov 2002 19:31:03 +0000 (14:31 -0500)]
Update "make depend".

21 years agofs_ext2.c (fs_expand, fs_shrink),
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.

21 years agofsimext2.c (set_mkfs_options): If the hard sector size is 1024,
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.

21 years agoDefault the EVMS_ABI_CODE if it is not defined to 1.2.0.
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.

21 years agoUpdate EVMS plugin to support EVMS ABI 1.2
Theodore Ts'o [Fri, 8 Nov 2002 18:50:51 +0000 (13:50 -0500)]
Update EVMS plugin to support EVMS ABI 1.2

21 years agofsimext2.c (set_mkfs_options): Synchronize with EVMS CVS rev
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.

21 years agoSynchronize with EVMS CVS. Add better error handling
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.

21 years agofs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12
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.

21 years agofs_ext2.c (fs_expand, fs_shrink): Synchronize with EVMS CVS rev
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.

21 years agofsimext2.h: Synchronize with EVMS CVS rev 1.8 (2002/8/29).
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.

21 years agoChange e2fsck to force out changes to the backup copies of the
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.

21 years agoclosefs.c (write_bgdesc, ext2fs_flush): Fix bug in meta_bg
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.

21 years agoe2fsck.h, unix.c (main, check_mount): Fix e2fsck so that it
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.

21 years agoADD TAG: E2FSPROGS-1_30 E2FSPROGS-1_30
Theodore Ts'o [Fri, 1 Nov 2002 07:13:53 +0000 (02:13 -0500)]
ADD TAG: E2FSPROGS-1_30

21 years agoUpdate files for 1.30 release.
Theodore Ts'o [Fri, 1 Nov 2002 07:13:53 +0000 (02:13 -0500)]
Update files for 1.30 release.

21 years agoext2_fs.h: Add support for a new inode flag, which is to be used
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.

21 years agoAdd support for a new inode flag, which is to be used
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.

21 years agoresize2fs.c (inode_scan_and_fix, check_and_change_inodes): When
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.

21 years agounix.c (usage), e2fsck.8.in: Add the -D option to the usage and
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)

21 years agounix.c (usage), e2fsck.8.in: Add the -D option to the usage and
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)

21 years agopass1.c (e2fsck_pass1): Check the superblock write time to see
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)

21 years agoget_device_by_label.c (read_partitions): Pay attention to
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".

21 years agogen_uuid.c (get_random_bytes): Don't spin forever if read()
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.

21 years agoismounted.c (check_mntent, check_mntent_file): Add better
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)

21 years agoflushb.c (ext2fs_sync_device): If the BLKFLSBUF ioctl succeeds,
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).

21 years agodebugfs.c (do_write): Check to see if the filename exists before
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.

21 years agoopenfs.c (ext2fs_open): Fix bug which caused us to pass the
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.

21 years agoRemove uneeded debian files.
Theodore Ts'o [Thu, 31 Oct 2002 16:30:02 +0000 (11:30 -0500)]
Remove uneeded debian files.

21 years agoUpdate Debian packaging information as of 1.29+130-WIP-0930-2.
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.

21 years agoMakefile.in (install): Search all compression extensions when
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.

21 years agoAdd Olaf Klemke's german translation.
Theodore Ts'o [Thu, 31 Oct 2002 04:26:03 +0000 (23:26 -0500)]
Add Olaf Klemke's german translation.

21 years agoAdd support for the meta_bg feature flag to the resize2fs program.
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.

21 years agofsck.c (main): Fix bug reported by Gregory Mutt. Multiple
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.

21 years agoAdd a new superblock field, s_mkfs_time, which indicates when
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.

21 years agodumpe2fs.c (list_desc, main): Make dumpe2fs more robust so that
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.

21 years agoUpdate man page to document the journal_* default mount options.
Theodore Ts'o [Fri, 25 Oct 2002 20:21:03 +0000 (16:21 -0400)]
Update man page to document the journal_* default mount options.

21 years agoAdd support for new default mount options for the journal data mode.
Theodore Ts'o [Sun, 20 Oct 2002 05:52:52 +0000 (01:52 -0400)]
Add support for new default mount options for the journal data mode.

21 years agoAdd support for the meta_blockgroup filesystem format. (Missing changelog)
Theodore Ts'o [Sun, 20 Oct 2002 04:58:08 +0000 (00:58 -0400)]
Add support for the meta_blockgroup filesystem format.  (Missing changelog)

21 years agoAdd support for the meta_blockgroup filesystem format.
Theodore Ts'o [Sun, 20 Oct 2002 04:38:57 +0000 (00:38 -0400)]
Add support for the meta_blockgroup filesystem format.

21 years agoAdd support for new feature in ext2/3 filesystems; a default mount options field
Theodore Ts'o [Tue, 15 Oct 2002 21:43:43 +0000 (17:43 -0400)]
Add support for new feature in ext2/3 filesystems; a default mount options field
in the superblock.  Added the tune2fs '-o' option to set this field.

21 years agoFix gcc -Wall nits.
Theodore Ts'o [Mon, 14 Oct 2002 03:56:28 +0000 (23:56 -0400)]
Fix gcc -Wall nits.

Fix format bug if NLS is in use.

Add extra so that the info directory looks OK on OpenWall.

21 years agoFix bug in e2fsck and mklost+found; the lost+found directory should
Theodore Ts'o [Fri, 11 Oct 2002 21:44:12 +0000 (17:44 -0400)]
Fix bug in e2fsck and mklost+found; the lost+found directory should
created with mode 0700.

21 years agoresize2fs.8.in: Fix typo in man page.
Theodore Ts'o [Thu, 3 Oct 2002 15:52:41 +0000 (11:52 -0400)]
resize2fs.8.in: Fix typo in man page.

21 years agoHandle BAD_BLOCK_IN_INODE_TABLE even at the beginning of the
Theodore Ts'o [Thu, 3 Oct 2002 05:09:35 +0000 (01:09 -0400)]
Handle BAD_BLOCK_IN_INODE_TABLE even at the beginning of the
inode table, and shrink code by reorganizing the while loop so
to eliminate duplicate calls to ext2fs_get_next_inode().

21 years agoFix endian problems in the htree code for e2fsck and debugfs.
Theodore Ts'o [Thu, 3 Oct 2002 02:07:17 +0000 (22:07 -0400)]
Fix endian problems in the htree code for e2fsck and debugfs.

When byte-swapping a filesystem on a PPC architecture, byte-swap
the bitmaps since the historical big-endian ext2 variant had
byte-swapped bitmaps, and the ext2fs library assumes this.  Otherwise
the regression test suite will fail...

21 years agoe2image.c (write_raw_image_file): Handle a bad block in the
Theodore Ts'o [Wed, 2 Oct 2002 21:47:08 +0000 (17:47 -0400)]
e2image.c (write_raw_image_file): Handle a bad block in the
inode table correctly.

21 years agoADD TAG: E2FSPROGS-1.30-WIP-0930 E2FSPROGS-1.30-WIP-0930
Theodore Ts'o [Mon, 30 Sep 2002 15:33:36 +0000 (11:33 -0400)]
ADD TAG: E2FSPROGS-1.30-WIP-0930

21 years agoUpdate release notes, et. al. for 1.30-WIP release.
Theodore Ts'o [Mon, 30 Sep 2002 15:33:36 +0000 (11:33 -0400)]
Update release notes, et. al. for 1.30-WIP release.