Whamcloud - gitweb
tools/e2fsprogs.git
20 years agoFix resize inode handling on big endian systems, by adding new routines
Theodore Ts'o [Thu, 6 Jan 2005 05:04:24 +0000 (00:04 -0500)]
Fix resize inode handling on big endian systems, by adding new routines
that read/write indirect blocks, byte swapping them if necessary.

20 years agoAdjust blkid library so that it returns vfat in preference to msdos so
Theodore Ts'o [Wed, 5 Jan 2005 22:45:32 +0000 (17:45 -0500)]
Adjust blkid library so that it returns vfat in preference to msdos so
that mount will try to use the vfat filesystem.  (Addresses Debian bug #287455)

Similarly, the blkid library will now return an ext3 type for ext 2/3
filesystems that have the journal capability set.

We allow files to be probed by the blkid library, to make it easier to
test the library.  However, we also added safety checks to avoid saving
relative pathnames to blkid.tab, and probe_one() will only check block device
files.

20 years agofsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from
Theodore Ts'o [Wed, 5 Jan 2005 18:43:29 +0000 (13:43 -0500)]
fsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from
e2fsprogs-1.35-11.2.  Fixed multiple command-line parsing
bugs so that backwards compatibility is maintained, and so
that certain command-line options wouldn't be ignored.

20 years agomke2fs.c (parse_extended_opts): Rename the -R option to -E. Fix
Theodore Ts'o [Wed, 5 Jan 2005 16:12:20 +0000 (11:12 -0500)]
mke2fs.c (parse_extended_opts): Rename the -R option to -E.  Fix
the resize= raid/extended option so it actually works.
(The patch from Fedora e2fsprogs-1.35-11.2 claimed it
worked, but it was a placebo, despite the claim that it
worked in the usage message.)

20 years agodupfs.c (ext2fs_dup_handle): Make sure the new filesystem handle
Theodore Ts'o [Wed, 5 Jan 2005 08:16:09 +0000 (03:16 -0500)]
dupfs.c (ext2fs_dup_handle): Make sure the new filesystem handle
has its own copy of the orig_super data structure.  (This
is a better way of fixing a double-free problem in
resize2fs which Fedora attempted to fix in
e2fsprogs-1.35-double_free.patch.   Addresses Red Hat
Bugzilla #132707.)

20 years agoFix gcc -Wall nits.
Theodore Ts'o [Wed, 5 Jan 2005 08:02:54 +0000 (03:02 -0500)]
Fix gcc -Wall nits.

20 years agoAdd new function in e2p for parsing the number of blocks on the command line
Theodore Ts'o [Wed, 5 Jan 2005 08:01:06 +0000 (03:01 -0500)]
Add new function in e2p for parsing the number of blocks on the command line
for mke2fs and resize2fs, and use this function so that filesystem size
inputs to e2fsprogs command line programs are parsed consistently.

20 years agoAdd two new tests, f_resize_inode, and r_resize_inode, to the regression
Theodore Ts'o [Fri, 24 Dec 2004 06:47:50 +0000 (01:47 -0500)]
Add two new tests, f_resize_inode, and r_resize_inode, to the regression
test suite, which tests e2fsck and reszizefs2, respecitvely.

20 years agoAdd support to detect corrupted resize_inode's to e2fsck.
Theodore Ts'o [Fri, 24 Dec 2004 06:42:22 +0000 (01:42 -0500)]
Add support to detect corrupted resize_inode's to e2fsck.

20 years agoFix resize2fs so that it properly handles filesystems with the resize_inode
Theodore Ts'o [Fri, 24 Dec 2004 06:34:29 +0000 (01:34 -0500)]
Fix resize2fs so that it properly handles filesystems with the resize_inode
feature enabled.

20 years agoAvoid some potential inode cache coherency problem caused by using the
Theodore Ts'o [Fri, 24 Dec 2004 02:49:05 +0000 (21:49 -0500)]
Avoid some potential inode cache coherency problem caused by using the
byte-swapping options to e2fsck.  This was the cause of some hard to
reproduce problems that had been reported in the past, and which the
resize_inode changes tickled in a much more repeatable fashion.

20 years agoAdd support in debugfs's set_field command to specify array specifiers for
Theodore Ts'o [Thu, 23 Dec 2004 19:11:34 +0000 (14:11 -0500)]
Add support in debugfs's set_field command to specify array specifiers for
fields to be set.  For example, to set i_block[2] for the resize inode to
be 42, simply issue the debugfs command:

set_inode <7> block[2] 42

Also added is the virtual field "bmap", which also takes an array index.
So to set the physical block mapping for logical block 1282 in the file
/test/inode to be 57, use the debugfs command:

set_inode /test/inode bmap[1282] 57

20 years agoext2fs.h (BMAP_SET), bmap.c (ext2fs_bmap): Add support for new
Theodore Ts'o [Thu, 23 Dec 2004 18:55:34 +0000 (13:55 -0500)]
ext2fs.h (BMAP_SET), bmap.c (ext2fs_bmap): Add support for new
flag, BMAP_SET, which allows the caller to set a
particular logical->physical block mapping.

20 years agoEnhance dumpe2fs so that it will print the location of the reserved
Theodore Ts'o [Thu, 23 Dec 2004 18:54:28 +0000 (13:54 -0500)]
Enhance dumpe2fs so that it will print the location of the reserved
GDT blocks if they are present.

20 years agoDumpe2fs will print the s_reserved_gdt_blocks field if it is non-zero.
Theodore Ts'o [Thu, 23 Dec 2004 12:47:12 +0000 (07:47 -0500)]
Dumpe2fs will print the s_reserved_gdt_blocks field if it is non-zero.
(Change to libe2p's list_super2() function.)

20 years agoClean up resize inode routines in ext2fs library. We no longer print
Theodore Ts'o [Thu, 23 Dec 2004 12:45:04 +0000 (07:45 -0500)]
Clean up resize inode routines in ext2fs library.  We no longer print
any debugging statements from within library code (always a bad idea), and
ext2fs_create_resize_inode() will return a proper error code if the
resize inode is corrupt, instead of returning -1.

20 years agoswapfs.c (ext2fs_swap_super): Byteswap the reserved_gdt_blocks
Theodore Ts'o [Thu, 23 Dec 2004 01:55:48 +0000 (20:55 -0500)]
swapfs.c (ext2fs_swap_super): Byteswap the reserved_gdt_blocks
superblocks field.

20 years agoIn fsck, check return from malloc of fsck_path, and print an error message
Theodore Ts'o [Wed, 22 Dec 2004 05:49:06 +0000 (00:49 -0500)]
In fsck, check return from malloc of fsck_path, and print an error message
if it fails.

20 years agotune2fs.c (parse_time): Fix minor buglet; the parse_time routine
Theodore Ts'o [Wed, 22 Dec 2004 01:40:08 +0000 (20:40 -0500)]
tune2fs.c (parse_time): Fix minor buglet; the parse_time routine
should use the passed-in argument, not optarg, even though
the two are the same in the case of the current caller of
said function.  (i.e., no user-visible problems were caused
by this, even though the code was wrong).

20 years agoEnhance debugfs so that set_super_value can now set the wtime, mtime,
Theodore Ts'o [Wed, 22 Dec 2004 01:37:36 +0000 (20:37 -0500)]
Enhance debugfs so that set_super_value can now set the wtime, mtime,
lastcheck, and mkfs_time fields with date/time values.

Add the set_inode command to debugfs so that individual inode fields can
be more easily modified.  We should probably make the modify_inode
command go away at some point.

20 years agoAdd support for newer superblock fields in debugfs's set_super_value
Theodore Ts'o [Fri, 17 Dec 2004 01:15:35 +0000 (20:15 -0500)]
Add support for newer superblock fields in debugfs's set_super_value
command.

20 years agoFix e2fsck so that it will clean up filesystesm that have the
Theodore Ts'o [Fri, 17 Dec 2004 01:13:45 +0000 (20:13 -0500)]
Fix e2fsck so that it will clean up filesystesm that have the
resize_inode capability disabled, but which still have the
s_reserved_gdt_blocks field set in the superblock, or which
still have blocks in the inode #7 (the resize inode).

20 years agosparse.c (ext2fs_list_backups, ext2fs_bg_has_super),
Theodore Ts'o [Wed, 15 Dec 2004 23:06:52 +0000 (18:06 -0500)]
sparse.c (ext2fs_list_backups, ext2fs_bg_has_super),
res_gdt.c (list_backups), closefs.c (ext2fs_bg_has_super),
ext2fs.h: Move ext2fs_list_backups() to res_gdt.c, and
ext2fs_bg_has_super() back to closefs.c.  There's no
reason for the new file, since list_backups() isn't being
used by any other functions, and can be made static, and
all users of the ext2fs filesystem will have to call
ext2fs_close() anyway.

20 years agom_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take into
Theodore Ts'o [Wed, 15 Dec 2004 22:53:23 +0000 (17:53 -0500)]
m_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take into
account the resize inode patch.

20 years agoSupplied changelog for resize inode patch.
Theodore Ts'o [Wed, 15 Dec 2004 22:26:32 +0000 (17:26 -0500)]
Supplied changelog for resize inode patch.

20 years agoAdd support for on-line resizing ala the resize inode. This patch
Theodore Ts'o [Wed, 15 Dec 2004 19:39:16 +0000 (14:39 -0500)]
Add support for on-line resizing ala the resize inode.  This patch
is taken from Fedora Core 3's e2fsprogs 1.35-11.2.src.rpm's
e2fsprogs-resize.patch.

20 years agoFix stupid core dumping bug if the TZ environment variable isn't set.
Theodore Ts'o [Wed, 15 Dec 2004 17:21:41 +0000 (12:21 -0500)]
Fix stupid core dumping bug if the TZ environment variable isn't set.

20 years agoAdd install-strip and install-shlibs-strip targets
Theodore Ts'o [Wed, 15 Dec 2004 16:28:55 +0000 (11:28 -0500)]
Add install-strip and install-shlibs-strip targets

Use Linux-kernel-style makefile output for "make install"

Update intl/Makefile.in to version from gettext 0.14.1

20 years agoUse MKINSTALLDIRS macro so that the Makefiles can find the script
Theodore Ts'o [Wed, 15 Dec 2004 02:46:26 +0000 (21:46 -0500)]
Use MKINSTALLDIRS macro so that the Makefiles can find the script
correctly.

Update Makefile dependencies.

Update "make depend" production so that it filters out comments
inserted by newer gcc compilers.

Remove sync from e2fsck's "make all" target.

20 years agoFix minor glitches in the e2image man page.
Theodore Ts'o [Wed, 1 Dec 2004 17:42:33 +0000 (12:42 -0500)]
Fix minor glitches in the e2image man page.

20 years agoMake make distclean remove all generated files.
Theodore Ts'o [Wed, 1 Dec 2004 03:06:27 +0000 (22:06 -0500)]
Make make distclean remove all generated files.

Update the po and intl changelog files to indicate that we updated to
gettext 0.14.1

20 years agoIf the TZ environment variable is set to GMT, use gmtime()
Theodore Ts'o [Wed, 1 Dec 2004 00:57:20 +0000 (19:57 -0500)]
If the TZ environment variable is set to GMT, use gmtime()
instead of localtime() or ctime() to force the use of GMT.
This is because the dietlibc doesn't honor the TZ environment
variable.

20 years agoAvoid using uint and uchar types when probing for ocfs2 filesystems
Theodore Ts'o [Wed, 1 Dec 2004 00:05:38 +0000 (19:05 -0500)]
Avoid using uint and uchar types when probing for ocfs2 filesystems
in the blkid library, to allow compilation using dietlibc.

20 years agoUpdate to use gettext 0.14.1 and autoconf 2.50+
Theodore Ts'o [Wed, 1 Dec 2004 00:00:19 +0000 (19:00 -0500)]
Update to use gettext 0.14.1 and autoconf 2.50+

20 years agoAdd support for passing options to the io layer using the URL syntax. For
Theodore Ts'o [Tue, 30 Nov 2004 19:07:11 +0000 (14:07 -0500)]
Add support for passing options to the io layer using the URL syntax.  For
example, /tmp/test.img?offset=1024.  Multiple options can separated using
the & character, although at the moment the only option implemented is
the offset option in the unix_io layer.

20 years agoUse Linux-kernel-style makefile output to make it easier to
Theodore Ts'o [Tue, 30 Nov 2004 15:52:27 +0000 (10:52 -0500)]
Use Linux-kernel-style makefile output to make it easier to
see errors/warnings.

20 years agoAdd definition for the extents filesystem feature and inode flag.
Theodore Ts'o [Tue, 30 Nov 2004 03:14:23 +0000 (22:14 -0500)]
Add definition for the extents filesystem feature and inode flag.

Change the maximum allowable blocksize to be 65536.  This allows e2fsck to
check filesystems with a pagesize of 65536, and mke2fs to accept -b 65536.
Of course such a filesystem will not currently work on a Linux/x86 system,
at least not as of this writing!

20 years agodebugfs.c (do_open_filesys): Fix obvious uninitialized variable
Theodore Ts'o [Mon, 29 Nov 2004 22:35:58 +0000 (17:35 -0500)]
debugfs.c (do_open_filesys): Fix obvious uninitialized variable
buglet.

20 years agoRemove support for EVMS 1.x plugin library.
Theodore Ts'o [Fri, 19 Nov 2004 22:25:27 +0000 (17:25 -0500)]
Remove support for EVMS 1.x plugin library.

20 years agoRemove the a.out DLL support, since it's been obsolete and unmaintained
Theodore Ts'o [Fri, 19 Nov 2004 22:06:47 +0000 (17:06 -0500)]
Remove the a.out DLL support, since it's been obsolete and unmaintained
for a long time now.

20 years agodebugfs.c (kill_file_by_inode): Only iterate over the inode to
Theodore Ts'o [Fri, 19 Nov 2004 19:39:14 +0000 (14:39 -0500)]
debugfs.c (kill_file_by_inode): Only iterate over the inode to
release blocks if the inode has them; otherwise attempting
to rm devices and fast symlinks will lead to errors.
(Addresses Sourceforge Bug #954741 and #957244)

20 years agomke2fs.8.in: Removed the word "destructive" when describing the
Theodore Ts'o [Fri, 19 Nov 2004 19:29:48 +0000 (14:29 -0500)]
mke2fs.8.in: Removed the word "destructive" when describing the
read-write test, since it can confuse people.

20 years agoprobe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
Theodore Ts'o [Fri, 19 Nov 2004 19:28:01 +0000 (14:28 -0500)]
probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
was being passed to blkid_set_tag().  Thanks to Andrea
Dilger for pointing this out.

20 years agoUpdated Italian translation
Theodore Ts'o [Tue, 9 Nov 2004 17:02:53 +0000 (12:02 -0500)]
Updated Italian translation

20 years agogetsize.c (ext2fs_get_device_size): Add support for Windows
Theodore Ts'o [Fri, 8 Oct 2004 16:45:24 +0000 (12:45 -0400)]
getsize.c (ext2fs_get_device_size): Add support for Windows
9x/NT under Cygwin.  Thanks to Sam Robb
(samrobb@users.sourceforge.net) for pointing this and the
suggested code patch.

20 years agomke2fs.8.in: Add an explanation about why reserved blocks in a
Theodore Ts'o [Fri, 8 Oct 2004 14:47:30 +0000 (10:47 -0400)]
mke2fs.8.in: Add an explanation about why reserved blocks in a
filesystem is a good thing.

20 years agoAttempt recovery if the journal contains illegal blocks
Richard Mortimer [Mon, 4 Oct 2004 16:56:24 +0000 (17:56 +0100)]
Attempt recovery if the journal contains illegal blocks

20 years agoDocument the default blocksize used by badblocks(8).
Theodore Ts'o [Tue, 28 Sep 2004 14:30:27 +0000 (10:30 -0400)]
Document the default blocksize used by badblocks(8).
(Addresses Debian Bug #273679)

20 years agoUpdate changelog to include all debian bugs closed by fixes.
Theodore Ts'o [Sat, 25 Sep 2004 11:46:31 +0000 (07:46 -0400)]
Update changelog to include all debian bugs closed by fixes.

20 years agoOnly use blocksizes > 4k on Linux 2.6 and newer systems.
Theodore Ts'o [Sat, 25 Sep 2004 11:40:12 +0000 (07:40 -0400)]
Only use blocksizes > 4k on Linux 2.6 and newer systems.
(Addresses Debian Bug #271064)

20 years agoRemove double "//" when listing attributes in the root directory or
Theodore Ts'o [Fri, 24 Sep 2004 16:16:17 +0000 (12:16 -0400)]
Remove double "//" when listing attributes in the root directory or
when there is a trailing '/' in the directory name.  (Addresses Debian
Bug #272943)

20 years agoMake sure /usr/lib is creaeted when installing e2initrd_helper.
Theodore Ts'o [Fri, 24 Sep 2004 16:15:14 +0000 (12:15 -0400)]
Make sure /usr/lib is creaeted when installing e2initrd_helper.
(Addresses Debian Bug #272698)

20 years agoMake sure the configure files are newer than configure.in the
Theodore Ts'o [Fri, 24 Sep 2004 14:07:05 +0000 (10:07 -0400)]
Make sure the configure files are newer than configure.in the
debian/rules file so that a dpkg-source created patch won't
trigger an attempt rebuild of the configure script.  (Addresses
Debian Bug #272558)

20 years agoUpdated French translation file.
Theodore Ts'o [Mon, 20 Sep 2004 18:38:46 +0000 (14:38 -0400)]
Updated French translation file.

20 years agoUpdate Release notes.
Theodore Ts'o [Sun, 19 Sep 2004 12:23:41 +0000 (08:23 -0400)]
Update Release notes.

20 years agoUpdated French translation to reflect a suggested change.
Theodore Ts'o [Sun, 19 Sep 2004 12:18:26 +0000 (08:18 -0400)]
Updated French translation to reflect a suggested change.
(Addresses Debian Bug #262836)

20 years agobadblocks.c: Use _() around done_string, so that it gets
Theodore Ts'o [Sun, 19 Sep 2004 12:04:44 +0000 (08:04 -0400)]
badblocks.c: Use _() around done_string, so that it gets
correctly translated.  (Addresses Debian Bug #252836)

20 years agoAlways build the fsck wrapper on Debian systems (Addresses
Theodore Ts'o [Sun, 19 Sep 2004 11:52:05 +0000 (07:52 -0400)]
Always build the fsck wrapper on Debian systems (Addresses
Debian Bug #248050)

20 years agotune2fs.8.in: Add a description of the .journal file, why it
Theodore Ts'o [Sun, 19 Sep 2004 11:34:35 +0000 (07:34 -0400)]
tune2fs.8.in: Add a description of the .journal file, why it
is created, and how e2fsck converts it to an invisible
journal.  (Addresses Debian Bug #256760)

20 years agoFilter out linux-gate.so, which is a pseudo entry for the 32->64bit
Theodore Ts'o [Sun, 19 Sep 2004 11:15:30 +0000 (07:15 -0400)]
Filter out linux-gate.so, which is a pseudo entry for the 32->64bit
translation for amd64 systems, in the initrd creation script.
(Addresses Debian bug #253595)

20 years agoRevamp the initrd scripts to use a new helper program,
Theodore Ts'o [Sat, 18 Sep 2004 18:53:14 +0000 (14:53 -0400)]
Revamp the initrd scripts to use a new helper program,
e2initrd_helper, which obviates the need for using /bin/awk
and mounting/unmounting the root filesystem during the initrd
process.  (Addresses Debian Bug #247775)

20 years agoAdd support for ocfs2 detection to the blkid library,
Theodore Ts'o [Sat, 18 Sep 2004 01:37:49 +0000 (21:37 -0400)]
Add support for ocfs2 detection to the blkid library,
courtesy of manish.singh@oracle.com

20 years agogen_uuid.c (get_node_id): glibc always defines AF_LINK, so only
Theodore Ts'o [Sat, 18 Sep 2004 00:38:27 +0000 (20:38 -0400)]
gen_uuid.c (get_node_id): glibc always defines AF_LINK, so only
try to use struct sockaddr_dl if HAVE_NET_IF_DL_H is
defined.  (Addresses Debian Bug #256669)

20 years agoRemove XSI:isms for greater portability. (Addresses
Theodore Ts'o [Fri, 17 Sep 2004 23:54:22 +0000 (19:54 -0400)]
Remove XSI:isms for greater portability.  (Addresses
Debian Bug #255589)

20 years agoClean up the header file #include's for lib/blkid/getsize.c
Theodore Ts'o [Fri, 17 Sep 2004 23:07:03 +0000 (19:07 -0400)]
Clean up the header file #include's for lib/blkid/getsize.c
and lib/ext2fs/getsize.c

In lib/blkid/getsize.c, include <sys/disk.h> if present since
this is where the DIOCGMEDIASIZE ioctl is defined on FreeBSD.
(Addresses Debian Bug #264630)

20 years agoUpdate config.guess and config.sub from the FSF.
Theodore Ts'o [Fri, 17 Sep 2004 22:15:58 +0000 (18:15 -0400)]
Update config.guess and config.sub from the FSF.

20 years agoOn non-linux systems, use lseek64() if it is present in
Theodore Ts'o [Fri, 17 Sep 2004 21:47:12 +0000 (17:47 -0400)]
On non-linux systems, use lseek64() if it is present in
ext2fs_llseek() and blkid_llseek().  (Addresses Debian bug #269044)

20 years agotune2fs.8.in: Mention that e2fsck -D might be useful after
Theodore Ts'o [Fri, 17 Sep 2004 21:31:16 +0000 (17:31 -0400)]
tune2fs.8.in: Mention that e2fsck -D might be useful after
setting the dir_index filesystem feature.  (Addresses
Debian Bug #268148)

20 years agoresize2fs.c (check_and_change_inodes): Fix debugging printf to
Theodore Ts'o [Fri, 17 Sep 2004 21:10:17 +0000 (17:10 -0400)]
resize2fs.c (check_and_change_inodes): Fix debugging printf to
mask off the high 256 bits of dirent->name_len (which is
where the file type information is stored).  (Addresses
Debian Bug #271605)

20 years agoAdd ability for debugfs to use a separate source of data blocks when
Theodore Ts'o [Thu, 29 Jul 2004 01:11:48 +0000 (21:11 -0400)]
Add ability for debugfs to use a separate source of data blocks when
reading from an e2image file.  (New -d option)

Add new functions ext2fs_get_data_io, ext2fs_set_data_io,
ext2fs_rewrite_to_io to libext2fs library.

20 years agoe2image.c, e2image.8.in: Add new option -I which allows the
Theodore Ts'o [Thu, 29 Jul 2004 01:07:53 +0000 (21:07 -0400)]
e2image.c, e2image.8.in: Add new option -I which allows the
administrator to install an metadata stored in an e2image
file to a filesystem.  Obviously, this can be very
dangerous!

20 years agopass1.c (process_block): Change the limit of directory size from
Theodore Ts'o [Tue, 27 Jul 2004 00:11:49 +0000 (20:11 -0400)]
pass1.c (process_block): Change the limit of directory size from
32 MB to 2GB.

20 years agoMakefile.in (mke2fs.static): Add the blkid library to so
Theodore Ts'o [Fri, 25 Jun 2004 04:55:12 +0000 (00:55 -0400)]
Makefile.in (mke2fs.static): Add the blkid library to so
mke2fs.static builds correctly.

20 years agosetflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGS
Theodore Ts'o [Fri, 25 Jun 2004 04:52:08 +0000 (00:52 -0400)]
setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGS
to deal with lame glibc's that define this function
without actually implementing it.  Can you say "attractive
nuisance", boys and girls?   I knew you could!  (Thanks to
Pavel Troller for reporting this braindamage.)

20 years agouuid.h (UUID_DEFINE): Make the UUID defined as a static
Theodore Ts'o [Fri, 28 May 2004 00:24:52 +0000 (20:24 -0400)]
uuid.h (UUID_DEFINE): Make the UUID defined as a static
variable, with __attribute__ ((unused)) if we are using GCC.

20 years agoclosefs.c (ext2fs_flush): Make sure the master superblock is
Theodore Ts'o [Thu, 27 May 2004 01:29:14 +0000 (21:29 -0400)]
closefs.c (ext2fs_flush): Make sure the master superblock is
written last, and only after other I/O has been flushed to
disk.  Thanks to Junfeng Yang from the Stanford
Metacompilation group for pointing a potential ordering
constraint problem if we don't write things out in the
right order.

20 years agoImplement the ability for the test_io mechanism to abort after n reads
Theodore Ts'o [Thu, 27 May 2004 01:04:07 +0000 (21:04 -0400)]
Implement the ability for the test_io mechanism to abort after n reads
or writes to a particular block.  The block is specified by
TEST_IO_BLOCK environment variable, and the read/write count
by the TEST_IO_READ_ABORT and TEST_IO_WRITE_ABORT environment
variables.  The block data is now only dumped if the 0x10 bit
is set in TEST_IO_FLAGS.

20 years agoFixed potential ordering constraint problem in e2fsck's journal
Theodore Ts'o [Thu, 27 May 2004 00:58:45 +0000 (20:58 -0400)]
Fixed potential ordering constraint problem in e2fsck's journal
recovery code by implementing the sync_blockdev function.  Thanks to
Junfeng Yang from the Stanford Metacompilation group for pointing this
out.

20 years agoread.c (blkid_read_cache): Add missing fclose() which was
Theodore Ts'o [Sat, 15 May 2004 21:27:43 +0000 (17:27 -0400)]
read.c (blkid_read_cache): Add missing fclose() which was
causing a memory and file descriptor leak.  Thanks to
magnus.fromreide at teligent.se.

21 years agoRemove .cvsignore files; they were out of date, and causes lintian
Theodore Ts'o [Wed, 5 May 2004 13:02:36 +0000 (09:02 -0400)]
Remove .cvsignore files; they were out of date, and causes lintian
to flame about their presence in the source tarball.

21 years agoCset exclude: tytso@think.thunk.org|ChangeSet|20040504235846|06000
Theodore Ts'o [Wed, 5 May 2004 12:58:41 +0000 (08:58 -0400)]
Cset exclude: tytso@think.thunk.org|ChangeSet|20040504235846|06000

Revert change to add dependency on awk; it isn't needed since awk is
a virtual package which is "de facto essential" by virtual of the fact
that essential packages such as base-files depends on it.

21 years agoUpdate debian/changelog for 1.35-6 release.
Theodore Ts'o [Wed, 5 May 2004 05:00:41 +0000 (01:00 -0400)]
Update debian/changelog for 1.35-6 release.

21 years agoUse rpmbuild if it is installed instead of rpm
Theodore Ts'o [Wed, 5 May 2004 02:19:07 +0000 (22:19 -0400)]
Use rpmbuild if it is installed instead of rpm

21 years agoe2fsprogs.spec.in: Fix up e2fsprogs.spec file so it should work
Theodore Ts'o [Wed, 5 May 2004 02:17:27 +0000 (22:17 -0400)]
e2fsprogs.spec.in: Fix up e2fsprogs.spec file so it should work
on a RH 9.0 system.  Based off of changes proposed by
Andreas Dilger.

21 years agoUpdate and clean up uuid man pages, including renaming libuuid.3 to
Theodore Ts'o [Wed, 5 May 2004 02:05:05 +0000 (22:05 -0400)]
Update and clean up uuid man pages, including renaming libuuid.3 to
uuid.3

Eliminate empty lines at end of uuid.h

21 years agogen_uuid.c (uuid_generate_time): Mask off the timestamp to avoid
Theodore Ts'o [Wed, 5 May 2004 00:51:02 +0000 (20:51 -0400)]
gen_uuid.c (uuid_generate_time): Mask off the timestamp to avoid
a Y8.8888K problem.

21 years agounix.c (check_if_skip): If the checkinterval is zero, then
Theodore Ts'o [Wed, 5 May 2004 00:38:17 +0000 (20:38 -0400)]
unix.c (check_if_skip): If the checkinterval is zero, then
disregard it when calculating when the next check will
take place by e2fsck.

21 years agoAdd dependency on awk in the debian e2fsprogs package. Addresses
Theodore Ts'o [Tue, 4 May 2004 23:58:46 +0000 (19:58 -0400)]
Add dependency on awk in the debian e2fsprogs package.  Addresses
Debian bug #245670)

21 years agoconfigure.in, configure: Enable the fsck wrapper for the Debian
Theodore Ts'o [Tue, 4 May 2004 23:39:54 +0000 (19:39 -0400)]
configure.in, configure: Enable the fsck wrapper for the Debian
FreeBSD kernel / GNU userspace port.  (Addresses Debian
Bug #246738)

21 years agoFix typo in de.po file from previous fix
Theodore Ts'o [Tue, 4 May 2004 23:07:18 +0000 (19:07 -0400)]
Fix typo in de.po file from previous fix

21 years agoconfig.guess, config.sub: Update to newer version from the FSF
Theodore Ts'o [Tue, 4 May 2004 22:42:53 +0000 (18:42 -0400)]
config.guess, config.sub: Update to newer version from the FSF
(2004-01-05)

21 years agoSince woody's sysvinit package is before the initscripts were
Theodore Ts'o [Tue, 4 May 2004 20:29:49 +0000 (16:29 -0400)]
Since woody's sysvinit package is before the initscripts were
broken out we need an explict Conflict: sysvinit (<< 2.85-4)
header. (Closes: #243829)

21 years agoMinor updates to German translation (Addresses Debian Bug #244105)
Theodore Ts'o [Tue, 4 May 2004 20:19:13 +0000 (16:19 -0400)]
Minor updates to German translation (Addresses Debian Bug #244105)

21 years agoFix numberous problems in Debian's initrd scripts:
Theodore Ts'o [Tue, 4 May 2004 13:15:34 +0000 (09:15 -0400)]
Fix numberous problems in Debian's initrd scripts:

* In the mkinitrd script, make sure the directories exist before
  trying to copy in the needed shared libraries.  (Closes: #244058, #246480)

* In the mkinitrd script, use LD_ASSUME_KERNEL=2.4 if necessary.
  (Closes: #245931)

* In the mkinitrd script copy in /usr/bin/awk instead of /usr/bin/mawk.
  (Closes: #245670)

* In the initrd script, fail quietly if /mnt/etc/fstab does not exist.
  (Closes: #246917)

21 years agoFix typo in the Debian copyright file, to consistently and correctly
Theodore Ts'o [Mon, 26 Apr 2004 22:25:39 +0000 (18:25 -0400)]
Fix typo in the Debian copyright file, to consistently and correctly
indicate that the blkid library is distributed under the LGPL.

21 years agoprobe.c (blkid_verify_devname): If the time is earlier than the
Theodore Ts'o [Tue, 20 Apr 2004 01:42:18 +0000 (21:42 -0400)]
probe.c (blkid_verify_devname): If the time is earlier than the
last modified time of the device, then force a reverify;
it means the system time may not be trustworthy.

21 years agoFix obvious spelling mistake in mke2fs man page.
Theodore Ts'o [Tue, 13 Apr 2004 00:36:35 +0000 (20:36 -0400)]
Fix obvious spelling mistake in mke2fs man page.

21 years agoAdd missing #include <time.h>, fixing a compiler warning.
Matthias Andree [Mon, 12 Apr 2004 18:16:04 +0000 (20:16 +0200)]
Add missing #include <time.h>, fixing a compiler warning.

21 years agoClarified that the lib/uuid directory is under a BSD-style and
Theodore Ts'o [Mon, 12 Apr 2004 17:19:21 +0000 (13:19 -0400)]
Clarified that the lib/uuid directory is under a BSD-style and
referred the reader to lib/uuid/COPYING, a new file.

21 years agodebian/changelog
Theodore Ts'o [Mon, 12 Apr 2004 17:10:47 +0000 (13:10 -0400)]
debian/changelog
    Update changelog for 1.35-5 release

debian/control
    Update standards version compliance to 3.6.1