1*6a54128fSAndroid Build Coastguard Worker[tytso:19940101.1200EST] 2*6a54128fSAndroid Build Coastguard Worker 3*6a54128fSAndroid Build Coastguard WorkerAdd new options -l and -L, to append to and modify the bad-blocks list. 4*6a54128fSAndroid Build Coastguard Worker 5*6a54128fSAndroid Build Coastguard WorkerFix bugs in bad-block cloning. 6*6a54128fSAndroid Build Coastguard Worker 7*6a54128fSAndroid Build Coastguard Worker[tytso:19931230.1832EST] 8*6a54128fSAndroid Build Coastguard Worker 9*6a54128fSAndroid Build Coastguard WorkerClean up e2fsck and library to be clean even when compiling with full 10*6a54128fSAndroid Build Coastguard Workerwarnings enabled. 11*6a54128fSAndroid Build Coastguard Worker 12*6a54128fSAndroid Build Coastguard WorkerMake e2fsck deal with zero-length directories correctly. 13*6a54128fSAndroid Build Coastguard Worker 14*6a54128fSAndroid Build Coastguard WorkerDeleted inodes from old ext2fs code (inodes with dtime set but 15*6a54128fSAndroid Build Coastguard Workernon-zero link count) are detected, and the user is given the 16*6a54128fSAndroid Build Coastguard Workeropportunity to clear them. 17*6a54128fSAndroid Build Coastguard Worker 18*6a54128fSAndroid Build Coastguard WorkerThe last bit in the last group of the block bitmap padding was not 19*6a54128fSAndroid Build Coastguard Workerbeing checked; now fixed. 20*6a54128fSAndroid Build Coastguard Worker 21*6a54128fSAndroid Build Coastguard WorkerThe free_blocks and free_inodes count in the last group weren't being 22*6a54128fSAndroid Build Coastguard Workerchecked. Now fixed. 23*6a54128fSAndroid Build Coastguard Worker 24*6a54128fSAndroid Build Coastguard Worker[tytso:19931101.0007EST] 25*6a54128fSAndroid Build Coastguard Worker 26*6a54128fSAndroid Build Coastguard WorkerFixed bugs with root reallocation; previously the parent pointers in 27*6a54128fSAndroid Build Coastguard Workerthe dirinfo structure would get corrupted, causing many different '..' 28*6a54128fSAndroid Build Coastguard Workerlinks to be wrong. Also, the inode link count for the root directory 29*6a54128fSAndroid Build Coastguard Workerwasn't always being set correctly. (All of this would be fixed on 30*6a54128fSAndroid Build Coastguard Workerthe second e2fsck, however). 31*6a54128fSAndroid Build Coastguard Worker 32*6a54128fSAndroid Build Coastguard WorkerFixed to recognize filesystem corruption caused by mke2fs 0.2b (where 33*6a54128fSAndroid Build Coastguard Worker/ and /lost+found had non-zero dtime entries). Offers to fix /'s 34*6a54128fSAndroid Build Coastguard Workerdtime entry. 35*6a54128fSAndroid Build Coastguard Worker 36*6a54128fSAndroid Build Coastguard Workere2fsck will now expand the /lost+found directory if it runs out of room. 37*6a54128fSAndroid Build Coastguard Worker 38*6a54128fSAndroid Build Coastguard WorkerFixed dependency on BLOCK_SIZE in pass2. e2fsck will now handle 4k 39*6a54128fSAndroid Build Coastguard Workerfilesystems w/o problems. 40*6a54128fSAndroid Build Coastguard Worker 41*6a54128fSAndroid Build Coastguard Workere2fsck will now move bad blocks found in the inode bitmaps, block 42*6a54128fSAndroid Build Coastguard Workerbitmaps, and in the inode tables. (Can't handle bad blocks found in 43*6a54128fSAndroid Build Coastguard Workerthe superblock and the group descriptors.) (Doesn't update alternate 44*6a54128fSAndroid Build Coastguard Workersuperblocks, group descriptors.) 45*6a54128fSAndroid Build Coastguard Worker 46*6a54128fSAndroid Build Coastguard Workere2fsck now supports the -b option, to allow a user to specify an 47*6a54128fSAndroid Build Coastguard Workeralternate superblock. 48*6a54128fSAndroid Build Coastguard Worker 49*6a54128fSAndroid Build Coastguard WorkerThe -B option now specifies the blocksize of the filesystem. (If not 50*6a54128fSAndroid Build Coastguard Workerspecified, and the -b option is specified, e2fsck will attempt to 51*6a54128fSAndroid Build Coastguard Workersearch through various blocksizes to find the correct one.) 52*6a54128fSAndroid Build Coastguard Worker 53*6a54128fSAndroid Build Coastguard WorkerAdded manual page. 54