xref: /aosp_15_r20/external/e2fsprogs/doc/RelNotes/v1.33.txt (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.33 (April 21, 2003)
2*6a54128fSAndroid Build Coastguard Worker===============================
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard WorkerAdded a new utility program, logsave, which captures the output of a
5*6a54128fSAndroid Build Coastguard Workercommand in a log file, even if the containing directory hasn't been
6*6a54128fSAndroid Build Coastguard Workermounted yet (in which case the it saves the output in memory until it
7*6a54128fSAndroid Build Coastguard Workercan write out the logfile).  This is useful for capturing the
8*6a54128fSAndroid Build Coastguard Workeroutput of fsck during the boot sequence.
9*6a54128fSAndroid Build Coastguard Worker
10*6a54128fSAndroid Build Coastguard WorkerFixed some portability problems that were causing problems under
11*6a54128fSAndroid Build Coastguard Workerthe Cygwin32 environment.
12*6a54128fSAndroid Build Coastguard Worker
13*6a54128fSAndroid Build Coastguard WorkerMke2fs now interprets a negative number to the -b option as a minimum
14*6a54128fSAndroid Build Coastguard Workerblock size.
15*6a54128fSAndroid Build Coastguard Worker
16*6a54128fSAndroid Build Coastguard WorkerFixed a bug in mke2fs which was incorrectly checking the argument to
17*6a54128fSAndroid Build Coastguard Workerthe -g option if the default block size was used.  (Addresses Debian
18*6a54128fSAndroid Build Coastguard Workerbug #188319)
19*6a54128fSAndroid Build Coastguard Worker
20*6a54128fSAndroid Build Coastguard WorkerFsck now explicitly ignores tmpfs and devpts, and it will complain if
21*6a54128fSAndroid Build Coastguard Workerit can not find filesystem checkers for jfs, reseirfs, and xfs.
22*6a54128fSAndroid Build Coastguard Worker
23*6a54128fSAndroid Build Coastguard WorkerE2fsck now updates the global free block and inode counters from the
24*6a54128fSAndroid Build Coastguard Workerblock group specific counters quietly.  This is needed for an
25*6a54128fSAndroid Build Coastguard Workerexperimental patch which eliminates locking the entire filesystem when
26*6a54128fSAndroid Build Coastguard Workerallocating blocks or inodes; if the filesystem is not unmounted
27*6a54128fSAndroid Build Coastguard Workercleanly, the global counts may not be accurate.
28*6a54128fSAndroid Build Coastguard Worker
29*6a54128fSAndroid Build Coastguard WorkerImported bug fixes to the EVMS plugin from the EVMS 2.0 tree.  (EVMS
30*6a54128fSAndroid Build Coastguard Worker2.0 is not yet supported; this only pulled in the bug fixes: fixed
31*6a54128fSAndroid Build Coastguard Workerpossible hangs caused by bugs in calling waitpid, and not setting the
32*6a54128fSAndroid Build Coastguard Workerpipe to non-blocking mode; also fixed a file descriptor leak; made
33*6a54128fSAndroid Build Coastguard Workersure all functions call log entry/exit functions.)
34*6a54128fSAndroid Build Coastguard Worker
35*6a54128fSAndroid Build Coastguard WorkerBadblocks now flushes its output file as bad blocks are discovered.
36*6a54128fSAndroid Build Coastguard Worker
37*6a54128fSAndroid Build Coastguard WorkerThe uuid library is now more paranoid about assuming the correctness
38*6a54128fSAndroid Build Coastguard Workerof the /dev/random device; it mixes in a stream of bytes from
39*6a54128fSAndroid Build Coastguard Workerrandom/srandom, just in case.
40*6a54128fSAndroid Build Coastguard Worker
41*6a54128fSAndroid Build Coastguard WorkerUpdate Debian files to reflect the fact that I am now the Debian
42*6a54128fSAndroid Build Coastguard Workermaintainer of e2fsprogs.  Other various Debian-specific packaging
43*6a54128fSAndroid Build Coastguard Workercleanups.
44*6a54128fSAndroid Build Coastguard Worker
45*6a54128fSAndroid Build Coastguard WorkerMove the source tarball generation functions from the top-level
46*6a54128fSAndroid Build Coastguard Workermakefile to the util/gen-tarball script.
47*6a54128fSAndroid Build Coastguard Worker
48*6a54128fSAndroid Build Coastguard WorkerUpdated the Turkish .po translation file.
49*6a54128fSAndroid Build Coastguard Worker
50*6a54128fSAndroid Build Coastguard WorkerAdded Heimdal and MIT krb5 extensions to the com_err library to make
51*6a54128fSAndroid Build Coastguard Workerit more compatible with com_err libraries from those distributions.
52*6a54128fSAndroid Build Coastguard Worker
53*6a54128fSAndroid Build Coastguard WorkerChanged dumpe2fs to always display the superblock fields relating to
54*6a54128fSAndroid Build Coastguard Workerthe journalling and/or directory indexing feature even if those
55*6a54128fSAndroid Build Coastguard Workerfeatures are not enabled.
56*6a54128fSAndroid Build Coastguard Worker
57*6a54128fSAndroid Build Coastguard WorkerUpdated and clarify copyright statement vis-a-vis alpha releases of
58*6a54128fSAndroid Build Coastguard Workere2fsprogs.
59*6a54128fSAndroid Build Coastguard Worker
60*6a54128fSAndroid Build Coastguard WorkerThe ss library will now try to dynamically link to the readline
61*6a54128fSAndroid Build Coastguard Workerlibrary and use it if it is present in the system.  This means that
62*6a54128fSAndroid Build Coastguard Workerthe debugfs program now has line editing and history features.  The
63*6a54128fSAndroid Build Coastguard WorkerSS_READLINE_PATH environment variable is used to find a readline or
64*6a54128fSAndroid Build Coastguard Workerreadline-compatible library.
65*6a54128fSAndroid Build Coastguard Worker
66*6a54128fSAndroid Build Coastguard WorkerE2fsck now finds most duplicate filenames (all when rebuilding all
67*6a54128fSAndroid Build Coastguard Workerdirectories via the -D option) and offers to delete or rename
68*6a54128fSAndroid Build Coastguard Workerduplicate filenames/directory entries.  (Addresses Debian Bug #176814).
69*6a54128fSAndroid Build Coastguard Worker
70*6a54128fSAndroid Build Coastguard WorkerFix bug in e2image.  When writing out a raw image file, include data
71*6a54128fSAndroid Build Coastguard Workerblocks from symlinks that do not store the symlink within the inode.
72*6a54128fSAndroid Build Coastguard Worker
73*6a54128fSAndroid Build Coastguard WorkerFix bug in resize2fs which incorrectly moved the block and inode
74*6a54128fSAndroid Build Coastguard Workerbitmaps for sparse superblock filesystems and incorrectly marked
75*6a54128fSAndroid Build Coastguard Workerblocks as in use.  (Addresses Debian bug #174766)
76*6a54128fSAndroid Build Coastguard Worker
77*6a54128fSAndroid Build Coastguard WorkerAdded a new shared library, the blkid library, which efficiently
78*6a54128fSAndroid Build Coastguard Workerallows fsck, mke2fs, e2fsck, and tune2fs to be able to look up LABEL
79*6a54128fSAndroid Build Coastguard Workerand UUID filesystem specifiers without needing to search all of the
80*6a54128fSAndroid Build Coastguard Workerdevices in the system.  Instead, the device is looked up in a cache
81*6a54128fSAndroid Build Coastguard Workerfile, and then verified to make sure the blkid cache is correct.
82*6a54128fSAndroid Build Coastguard Worker
83*6a54128fSAndroid Build Coastguard WorkerTune2fs and e2label will accept LABEL=xxx and UID=yyy specifiers for
84*6a54128fSAndroid Build Coastguard Workerthe device name, using the blkid library.  (Addresses Debian bugs
85*6a54128fSAndroid Build Coastguard Worker#166048, #179671)
86*6a54128fSAndroid Build Coastguard Worker
87*6a54128fSAndroid Build Coastguard WorkerFsck now supports backslash escapes in /etc/fstab so that \040 can be
88*6a54128fSAndroid Build Coastguard Workerused for spaces in device labels.
89*6a54128fSAndroid Build Coastguard Worker
90*6a54128fSAndroid Build Coastguard WorkerRemoved 32-bit limitations for debugfs's dump command.
91*6a54128fSAndroid Build Coastguard Worker
92*6a54128fSAndroid Build Coastguard WorkerIf the user specifies a large number of inodes, Mke2fs will
93*6a54128fSAndroid Build Coastguard Workerautomatically adjust the number of blocks per group to find a valid
94*6a54128fSAndroid Build Coastguard Workerset of filesystem parameters.
95*6a54128fSAndroid Build Coastguard Worker
96*6a54128fSAndroid Build Coastguard WorkerAdd workaround to detect broken MD devices where when some of the
97*6a54128fSAndroid Build Coastguard Workerunderlying devices are marked read-only, writes to the MD device are
98*6a54128fSAndroid Build Coastguard Workersilently dropped.  E2fsck will detect if there is an attempt to run
99*6a54128fSAndroid Build Coastguard Workerthe journal twice, and abort with an error if this is the case.
100*6a54128fSAndroid Build Coastguard Worker(Addresses IBM Bugzilla bug #1226)
101*6a54128fSAndroid Build Coastguard Worker
102*6a54128fSAndroid Build Coastguard WorkerE2fsck will print an error if more than one of the -p/-a, -n or -y
103*6a54128fSAndroid Build Coastguard Workeroptions are specified.
104*6a54128fSAndroid Build Coastguard Worker
105*6a54128fSAndroid Build Coastguard WorkerE2fsck will fix HTREE corruptions in preen mode, without stopping the
106*6a54128fSAndroid Build Coastguard Workerboot process.  This is needed because the 2.4 ext2 filesystem
107*6a54128fSAndroid Build Coastguard Workeraccidentally had the INDEX_FL backwards compatibility code removed.
108*6a54128fSAndroid Build Coastguard Worker
109*6a54128fSAndroid Build Coastguard WorkerMke2fs no longer creates filesystems with the dir_index flag set by
110*6a54128fSAndroid Build Coastguard Workerdefault; the user has to specifically request it.
111*6a54128fSAndroid Build Coastguard Worker
112*6a54128fSAndroid Build Coastguard WorkerUpdate and clarified various man pages. (Addresses Debian bugs
113*6a54128fSAndroid Build Coastguard Worker#173612, #175233, #175113, and #170497, #185945, #188318)
114*6a54128fSAndroid Build Coastguard Worker
115*6a54128fSAndroid Build Coastguard WorkerCreated man page for the mk_cmds program (from the libss library).
116*6a54128fSAndroid Build Coastguard Worker
117*6a54128fSAndroid Build Coastguard WorkerProgrammer's notes:
118*6a54128fSAndroid Build Coastguard Worker-------------------
119*6a54128fSAndroid Build Coastguard Worker
120*6a54128fSAndroid Build Coastguard WorkerFix various gcc -Wall nits.
121*6a54128fSAndroid Build Coastguard Worker
122*6a54128fSAndroid Build Coastguard WorkerFixed a lot of portability problems that caused e2fsprogs not to build
123*6a54128fSAndroid Build Coastguard Workersuccessfully under Solaris and Apple/Darwin.
124*6a54128fSAndroid Build Coastguard Worker
125*6a54128fSAndroid Build Coastguard WorkerFixed a Makefile dependency to allow building e2fsprogs using parallel
126*6a54128fSAndroid Build Coastguard Workermake jobs.
127*6a54128fSAndroid Build Coastguard Worker
128*6a54128fSAndroid Build Coastguard WorkerChanges to create a subset distribution which consists only of the
129*6a54128fSAndroid Build Coastguard Workeret, ss, uuid, and blkid libraries.  The configure script and top-level
130*6a54128fSAndroid Build Coastguard Workermakefile were changed to support working with a subset distribution.
131*6a54128fSAndroid Build Coastguard Worker
132*6a54128fSAndroid Build Coastguard WorkerRemoved EXT2_FEATURE_RO_COMPAT_BTREE_DIR mention of since it's not
133*6a54128fSAndroid Build Coastguard Workeractually used, and might people who are looking for
134*6a54128fSAndroid Build Coastguard WorkerEXT2_FEATURE_COMPAT_DIR_INDEX, which is in use.
135*6a54128fSAndroid Build Coastguard Worker
136*6a54128fSAndroid Build Coastguard WorkerUpdated debian files to fix a number of Lintian warnings.
137*6a54128fSAndroid Build Coastguard Worker
138*6a54128fSAndroid Build Coastguard WorkerUpdated config.guess and config.sub with newer versions from the FSF.
139*6a54128fSAndroid Build Coastguard Worker
140*6a54128fSAndroid Build Coastguard WorkerRemoved unnecessary libraries from being linked into the fsck, lsattr,
141*6a54128fSAndroid Build Coastguard Workerchattr, and blkid executables.
142*6a54128fSAndroid Build Coastguard Worker
143