Commit Graph

1575 Commits (a06bd026c7f366c080db0a38ffbf1fe38abb0999)

Author SHA1 Message Date
Theodore Ts'o ac0de52b4b Add f_selinux test case. 2004-01-30 01:59:42 -05:00
Theodore Ts'o 1ba7a2f2b6 Fix a byte swap bugs, including one which caused e2fsck to
incorrectly treat as valid symlinks created with SE Linux 
(Debian bug #228723) as well as failing the f_journal test case on 
big endian systems due to the backup journal blocks not being swapped.
2004-01-30 01:48:06 -05:00
Theodore Ts'o 78344465d4 Add provides of libuuid1. Addresses Debian Bug #229633. 2004-01-27 15:55:21 -05:00
Theodore Ts'o 2b5ddd75c9 For debugfs, use the "more" pager in preference to "less",
since "less" doesn't work terribly well for debugfs's purpose.

Document the DEBUGFS_PAGER and PAGER environment variables.
2004-01-24 18:54:41 -05:00
Theodore Ts'o 2293a4d5de chattr.c (main): Add support for '--' to stop options
processing.  (Addresses Debian bug #225188).
2004-01-20 13:39:01 -05:00
Matthias Andree b34cbddbd6 Re-add FreeBSD support.
Tested on FreeBSD 5.2-CURRENT as of 2003-12-28.
Tested on FreeBSD 4.9-STABLE  as of 2003-12-27.
2003-12-28 18:21:26 +01:00
Matthias Andree b969b1b8a5 Fix more compiler warnings. 2003-12-28 13:04:35 +01:00
Theodore Ts'o 151a71620d Update release notes as of December 26, 2003. 2003-12-26 14:04:33 -05:00
Theodore Ts'o 55566e2b39 Update e2fsprogs POT file. 2003-12-26 14:03:39 -05:00
Theodore Ts'o cf119027c5 chattr.1.in: Update text indicating the 'c', 's', and 'u'
attributes are not currently supported to remove any
	mention of a specific kernel version.  (Addresses Debian
	bug #214920)
2003-12-26 14:03:20 -05:00
Theodore Ts'o 64c90eec83 fsck.8.in: Update text describing "standard" options supported
by filesystem-specific checkers.  (Addresses Debian bug
	#222606)
2003-12-26 13:56:14 -05:00
Theodore Ts'o 477b235327 Add filefrag program to the list of programs installed in /usr/sbin. 2003-12-25 14:31:08 -05:00
Theodore Ts'o 2b696a9856 Try to use the DEBUGFS_PAGER environment
variable first, and then fall back to the PAGER
	environment variable.  Finally, search for an appropriate
	pager executable.
2003-12-25 14:28:55 -05:00
Theodore Ts'o 94ed67eb47 Update changelog for debian release. 2003-12-25 02:08:07 -05:00
Theodore Ts'o 7a1b332ac9 Add Spanish translation and update PO files. 2003-12-24 14:24:02 -05:00
Matthias Andree aa3a2fe49a Trivial warning fixes. 2003-12-21 00:52:48 +01:00
Theodore Ts'o 9642413014 Initial checkin of the filefrag program, which reports on how
badly fragmented a file might be.
2003-12-17 10:13:41 -05:00
Theodore Ts'o 2e5fcce05e Fix bug in e2fsck: When reconnecting a directory, we may
need to create a lost+found directory.  This may
invalidate our pointer to the directory information, so we
must look it up again after calling
e2fsck_reconnect_file().  (Addresses Debian bug #219640).
2003-12-12 03:00:56 -05:00
Theodore Ts'o 2d9f0804bf debugfs.c (do_write, do_mkdir): If the directory is full,
automatically call ext2fs_expand_dir() and then retry to
	add the link to the directory as a convenience to the
	user.  (Addresses Debian Bug: #217892)
	(do_mknod): Clean up expand_dir error handling.
2003-12-11 11:54:48 -05:00
Theodore Ts'o c65e54b00f tune2fs.8.in: Fix some whitespace errors in the command synopsis. 2003-12-11 11:31:48 -05:00
Theodore Ts'o 09e7220f62 com_err.3: Fix C syntax error pointed out by ESR. 2003-12-11 11:24:44 -05:00
Theodore Ts'o 6c7d61da00 e2fsck.h (E2F_FLAG_RESTARTED): Assign a unique flag bitfield to
E2F_FLAG_RESTARTED.  This fixes a bug where if the user
	specifies an alternate superblock, and the journal needs
	to be replayed, e2fsck would erroneously assume that
	journal had been run already without clearing the
	NEEDS_RECOVERY flag, and bomb out with an error.
2003-12-11 01:00:21 -05:00
Theodore Ts'o 04df49191e debugfs.c (do_write): Mask off the file type bits, and OR in the
regular file information.  (Addresses Debian Bug: #217456)
2003-12-07 16:31:45 -05:00
Theodore Ts'o 7df91c44cc cs.po: Fix mangled encoding in Czech locale file. (Addresses
Debian bug #214633)
2003-12-07 14:21:21 -05:00
Theodore Ts'o ec7fdb8f76 util.c (open_pager): Search for the pager to use, starting with
'pager', and then falling back to 'less' and then 'more'.
	(Addresses Debian Bug: #221977)
2003-12-07 13:16:25 -05:00
Theodore Ts'o 817cc0358c Fix test for /etc/mkinitrd/scripts/e2fsprogs to make sure it gets
removed.  (Addresses Debian Bug #213275)
2003-12-07 12:45:49 -05:00
Theodore Ts'o 0003f99d41 ADD TAG: E2FSPROGS-1_35-WIP-1207 2003-12-07 12:17:27 -05:00
Theodore Ts'o 2f853099bc Remove warning message about using NLS. 2003-12-07 12:17:27 -05:00
Theodore Ts'o 1e6e4c5e5c mke2fs.c (PRS): Fix mke2fs -V so that it prints the version banner. 2003-12-07 02:28:24 -05:00
Theodore Ts'o c4c30b20f9 Update for WIP release December 7, 2003. 2003-12-07 02:16:43 -05:00
Theodore Ts'o e254d05b95 Add libuuid1-udeb (Closes: #221777) 2003-12-07 01:57:04 -05:00
Theodore Ts'o 544349270e Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
Theodore Ts'o 3de085dd41 recovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel
version.
2003-12-07 01:00:02 -05:00
Theodore Ts'o 3ddf2f662e When testing a disk using e2fsck -c, use the list
of new bad blocks to replace the current list of bad
blocks.  This way "e2fsck -c" can be used to recover from
a corrupted bad block inode.
2003-12-02 07:56:42 -05:00
Theodore Ts'o 068cab5bd1 et_c.awk: Add declaration of the Heimdal initialization routine
to avoid gcc -Wall complaints

(Incomplete checkin --- see previous changeset as well)
2003-11-28 09:38:13 -05:00
Theodore Ts'o 52501d440d et_c.awk: Add declaration of the Heimdal initialization routine
to avoid gcc -Wall complaints

Rename test cases to spell Heimdal correctly (only one 'l').
2003-11-28 09:36:37 -05:00
Theodore Ts'o 2540bb79b7 com_err.h, com_err.c: Use GCC attributes to mark com_err and
default_com_err_proc as taking printf-style format
	strings.
2003-11-26 23:19:28 -05:00
Theodore Ts'o 032a763f97 MCONFIG.in: Make the gcc-wall print more warnings to catch
signed vs. unsigned problems.
2003-11-26 23:18:56 -05:00
Theodore Ts'o 8ce230959c com_err.h: Retore the type of n_msgs in the error_table
structure to "int" from "unsigned int" fix a core dumping 
	bug in the com_right() function.  (Addresses Debian bug 
	#213450)
2003-11-22 13:54:38 -05:00
Theodore Ts'o f419fdf536 pl.po: Added new Polish translation.
sv.po: Updated Sweedish translation.
2003-11-21 12:56:32 -05:00
Theodore Ts'o 196a8a618a de.po: Fixed and updated German translations from Marc Langer.
(Addresses Debian bug #200086)
2003-11-21 12:46:04 -05:00
Theodore Ts'o 015b03df7d In e2fsck, given an extra grace period before actually forcing
a filesystem check if a laptop system reports it is running on
battery.  This way the laptop will be biased to waiting until
it is on AC power before doing a filesystem check.  (Addresses
Debian bug #205177)
2003-11-21 11:02:22 -05:00
Theodore Ts'o 6de289cb10 In e2fsck, if the number of mounts until the next forced filesystem
check is 5 or less, mention this to the user.  (Addresses 
Debian bug #157194)
2003-11-21 10:54:54 -05:00
Theodore Ts'o 000ba4046f pass1.c (e2fsck_pass1), problem.h (PR_1_BB_FS_BLOCK),
problem.c (PR_1_BB_FS_BLOCK, PR_1_BBINODE_BAD_METABLOCK_PROMPT): 
	Fix up the handling of corrupted indirect blocks in the 
	bad block.  We now correctly handle the case where there
	is an overlap between a block group descriptor or
	a superblock and a bad block indirect block.  In the case
	where the indirect block is corrupted, we now suggest
	"e2fsck -c".
2003-11-21 10:41:58 -05:00
Theodore Ts'o 817e49e3ce Check the returned name from blkid_get_devname in tune2fs and
e2fsck, and print an error if the requested LABEL/UUID does 
not exist (previously, we core dumped!)
2003-11-21 09:10:29 -05:00
Theodore Ts'o ef344e13d2 Centeralize calculation of which blocks are reserved/used for
the superblock and block group descriptors into two functions:
ext2fs_reserve_super_and_bgd, found in lib/ext2fs/alloc_sb.c, and
ext2fs_super_and_bgd_lock, found in lib/ext2fs/close.c.

Change e2fsck/pass1.c (mark_table_blocks), lib/ext2fs/closefs.c
(ext2fs_flush), lib/ext2fs/initialize.c (ext2fs_initialize),
and misc/dumpe2fs.c (list_desc) to use these functions.

e2fsck/ChangeLog
    pass1.c (mark_table_blocks): Use the new function
    	ext2fs_reserve_super_and_bgd to calculate the blocks to be
    	reserved.

lib/ext2fs/ChangeLog
    closefs.c (ext2fs_super_and_bgd_loc): New function which
    	centralizes the calculation of the superblock and block
    	group descriptors.
    	(ext2fs_flush): Use ext2fs_super_and_bgd_lock to figure
    	out where to write the superblock and block group
    	descriptors.
    
    alloc_sb.c (ext2fs_reserve_super_and_bgd): New function which
    	reserves space in the block bitmap using
    	ext2fs_super_and_bgd_loc.
    
    initialize.c (ext2fs_initialize): Use
    	ext2fs_reserve_super_and_bgd to initialize the block bitmap.

misc/ChangeLog
    dumpe2fs.c (list_desc): Use ext2fs_super_and_bgd_loc to
    	determine the locations of the superblock and block group
     	descriptors.
2003-11-21 09:02:21 -05:00
Theodore Ts'o d07b150371 util.c (check_plausibility): Support 2.6 kernel header files,
instead of having the build to crash.  (Addresses Debian
	bug #221778)
2003-11-20 18:34:20 -05:00
Theodore Ts'o 89e9fc4d3c m_meta_bg: New test case to test the meta block group feature.
m_raid_opt: New test case to test raid striping

m_large_file: Fix description

run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to
	the test output for comparison.  Add support for
	compressed expect scripts.
2003-09-03 09:51:52 -04:00
Theodore Ts'o 1cca86f5d8 Add regression tests for mke2fs.
Mke2fs has been modified to honor the MKE2FS_SKIP_PROGRESS, 
MKE2FS_DEVICE_SECTSIZE, and MKE2FS_SKIP_CHECK_MSG in order 
facilitate the regression testing.
2003-09-01 09:28:18 -04:00
Theodore Ts'o 2a3a52367e Update debian changelog
Force e2fsprogs to use the most current version of e2fslibs.  (Closes 
Debian bug #208103.
2003-08-31 23:07:16 -04:00