summaryrefslogtreecommitdiff
path: root/tests/f_h_badroot
AgeCommit message (Collapse)AuthorFilesLines
2009-10-04e2fsck: Interpret negative blkcount in file system problem reportsTheodore Ts'o1-5/+5
Non-expert users get confused when they see messages like this: Illegal block #-1 (2291965952) in inode 176. CLEARED. So change it to be something a little bit more understandable: Illegal indirect block (2291965952) in inode 176. CLEARED. Addresses-SourceForge-Bug: #2871782 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-12-25e2fsck: When repacking directories, leave slack space for more efficiencyTheodore Ts'o2-2/+2
If the directory is packed with no slack space, as soon as any new directory entries are added, leaf nodes end up getting split and directory ends up getting very inefficient. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-13e2fsck: Use "Clear Htree" instead of "Clear" when the Htree is corruptTheodore Ts'o1-1/+1
Change the prompt so it is clear to the user that e2fsck will be clearing the htree information, not the directory inode itself, when the htree information has proven to be corrupt. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-11Add directory hashed signed/unsigned hint to superblockTheodore Ts'o1-0/+0
The e2fsprogs and kernel implementation of directory hash tree has a bug which causes the implementation to be dependent on whether characters are signed or unsigned. Platforms such as the PowerPC, Arm, and S/390 have signed characters by default, which means that hash directories on those systems are incompatible with hash directories on other systems, such as the x86. To fix this we add a new flags field to the superblock, and define two new bits in that field to indicate whether or not the directory should be signed or unsigned. If the bits are not set, e2fsck and fixed kernels will set them to the signed/unsigned value of the currently running platform, and then respect those bits when calculating the directory hash. This allows compatibility with current filesystems, as well as allowing cross-architectural compatibility. Addresses Debian Bug: #389772 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-06-19Clean up e2fsck problem description messages for typo's and to make themTheodore Ts'o1-2/+2
easier to understand (sorry, translators). Add new @m (multiply-claimed) and @n (invalid) expansions for e2fsck problem descriptions. Add Dutch translation, and update French translation. Add an explanation of how the @-expansion and %-exapansion works in e2fsck/problem.c to make life easier for the translators. Synchronize and update po files.
2005-02-05Remove support for --enable-clear-htree; this wasTheodore Ts'o1-1/+1
only needed during the early development of the htree patch.
2003-08-21Add support for backing up the journal inode location in the Theodore Ts'o1-0/+2
superblock. E2fsck will automatically save the journal information in the superblock if it is not there already, and will use it if the journal inode appears to be corrupted. ext2fs_add_journal_inode() will also save the backup information, so that new filesystems created by mke2fs and filesystems that have journals added via tune2fs will also have journal location written to the superblock as well. Debugfs's logdump command has been enhanced so that it can use the journal information in the superblock. The debugfs man page has been improved to more fully describe the logdump command. Added two new functions, ext2fs_file_open2() and ext2fs_inode_io_intern2() which take a pointer to an inode structure; this is needed so that e2fsck and debugfs can synthesize a fake journal inode and use it to access the journal.
2003-03-25f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script toTheodore Ts'o1-1/+0
remove the optimizing directories message.
2002-09-30Avoid counting directory entries during a directory salvage.Theodore Ts'o3-8/+12
Add additional checks to HTREE directories. We now check the count and limit fields in the htree header, as well as assuring that the hash table in each interior node is in ascending order. We also check to make sure all leaf nodes are have the expected depth in the tree. Updated test cases to deal with all of the above.
2002-07-25Add e2fsck -D option which optimizes/compresses directories. Theodore Ts'o1-2/+2
General cleanup of rehash code. (Fixed a few bugs, reformatted code to make it more maintainable, etc.)
2002-07-20Add support to e2fsck to reindex directories to use hash trees.Theodore Ts'o2-2/+4
2002-06-26Add support for the half-MD4 HTREE hash.Theodore Ts'o5-0/+47
Add HTREE root node tests.