xref: /aosp_15_r20/external/e2fsprogs/doc/RelNotes/v1.10.txt (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.10 (April 24, 1997)
2*6a54128fSAndroid Build Coastguard Worker===============================
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard WorkerMke2fs once again defaults to creating revision #0 filesystems, since
5*6a54128fSAndroid Build Coastguard Workerpeople were complaining about breaking compatibility with 1.2 kernels.
6*6a54128fSAndroid Build Coastguard WorkerWarning messages were added to the mke2fs and tune2fs man pages that
7*6a54128fSAndroid Build Coastguard Workerthe sparse superblock option isn't supported by most kernels yet (1.2
8*6a54128fSAndroid Build Coastguard Workerand 2.0 both don't support parse superblocks.)
9*6a54128fSAndroid Build Coastguard Worker
10*6a54128fSAndroid Build Coastguard WorkerAdded new flag to mke2fs, -R <raid options>, which allows the user to
11*6a54128fSAndroid Build Coastguard Workertell mke2fs about the RAID configuration of the filesystem.  Currently
12*6a54128fSAndroid Build Coastguard Workerthe only supported raid option is "stride" which specifies the width
13*6a54128fSAndroid Build Coastguard Workerof the RAID stripe.
14*6a54128fSAndroid Build Coastguard Worker
15*6a54128fSAndroid Build Coastguard WorkerFixed bug in e2fsck where pass1b would bomb out if there were any
16*6a54128fSAndroid Build Coastguard Workerblocks marked bad in the inode table.
17*6a54128fSAndroid Build Coastguard Worker
18*6a54128fSAndroid Build Coastguard WorkerFixed rare bug in mke2fs where if the user had a very unlucky number
19*6a54128fSAndroid Build Coastguard Workerof blocks in a filesystem (probability less than .002) the resulting
20*6a54128fSAndroid Build Coastguard Workerfilesystem would be corrupt in the last block group.
21*6a54128fSAndroid Build Coastguard Worker
22*6a54128fSAndroid Build Coastguard WorkerFixed bug where if e2fsck tried to allocate a block to fix a
23*6a54128fSAndroid Build Coastguard Workerfilesystem corruption problem and the filesystem had no free blocks,
24*6a54128fSAndroid Build Coastguard Workerext2fs_new_block() would loop forever.
25*6a54128fSAndroid Build Coastguard Worker
26*6a54128fSAndroid Build Coastguard WorkerThe configure script now checks explicitly to see if "-static" works,
27*6a54128fSAndroid Build Coastguard Workersince that can't be assumed to be true --- RedHat doesn't install
28*6a54128fSAndroid Build Coastguard Workerlibc-static by default.
29*6a54128fSAndroid Build Coastguard Worker
30*6a54128fSAndroid Build Coastguard WorkerFixed bug in libext2's block iterator functions where under some
31*6a54128fSAndroid Build Coastguard Workercircumstances, file with holes would cause the bcount parameter to the
32*6a54128fSAndroid Build Coastguard Workercallback function to be incorrect.  This bug didn't affect any of
33*6a54128fSAndroid Build Coastguard Workere2fsprogs programs, but it was discovered by Paul Mackerras, the
34*6a54128fSAndroid Build Coastguard Workerauthor of the PPC boot loader.
35*6a54128fSAndroid Build Coastguard Worker
36*6a54128fSAndroid Build Coastguard WorkerRemoved use of static variables to store the inode cache in libext2fs.
37*6a54128fSAndroid Build Coastguard WorkerThis caused problems if more than one filesystem was accessed via
38*6a54128fSAndroid Build Coastguard Workerlibext2fs (static variables in libraries are generally a bad idea).
39*6a54128fSAndroid Build Coastguard WorkerAgain, this didn't affect e2fsprogs programs, but it was discovered by
40*6a54128fSAndroid Build Coastguard WorkerPaul Mackerras.
41*6a54128fSAndroid Build Coastguard Worker
42*6a54128fSAndroid Build Coastguard WorkerFixed minor bugs and version code drift to assure that e2fsprogs 1.10
43*6a54128fSAndroid Build Coastguard Workerwill compile cleanly with 1.2.13 kernels (even with a.out shared
44*6a54128fSAndroid Build Coastguard Workerlibraries!)
45*6a54128fSAndroid Build Coastguard Worker
46*6a54128fSAndroid Build Coastguard WorkerProgrammer's notes:
47*6a54128fSAndroid Build Coastguard Worker-------------------
48*6a54128fSAndroid Build Coastguard Worker
49*6a54128fSAndroid Build Coastguard WorkerAdded new functions to duplicate an ext2 filesystem handle, and its
50*6a54128fSAndroid Build Coastguard Workerassociated substructure.  New functions: ext2fs_dup_handle(),
51*6a54128fSAndroid Build Coastguard Workerext2fs_copy_dblist(), ext2fs_badblocks_copy(), ext2fs_copy_bitmap().
52*6a54128fSAndroid Build Coastguard WorkerOther structures, such as the io_channel and the inode_cache, now have
53*6a54128fSAndroid Build Coastguard Workera ref count so that they only get freed when they are no longer used
54*6a54128fSAndroid Build Coastguard Workerby any filesystem handle.  (These functions were added as part of the
55*6a54128fSAndroid Build Coastguard Workerdevelopment effort for an ext2 resizer).
56*6a54128fSAndroid Build Coastguard Worker
57