Age | Commit message (Collapse) | Author | Files | Lines |
|
and to make the page size determined at run-time instead of
compile time.
|
|
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.
|
|
|
|
|
|
journal filesystem in all cases.
Fixed a bug in e2fsck which caused it to give spurious I/O manager
bad messages right before crashes.
|
|
the block and inode bitmaps.
|
|
|
|
after September 7, 2001. (Forgot to update my emacs file to get
rid of the tytso@valinux.com address. Oops.)
|
|
fsck.ext3 should be linked to the one for e2fsck, not fsck.
|
|
mkfs.ext2/3 and fsck.ext2/3. Also remove any compressed man pages
before installing the man pages.
|
|
Fixed up two minor memory leaks.
|
|
|
|
.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.
|
|
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.
|
|
|
|
the right thing if the filesystem superblock is unavailable;
it will search for the superblock by iterating over possible
blocksizes.
|
|
system header file version of hbd.h when using diet glibc
(since it forcibly adds /usr/include to the beginning of include
search path.)
|
|
|
|
recovery flag is cleared. If we're using a backup
superblock, run the journal by default.
|
|
error message could be printed on an malloc() failure, and e2image
was optimized to avoid needless system calls by using the stashed
inode functions.
|
|
recovery files from 2.4.17-pre8.
|
|
- 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.
|
|
f_badorphan: revert previous, erroneous change.
|
|
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)
|
|
specification.
|
|
since this is how the filesystem is created.
|
|
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.
|
|
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.
|
|
|
|
user, don't try to automatically fall back to an
alternate superblock.
|
|
|
|
|
|
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).
|
|
either be zero or a regular file (for compatibility with
Andreas's on-line resizing programs).
|
|
only confuses people.
Make fsck's version display be consistent with the other e2fsprogs
programs.
|
|
|
|
Stop checking for strdup in the configure script since we don't
care about that symbol.
|
|
errors, don't run the orphan * list, since the orphan list
can't be trusted.
|
|
non-zero, then assume that the device/socket/fifo inode
is bogus.
|
|
only offered to clear the inode size fields if both size
and i_size_high were zero.
|
|
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.
|
|
|
|
|
|
|
|
journal superblock, set the EXT2_ERROR_FS flag in the
filesystem superblock after the journal is run.
|
|
|
|
was not consistent which was for dirent expansion, and which was for
directory number expansion.
|
|
Also cleaned up the symlink handling code to make it a bit more
compact and to test for a bad symlink block earlier.
|
|
too long i_size for slow and fast symlinks, i_size_high set, multiple
blocks for slow symlinks.
|
|
root filesystem being mounted read-only, and depend on the
results flags from ext2fs_check_if_mounted.
|