summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-05-28Clarify -T option of mke2fs in its man pageTheodore Ts'o2-4/+9
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-24Update tests to reflect updated mke2fs.conf fileTheodore Ts'o10-354/+448
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-22Create new filesystems with hash trees and on-line resizing as the default.Theodore Ts'o2-1/+4
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-22Fix spelling mistakes in e2fsck, mke2fs.conf, and resize2fs man pagesTheodore Ts'o6-7/+22
Addresses Debian Bugs: #368392, #368393, #368394 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-21Fix typo that caused the Debian changelog to not be valid parseable EnglishTheodore Ts'o1-2/+2
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-21Clarify resize2fs man page and add reference to LVMTheodore Ts'o2-4/+15
Addresses Debian Bug: #368179 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-21Fix type warning problem with sizeof() in ext2fs_open2()Theodore Ts'o2-1/+5
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-21Fix type warning problem with time_t in debugfsTheodore Ts'o2-1/+6
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-14Fix comerr-dev's pointer doc-base pointer to the top-level html fileTheodore Ts'o2-2/+3
2006-05-14Minor edits to tune2fs(8) man pageTheodore Ts'o2-3/+11
Clarify how the -c and -C options work Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-14Update release notes for a Debian WIP release.Theodore Ts'o2-9/+65
2006-05-14Remove needless sanity check in tune2fs's -i option.Theodore Ts'o2-1/+8
We were complaining with a confusing error message if the user tried to specify a check interval larger than a 365 days. It's probably a bad idea if the user wants to do this, but it's not worth it to complain. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-14Fixed signed vs. unsigned comparison warning in strncmp().Theodore Ts'o2-2/+7
It's better to use memcmp() anyway given the code in question. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-14Fix memory leak in e2fsck's error pathsTheodore Ts'o3-1/+11
Add missing brelse() calls to avoid memory leaks in error paths. (Thanks to Michael C. Thompson for pointing these out; they were originally found using Coverity.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-14Add RAID stride support to resize2fsTheodore Ts'o3-5/+83
Resize2fs will now automatically determine the RAID stride parameter that had been used to create the filesystem, and use that for newly created block groups. The RAID stride parameter may also be manually specified on the command line using the new -S option to resize2fs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-13Update TODO to remove item which is already completed.Theodore Ts'o1-16/+9
2006-05-13Fix read/write badblocks testing in mke2fs and e2fsckTheodore Ts'o5-5/+26
The exlcusive device safety check that was added inadvertently broke e2fsck -cc and mke2fs -cc since e2fsck and mke2fs hold the device in exclusive access when badblocks is run. So we add a private option to badblocks, -X, which is passed by e2fsck and mke2fs to badblocks to indicate that it is OK to skip the EXT2_MF_BUSY checks. Addresses Debian Bug: #366017 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-13Fix problem with creating initrd's for 2.4 systems on DebianTheodore Ts'o1-2/+6
Recent glibc's no longer accept LD_ASSUME_KERNEL=2.4; this must be LD_ASSUME_KERNEL=2.4.1. Also, only set LD_ASSUME_KERNEL if we are not using a 2.4 kernel (and are presumably using something newer) Addresses Debian Bug: #364516 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-13Change mke2fs's layout of RAID-optimized filesystems to be more optimalTheodore Ts'o4-44/+61
When allocating space for the RAID filesystems with the stride parameter, place each portion of the group's inode table right up after the superblock (if present) in order to minimize fragmentation of the freespace. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-08Add support for EXT2_FEATURE_COMPAT_LAZY_BGTheodore Ts'o15-25/+266
This feature is initially intended for testing purposes; it allows an ext2/ext3 developer to create very large filesystems using sparse files where most of the block groups are not initialized and so do not require much disk space. Eventually it could be used as a way of speeding up mke2fs and e2fsck for large filesystem, but that would be best done by adding an RO_COMPAT extension to the filesystem to allow the inode table to be lazily initialized on a per-block basis, instead of being entirely initialized or entirely unused on a per-blockgroup basis. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-27Add handling for invalid option characters in debugfs subcommandsTheodore Ts'o3-0/+16
Fix the debugfs commands htree_dump, dx_hash, and list_dir so they print a print a usage message when an illegal option character is given. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-23Speed up mke2fs and e2fsck by writing bitmaps more efficientlyTheodore Ts'o2-78/+85
Reduce disk seeks by writing the inode and block bitmaps in an interleaved fashion. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-22Fix filefrag to be 32-bit cleanTheodore Ts'o2-3/+9
Currently filefrag uses signed int for block numbers, thus it reporting corrupted block number for a file on a more than 8TB ext3. The following trivial patch replace the signed int type block number with "unsigned long type. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-22Fix bug which could cause dumpe2fs to rarely fail to print a UUIDTheodore Ts'o2-1/+8
uuid.c (e2p_is_null_uuid): Fix really stupid bug which could cause dumpe2fs to fail to display a the journal or hash seed UUID. (Thanks to Guillaume Chambraud for pointing this out.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-22Added tag E2FSPROGS-1.39-WIP-0409 for changeset ↵Theodore Ts'o1-0/+1
a89eec026fc32ca7da786fbe3f76d892b6badb23
2006-04-22Update for e2fsprogs-1.39-WIP-0409 releaseTheodore Ts'o3-3/+20
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-09Update config.guess and config.sub to latest version (2006-02-23) from FSFTheodore Ts'o3-339/+439
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-09Update French, Dutch, Polish, Swedish, and Turkish translations.Theodore Ts'o11-1245/+968
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-09Fix asm_types.h type conflictsTheodore Ts'o13-59/+472
This caused FTBFS bugs on AMD64 platforms, since it uses a different 64-bit type when compared with IA64, so we need to make our autoconfiguration system more intelligent. Addresses Debian Bugs: #360661, #360317 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-04Fix ext2fs_add_journal_inode() when filesystem is opened in exclusive modeTheodore Ts'o2-1/+10
If the filesystem is opened in exclusive mode, then device will be busy by definition, so don't return -EBUSY. This caused mke2fs -j to fail on the 1.39-WIP (29-Mar-2006) release. (Addresses Debian Bug: #360652) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-02Fix Debian FTBFS bug due to missing build-dependency on libdevmapper-devTheodore Ts'o2-1/+7
Addresses Debian Bug: #360046 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-30Added tag E2FSPROGS-1.39-WIP-0330 for changeset ↵Theodore Ts'o1-0/+1
cc5d09c487b27487925fb34d8ccd50a19e801ec4
2006-03-30Debian build: remove conffile from e2fsprogs-udeb, and remove explicit conffileTheodore Ts'o2-1/+1
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29Update release notes and version.h for 1.39-WIP-2006-03-29 releaseTheodore Ts'o3-50/+102
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29Update French translation and update PO template file.Theodore Ts'o22-5463/+6062
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29Add udeb: lines to the Debian's shlibs filesTheodore Ts'o1-0/+3
Package: e2fsprogs Version: 1.38+1.39-WIP-2005.12.31-1 Severity: wishlist Tags: patch, d-i Let's call this an important wishlist bug (important for Debian Installer anyway :-) Please add the following line to the shlibs files for libblkid and libuuid respectively: udeb: libblkid 1 libblkid1-udeb udeb: libuuid 1 libuuid1-udeb This will allow dpkg/debhelper to properly set the dependencies for udebs that depend on the e2fsprogs libs. Please see #345472 and #345475 for further info on this. This will also mean that, eventually, we will be able to drop the "Provides: ..." for the library udebs, but we cannot do that until other udebs that currently depend on them have been rebuilt. I'll file a separate bug when that change can be made. Addresses Debian Bug: #356293 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29Fix the x86 asm constraints for ext2fs_set/clear_bit.Theodore Ts'o2-2/+8
The assembly function reads/writes the data files, so make sure we tell gcc that. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29Enhance dumpe2fs to print the size of journalTheodore Ts'o2-0/+29
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Fix typo's in badblocks(8)'s man page.Theodore Ts'o2-2/+7
Addresses Debian Bug: #357951 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Add badblocks(8) to SEE ALSO section of e2fsck's man page.Theodore Ts'o2-3/+7
Addresses Debian Bug: #347295 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Explain in mke2fs and tune2fs man pages that shared journals are not supportedTheodore Ts'o3-0/+16
Addresses Debian Bug: #316040 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Update the debian build files to deal with /etc/mke2fs.confTheodore Ts'o2-0/+2
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Fix minor installation problems in the misc's MakefileTheodore Ts'o2-3/+17
Make sure $(DESTDIR)/usr/share/man/man5 exists when installing the man page. Make sure the compressed version of the man pages are deleted when installing the man pages. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Fix misc. problems in the mke2fs.conf(5) man page.Theodore Ts'o1-24/+34
Use "stanza" to refer to top-level stanzas, and fix a few typos. Also indent the sample profile format so it looks nicer. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27Add man page documenting the /etc/e2fsck.conf configuration file.Theodore Ts'o3-2/+186
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-25Fix the i386 bitmap operations so they are 32-bit cleanTheodore Ts'o4-17/+190
The x86 assembly instructures for bit test-and-set, test-and-clear, etc., interpret the bit number as a 32-bit signed number, which is problematic in order to support filesystems > 8TB. Added new inline functions (in C) to implement a ext2fs_fast_set/clear_bit() that does not return the old value of the bit, and use it for the fast block/bitmap functions. Added a regression test suite to test the low-level bit operations functions to make sure they work correctly. Note that a bitmap can address 2**32 blocks requires 2**29 bytes, or 512 megabytes. E2fsck requires 3 (and possibly 4 block bitmaps), which means that the block bitmaps can require 2GB all by themselves, and this doesn't include the 4 or 5 inode bitmaps (which assuming an 8k inode ratio, will take 256 megabytes each). This means that it's more likely that a filesystem check of a filesystem greater than 2**31 blocks will fail if the e2fsck is dynamically linked (since the shared libraries can consume a substantial portion of the 3GB address space available to x86 userspace applications). Even if e2fsck is statically linked, for a badly damaged filesystem, which may require additional block and/or inode bitmaps, I am not sure e2fsck will succeed in all cases. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-25Fix typo bug in previous commit (6ae1ed49c8c6)Theodore Ts'o1-2/+2
"fd" should have been "probe.fd" so blkid/probe.c can compile without errors. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23mklost+found: Create full-sized a lost+found directory with 4k+ blocksizesTheodore Ts'o2-3/+7
Fixed a bug caused by using an insufficiently larger counter field so that mklost+found would work properly on filesystems with larger block sizes. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23Fix file descriptor leak in blkid library in error pathsTheodore Ts'o2-0/+6
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23Change mke2fs to use /etc/mke2fs.conf as a configuration fileTheodore Ts'o13-182/+460
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>