summaryrefslogtreecommitdiff
path: root/e2fsck
AgeCommit message (Collapse)AuthorFilesLines
2002-05-17Fix up Andreas's 8k blocksize changes to fix a number of bugs, Theodore Ts'o3-6/+31
and to make the page size determined at run-time instead of compile time.
2002-05-16Add support for creating and checking 8192-byte blocksize filesystems.Andreas Dilger4-27/+18
We complain if you try to create such a filesystem on a system with 4096 byte PAGE_SIZE. Add checks for valid inode size for undocumented -I option.
2002-03-08Update for 1.27 release.Theodore Ts'o1-0/+4
2002-03-07Fix various gcc -Wall complaints.Theodore Ts'o4-5/+11
2002-03-07Fixed the journal handling so that an offer is made to clear theTheodore Ts'o3-3/+14
journal filesystem in all cases. Fixed a bug in e2fsck which caused it to give spurious I/O manager bad messages right before crashes.
2002-03-07E2fsck now prints ranges in pass 5 when printing deltas inTheodore Ts'o4-14/+122
the block and inode bitmaps.
2002-03-05Newer libintl needs LC_CTYPE to be set in addition to LC_MESSAGES.Theodore Ts'o2-0/+6
2002-02-26Update Changelog messages to use tytso@mit.edu for all addresses Theodore Ts'o1-2/+2
after September 7, 2001. (Forgot to update my emacs file to get rid of the tytso@valinux.com address. Oops.)
2002-02-24Fix typo in previous changeset; the man pages for fsck.ext2 andTheodore Ts'o1-2/+2
fsck.ext3 should be linked to the one for e2fsck, not fsck.
2002-02-24Update makefiles to install mkfs.ext3, and to install man pages forTheodore Ts'o2-0/+11
mkfs.ext2/3 and fsck.ext2/3. Also remove any compressed man pages before installing the man pages.
2002-02-22Cleaned up journal handling code in e2fsck.Theodore Ts'o3-147/+165
Fixed up two minor memory leaks.
2002-02-03Update files for 1.26 release.Theodore Ts'o1-9/+13
2001-12-24Miscellaneous cleanup before 1.26-WIP release. Removed unusedTheodore Ts'o1-0/+19
.cvsignore in include/asm directory so it can disappear. Updated makefile dependencies, and stop including <topsrc>/include in the -I search path, since it's no longer needed.
2001-12-24In mke2fs and e2fsck, specifying the -c option twice will now doTheodore Ts'o5-4/+38
a read/write test on the disk. Update the man pages to encourage using the -c option, and to discouraging running badblocks separately, since users tend to forget to set the blocksize when running badblocks.
2001-12-23Initialize buf to NULL to avoid crashing when called by fix_problem()Theodore Ts'o1-1/+1
2001-12-23Enhnaced the get backup superblock function so that it doesTheodore Ts'o5-11/+88
the right thing if the filesystem superblock is unavailable; it will search for the superblock by iterating over possible blocksizes.
2001-12-23Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the Theodore Ts'o3-23/+9
system header file version of hbd.h when using diet glibc (since it forcibly adds /usr/include to the beginning of include search path.)
2001-12-21Use ctx->filesystem_name if the ctx->device_name is NULL in e2fsck.Theodore Ts'o2-1/+5
2001-12-21Give the opportunity for e2fsck to run the journal even if Theodore Ts'o6-16/+65
recovery flag is cleared. If we're using a backup superblock, run the journal by default.
2001-12-16Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogusTheodore Ts'o5-5/+7
error message could be printed on an malloc() failure, and e2image was optimized to avoid needless system calls by using the stashed inode functions.
2001-12-16Fix e2fsck's handling of external journals,and update journal Theodore Ts'o7-302/+378
recovery files from 2.4.17-pre8.
2001-12-02Fixes necessary for e2fsprogs to work using the diet libc.Theodore Ts'o1-4/+7
- Renamed linux/list.h to be linux/linked_list.h to work around a problem caused by diet libc insistence to search the kernel header files ahead of all other files in the include path, including the user specified include files. - Worked around a bug in diet libc which core dumps when using putc with stderr by using fputs instead. As a bonus, this also shaved a few bytes off of com_err.o. - Fixed a real bug in debugfs which was detected because diet libc was more sensitive than glibc when incorrectly using fclose() where pclose() is required.
2001-11-30journal.c: fix an endianness bug.Gabriel Paubert2-1/+6
f_badorphan: revert previous, erroneous change.
2001-11-26super.c (check_super_block): Make sure that if the inode tableTheodore Ts'o2-12/+22
or allocation bitmap is zero, that it is marked as invalid, so that in pass #1, a new bitmap/inode table gets properly allocated. (Addresses Debian Bug #116975)
2001-11-242fsck.8.in: Fix minor typo in man page and clarify device Theodore Ts'o2-3/+7
specification.
2001-11-08Allow a single user for internal journals (the current filesystem)Andreas Dilger1-1/+1
since this is how the filesystem is created.
2001-10-07journal.c (clear_v2_journal_fields, e2fsck_journal_load): If theTheodore Ts'o4-0/+45
V2 fields are set on a V1 journal superblock, or an internal V2 journal has s_nr_users is non-zero, clear the entire journal superblock beyond the V1 superblock. This fixes botched V1->V2 updates. problem.c, problem.h (PR_0_CLEAR_V2_JOURNAL): Add new problem code. f_bad_local_jnl: New test which tests for a V2 journal with bad fields caused by a botched V1->V2 upgrade.
2001-10-06e2fsck.h, journal.c (e2fsck_move_ext3_journal): Add new functionTheodore Ts'o6-1/+134
which will automatically relocate the ext3 journal from a visible file to an invisible journal file if the filesystem has been opened read/write. super.c (check_super_block): Add call to e2fsck_move_ext3_journal problem.c, problem.h (PR_0_MOVE_JOURNAL, PR_0_ERR_MOVE_JOURNAL): Add new problem codes.
2001-09-20Update changelogs for 1.25 release.Theodore Ts'o1-0/+4
2001-09-19e2fsck: If a superblock is specified explicitly by theTheodore Ts'o3-1/+11
user, don't try to automatically fall back to an alternate superblock.
2001-09-04Update for 1.24a releaseTheodore Ts'o1-0/+4
2001-08-31Update for 1.24 release.Theodore Ts'o1-0/+4
2001-08-30mke2fs.c (main): Zap the second sector of the disk, along withAndreas Dilger1-1/+1
any sectors in the same filesystem block after the superblock. The latter will remove (for example) swapspace signatures on 4kB+ blocksize filesystems. Also when zeroing the "end" of the filesystem don't actually zero the start of a very small device (less than 128kB).
2001-08-30pass1.c (e2fsck_pass1): For EXT2_RESIZE_INO, allow its i_mode toTheodore Ts'o2-0/+10
either be zero or a regular file (for compatibility with Andreas's on-line resizing programs).
2001-08-27Remove EXT2FS_VERSION from the version display, since it Theodore Ts'o2-3/+5
only confuses people. Make fsck's version display be consistent with the other e2fsprogs programs.
2001-08-27Add missing log entry showing when we released e2fsprogs 1.23Theodore Ts'o1-0/+4
2001-08-27Deal with libc5's lack of strnlen.Theodore Ts'o2-1/+20
Stop checking for strdup in the configure script since we don't care about that symbol.
2001-08-13super.c (release_orphan_inodes): If the filesystem containsTheodore Ts'o2-0/+12
errors, don't run the orphan * list, since the orphan list can't be trusted.
2001-08-13e2fsck/pass1.c (e2fsck_pass1_check_device_inode): If i_blocks isTheodore Ts'o2-0/+8
non-zero, then assume that the device/socket/fifo inode is bogus.
2001-08-13pass1.c (check_size): Fix logic in check_size; the previous codeTheodore Ts'o2-6/+8
only offered to clear the inode size fields if both size and i_size_high were zero.
2001-08-09pass1.c, pass2.c, problem.c, problem.h: Fix bug introduced byTheodore Ts'o5-39/+55
Andreas's symlink code; check_blocks() was unconditionally testing inode_bad_map without checking to see if it existed first. Fixed problem a different way; we now no longer check inode_bad_map at all, since the file might not get deleted in pass 2 anyway. We move the large file feature reconciliation code to to e2fsck_pass2(), and in deallocate_inode() in pass2.c, we decrement the large files counter if we're about to delete a large file.
2001-08-09unix.c (show_stats): Print the number of large files in verbose mode.Theodore Ts'o2-0/+8
2001-08-08Add dependencies to iscan.Theodore Ts'o1-1/+1
2001-08-08Add missing errcode_t variable so that iscan compiles.Theodore Ts'o1-0/+1
2001-08-07* journal.c (recover_ext3_journal): If s_errno is set in theTheodore Ts'o2-0/+16
journal superblock, set the EXT2_ERROR_FS flag in the filesystem superblock after the journal is run.
2001-08-04Add ChangeLog entry for changes made by AndreasTheodore Ts'o1-0/+9
2001-08-04Change comments for %D and %d expansion in e2fsck problem codes. ItAndreas Dilger2-8/+8
was not consistent which was for dirent expansion, and which was for directory number expansion.
2001-08-04Cleanup changes to Andreas' symlink patch. Remove use of EXT2_LINK_DIRTheodore Ts'o4-22/+30
Also cleaned up the symlink handling code to make it a bit more compact and to test for a bad symlink block earlier.
2001-08-04Add extra checks for bad symlinks, including zero length symlinks,Andreas Dilger4-7/+50
too long i_size for slow and fast symlinks, i_size_high set, multiple blocks for slow symlinks.
2001-07-30unix.c (check_mount): Remove the code in e2fsck which tested for theTheodore Ts'o2-14/+13
root filesystem being mounted read-only, and depend on the results flags from ext2fs_check_if_mounted.