xref: /aosp_15_r20/external/e2fsprogs/doc/RelNotes/v1.15.txt (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.15 (July 18, 1999)
2*6a54128fSAndroid Build Coastguard Worker==============================
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard WorkerAdd configuration checks so that e2fsprogs will compile cleanly on
5*6a54128fSAndroid Build Coastguard WorkerLinux 2.3 kernels that have renamed i_version to i_generation.
6*6a54128fSAndroid Build Coastguard Worker
7*6a54128fSAndroid Build Coastguard WorkerE2fsck now prints a progress/completion bar (and not just a simple
8*6a54128fSAndroid Build Coastguard Workerspinner) if the -C0 option is requested or if it receives a SIGUSR1
9*6a54128fSAndroid Build Coastguard Workersignal.  Fsck will automatically manage the (potentially multiple)
10*6a54128fSAndroid Build Coastguard Workere2fsck processes to print completion bars if it is given a -C option,
11*6a54128fSAndroid Build Coastguard Workerwith the right thing happening if multiple filesystems are being
12*6a54128fSAndroid Build Coastguard Workerchecked in parallel.
13*6a54128fSAndroid Build Coastguard Worker
14*6a54128fSAndroid Build Coastguard WorkerMke2fs now has better automatic heuristics to determine the filesystem
15*6a54128fSAndroid Build Coastguard Workerparameters to be used for a particular filesystem.  Added a new option
16*6a54128fSAndroid Build Coastguard Worker-T which allows the user to specify how the filesystem is to be used,
17*6a54128fSAndroid Build Coastguard Workerwhich helps mke2fs do a better job selecting the filesystem parameters.
18*6a54128fSAndroid Build Coastguard Worker
19*6a54128fSAndroid Build Coastguard WorkerMke2fs now creates revision 1 filesystems by default, and with the
20*6a54128fSAndroid Build Coastguard Workersparse superblock feature enabled.  The sparse superblock feature is
21*6a54128fSAndroid Build Coastguard Workernot understood by Linux 2.0 kernels, so they will only allow read-only
22*6a54128fSAndroid Build Coastguard Workermounts of filesystems with this sparse superblocks.
23*6a54128fSAndroid Build Coastguard Worker
24*6a54128fSAndroid Build Coastguard WorkerFix bug where if /dev/null couldn't be opened (should never happen),
25*6a54128fSAndroid Build Coastguard Workere2fsck would hang in a tight loop.
26*6a54128fSAndroid Build Coastguard Worker
27*6a54128fSAndroid Build Coastguard WorkerMake e2fsck handle the case where /lost+found isn't a directory.
28*6a54128fSAndroid Build Coastguard Worker
29*6a54128fSAndroid Build Coastguard WorkerE2fsck now uses mallinfo if it exists to get accurate statistics about
30*6a54128fSAndroid Build Coastguard Workerits memory usage.
31*6a54128fSAndroid Build Coastguard Worker
32*6a54128fSAndroid Build Coastguard WorkerFix bug in e2fsck where it wouldn't check to see if a disconnected
33*6a54128fSAndroid Build Coastguard Workerinode had any problems before connecting it to /lost+found.
34*6a54128fSAndroid Build Coastguard Worker
35*6a54128fSAndroid Build Coastguard WorkerAdd check to e2fsck so it makes sure that total number of inodes in
36*6a54128fSAndroid Build Coastguard Workerthe filesystem is a sane number.
37*6a54128fSAndroid Build Coastguard Worker
38*6a54128fSAndroid Build Coastguard WorkerFix fencepost error when clearing an the end of the block bitmap which
39*6a54128fSAndroid Build Coastguard Workercaused the last block in the bitmap not to get cleared.
40*6a54128fSAndroid Build Coastguard Worker
41*6a54128fSAndroid Build Coastguard WorkerCleaned up a number of messages in e2fsck:
42*6a54128fSAndroid Build Coastguard Worker	* The message "Group's #'s copy of the group descriptor..."
43*6a54128fSAndroid Build Coastguard Worker		was fixed so that the correct number would be displayed.
44*6a54128fSAndroid Build Coastguard Worker	* Added missing space in the "disk write-protected" error message
45*6a54128fSAndroid Build Coastguard Worker	* Cleaned up the error message printed when a non-interactive
46*6a54128fSAndroid Build Coastguard Worker		e2fsck needs to abort a check because the filesystem
47*6a54128fSAndroid Build Coastguard Worker		appears to be mounted.
48*6a54128fSAndroid Build Coastguard Worker
49*6a54128fSAndroid Build Coastguard WorkerAdded a new command-line utility, uuidgen, which will create and print
50*6a54128fSAndroid Build Coastguard Workera UUID.
51*6a54128fSAndroid Build Coastguard Worker
52*6a54128fSAndroid Build Coastguard WorkerMake debugfs's icheck command more robust by checking to make sure an
53*6a54128fSAndroid Build Coastguard Workerinode has valid blocks before iterating over the inode's blocks.
54*6a54128fSAndroid Build Coastguard Worker
55*6a54128fSAndroid Build Coastguard WorkerUUID generation now uses a random-based scheme whenever possible to
56*6a54128fSAndroid Build Coastguard Workerprevent potential privacy problems.
57*6a54128fSAndroid Build Coastguard Worker
58*6a54128fSAndroid Build Coastguard WorkerMan pages for all of the UUID functions in the library were added.
59*6a54128fSAndroid Build Coastguard Worker
60*6a54128fSAndroid Build Coastguard WorkerFixed bug in fsck so it won't coredump if a filesystem not in
61*6a54128fSAndroid Build Coastguard Worker/etc/fstab is given to it.
62*6a54128fSAndroid Build Coastguard Worker
63*6a54128fSAndroid Build Coastguard WorkerFsck now understands the UUID=xxxx and LABEL=yyyy forms in /etc/fstab
64*6a54128fSAndroid Build Coastguard Workerthat most of the other mount utilities understands.
65*6a54128fSAndroid Build Coastguard Worker
66*6a54128fSAndroid Build Coastguard WorkerMke2fs will make a filesystem even if it appears mounted if the force
67*6a54128fSAndroid Build Coastguard Workeroption is given.
68*6a54128fSAndroid Build Coastguard Worker
69*6a54128fSAndroid Build Coastguard WorkerDumpe2fs has new command-line options which allow a filesystem expert
70*6a54128fSAndroid Build Coastguard Workerto specify the superblock and blocksize when opening a filesystem.
71*6a54128fSAndroid Build Coastguard WorkerThis is mainly useful when examining the remains of a toasted
72*6a54128fSAndroid Build Coastguard Workerfilesystem.
73*6a54128fSAndroid Build Coastguard Worker
74*6a54128fSAndroid Build Coastguard WorkerThe badblocks program has been updated to display correctly on disks
75*6a54128fSAndroid Build Coastguard Workerwith large block numbers.
76*6a54128fSAndroid Build Coastguard Worker
77*6a54128fSAndroid Build Coastguard WorkerThe badblocks program no longer gives spurious errors when errors
78*6a54128fSAndroid Build Coastguard Workeroccur on non-block boundaries, which is common if the blocksize is
79*6a54128fSAndroid Build Coastguard Workerlarger than 1k.
80*6a54128fSAndroid Build Coastguard Worker
81*6a54128fSAndroid Build Coastguard WorkerMke2fs will sync the disk device every MKE2FS_SYNC block groups if the
82*6a54128fSAndroid Build Coastguard WorkerMKE2FS_SYNC environment variable is set.  This is to work around a VM
83*6a54128fSAndroid Build Coastguard Workerbug in the 2.0 kernel.  I've heard a report that a RAID user was able
84*6a54128fSAndroid Build Coastguard Workerto trigger it even using a 2.2 kernel, but hopefully it will not be
85*6a54128fSAndroid Build Coastguard Workerneeded for most Linux 2.2 users.
86*6a54128fSAndroid Build Coastguard Worker
87*6a54128fSAndroid Build Coastguard WorkerFixed miscellaneous documentation and man pages.
88*6a54128fSAndroid Build Coastguard Worker
89*6a54128fSAndroid Build Coastguard WorkerProgrammer's notes:
90*6a54128fSAndroid Build Coastguard Worker-------------------
91*6a54128fSAndroid Build Coastguard Worker
92*6a54128fSAndroid Build Coastguard WorkerCleaned up functions such as pass1_get_blocks, pass1_read_inode which
93*6a54128fSAndroid Build Coastguard Workerin e2fsck's pass1.c really should have been static.
94*6a54128fSAndroid Build Coastguard Worker
95*6a54128fSAndroid Build Coastguard WorkerThe return value of the uuid_compare() function was changed to make it
96*6a54128fSAndroid Build Coastguard Workermatch with the conventions used by strcmp, memcmp, and Paul Leach's
97*6a54128fSAndroid Build Coastguard WorkerUUID sample document.
98*6a54128fSAndroid Build Coastguard Worker
99*6a54128fSAndroid Build Coastguard WorkerThe "make depend" process has now been made more automated; it now
100*6a54128fSAndroid Build Coastguard Workerautomatically word-wraps the dependencies, and only replaces source
101*6a54128fSAndroid Build Coastguard WorkerMakefile.in if there has been a change in the dependencies.  Also, a
102*6a54128fSAndroid Build Coastguard Workertop-level "make depend" now recurses through all the subdirectories
103*6a54128fSAndroid Build Coastguard Workerautomatically.
104*6a54128fSAndroid Build Coastguard Worker
105*6a54128fSAndroid Build Coastguard WorkerThe Makefile in .../util has been changed so that subst is built using
106*6a54128fSAndroid Build Coastguard Workerthe native C compiler during a cross-compilation, since the subst
107*6a54128fSAndroid Build Coastguard Workerprogram is only used during the build process.  Also add an explicit
108*6a54128fSAndroid Build Coastguard Workerrule to build util/subst by cd'ing to the correct directory and
109*6a54128fSAndroid Build Coastguard Workerrunning Makefile.
110*6a54128fSAndroid Build Coastguard Worker
111*6a54128fSAndroid Build Coastguard WorkerThe man directories are defined in terms mandir, so that the configure
112*6a54128fSAndroid Build Coastguard Workerscript can override the location of the manual pages.
113*6a54128fSAndroid Build Coastguard Worker
114*6a54128fSAndroid Build Coastguard WorkerThe config files have been updated to recognize new machine types for
115*6a54128fSAndroid Build Coastguard Workerboth the i386 and alpha families.
116*6a54128fSAndroid Build Coastguard Worker
117*6a54128fSAndroid Build Coastguard WorkerFsck has been modified so that it will accurately create an
118*6a54128fSAndroid Build Coastguard Workerfsck_instance even when the noexecute flag is set.  This allows for
119*6a54128fSAndroid Build Coastguard Workeraccurate debugging of the fsck pass structure.  Also, when the verbose
120*6a54128fSAndroid Build Coastguard Workerflag is given twice, fsck will print debugging information about when
121*6a54128fSAndroid Build Coastguard Workerfsck is waiting for jobs to finish.
122*6a54128fSAndroid Build Coastguard Worker
123