aboutsummaryrefslogtreecommitdiffstats
path: root/tests/f_lpf
Commit message (Collapse)AuthorAgeFilesLines
* Switch back to 1.42.9 now that there is a fixJP Abgrall2014-03-191-1/+1
| | | | | | Revert "Revert changes that moved from 1.41.14 to 1.42.9" This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
* Revert changes that moved from 1.41.14 to 1.42.9JP Abgrall2014-03-061-1/+1
| | | | | | | | | | | | | | | | Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H" commit e80e74c41d85ff93f3d212ba6512340f48054a93. Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master" This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Revert "Prepare for upstream 1.42.9" This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Bug: 13340735 Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8 Signed-off-by: JP Abgrall <jpa@google.com>
* e2fsck: fix mysterious "FILE SYSTEM WAS MODIFIED" with no changesTheodore Ts'o2011-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Commit 2a77a784a3 (firest released in e2fsprogs 1.33) compared superblock summary free blocks and inode counts with the allocation bitmap counts before starting the file system check proper, and if they differed, set the superblock and marked it as dirty. If no other file systme changes were required, this would cause a "*** FILE SYSTEM WAS MODIFIED ***" message without any explanation of what e2fsck had changed. We fix this by only setting the superblock summary free block/inodes counts if we are skipping a full check, and in non-preen mode, e2fsck will now print an explicit message stating how the superblock had been updated. In a full check, any updates to the superblock free blocks/inodes fields will be noted in pass5. This change requires changing a few test results (essentially reversing the changes made in commit 2a77a784a3). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* E2fsck now updates the global free block andTheodore Ts'o2003-04-051-1/+1
| | | | | | | | | inode counters from the block group specific counters quietly. This is needed for an experimental patch which eliminates locking the entire filesystem when allocating blocks or inodes; if the filesystem is not unmounted cleanly, the global counts may not be accurate.
* Overhaul extended attribute handling. Should now be correct withTheodore Ts'o2002-08-171-7/+4
| | | | | respect to the latest V2 bestbits ACL code.
* E2fsck now prints ranges in pass 5 when printing deltas inTheodore Ts'o2002-03-071-1/+1
| | | | | the block and inode bitmaps.
* ChangeLog, expect.1, expect.2:Theodore Ts'o1998-12-041-2/+2
| | | | | | | | | f_badtable, f_illitable, f_lpf: Update to deal with the fact that e2fsck will now create a lost+found directory at the end of pass 3 if one isn't present. ChangeLog: Oops; premature checkin of ChangeLog.
* Many files:Theodore Ts'o1997-10-031-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | pass*.c, super.c: Massive changes to avoid using printf and com_err routines. All diagnostic messages are now routed through the fix_problem interface. pass2.c (check_dir_block): Check for duplicate '.' and '..' entries. problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and PR_2_DUP_DOT_DOT. problem.c: Added new problem codes for some of the superblock corruption checks, and for the pass header messages. ("Pass 1: xxxxx") util.c (print_resource_track): Now takes a description argument. super.c, unix.c, e2fsck.c: New files to separate out the operating-specific operations out from e2fsck.c. e2fsck.c now contains the global e2fsck context management routines, and super.c contains the "pass 0" initial validation of the superblock and global block group descriptors. pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate (nearly) all global variables and moved them to the e2fsck context structure. problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT, PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP, PR_0_FIRST_DATA_BLOCK expect.1, expect.2: Updated tests to align with e2fsck problem.c changes.
* Many files:Theodore Ts'o1997-04-291-8/+4
| | | | | Checked in e2fsprogs-1.07
* Many files:Theodore Ts'o1997-04-293-13/+19
| | | | | Checked in e2fsprogs 1.05
* Many files:Theodore Ts'o1997-04-262-2/+2
| | | | | Checkin of e2fsprogs 1.02.
* Many files:Theodore Ts'o1997-04-264-0/+47
Checked in e2fsprogs 0.5c