xref: /aosp_15_r20/external/e2fsprogs/doc/RelNotes/v1.38.txt (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.38 (June 30, 2005)
2*6a54128fSAndroid Build Coastguard Worker==============================
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard WorkerFix blkid's test programs (built with "make check") compile correctly
5*6a54128fSAndroid Build Coastguard Workereven without "configure --enable-blkid-debug".
6*6a54128fSAndroid Build Coastguard Worker
7*6a54128fSAndroid Build Coastguard WorkerFix ia64 core dump bug caused by e2fsprogs running afoul of C99 strict
8*6a54128fSAndroid Build Coastguard Workertype aliasing rules on newer gcc compilers.  (Addresses Red Hat
9*6a54128fSAndroid Build Coastguard WorkerBugzilla ##161183.)
10*6a54128fSAndroid Build Coastguard Worker
11*6a54128fSAndroid Build Coastguard WorkerFix com_err library to make it more compatible with recent changes
12*6a54128fSAndroid Build Coastguard Workermade to the com_err library in MIT Kerberos V5 version 1.4.
13*6a54128fSAndroid Build Coastguard Worker(Addresses Sourceforge Bug #1150146)
14*6a54128fSAndroid Build Coastguard Worker
15*6a54128fSAndroid Build Coastguard WorkerGeneral cleanup of messages printed by e2fsprogs programs for grammar,
16*6a54128fSAndroid Build Coastguard Workerconsistency, and to make life easier for translators.  Fixed a few
17*6a54128fSAndroid Build Coastguard Workerstrings containing English that had not been marked as needing
18*6a54128fSAndroid Build Coastguard Workertranslations.  Removed strings that do not need to be translated, to
19*6a54128fSAndroid Build Coastguard Workermake life easier for translators.
20*6a54128fSAndroid Build Coastguard Worker
21*6a54128fSAndroid Build Coastguard WorkerMke2fs and badblocks will take advantage of a feature in Linux 2.6 to
22*6a54128fSAndroid Build Coastguard Workertest to see if a device appears to be in use instead of just relying
23*6a54128fSAndroid Build Coastguard Workeron /proc/mounts and /etc/mtab.  (Addresses Debian Bug #308594).
24*6a54128fSAndroid Build Coastguard Worker
25*6a54128fSAndroid Build Coastguard WorkerFix portability problem in the filefrag program affecting platforms
26*6a54128fSAndroid Build Coastguard Workerwhere the size of an integer is smaller than the size of a long.
27*6a54128fSAndroid Build Coastguard Worker(Addresses Debian Bug #309655)
28*6a54128fSAndroid Build Coastguard Worker
29*6a54128fSAndroid Build Coastguard WorkerMke2fs will now use a larger journal by default for filesystems
30*6a54128fSAndroid Build Coastguard Workergreater than 4GB.  (128 MB instead of 32MB).
31*6a54128fSAndroid Build Coastguard Worker
32*6a54128fSAndroid Build Coastguard WorkerMke2fs will refuse to create filesystems greater than 2**31-1 blocks,
33*6a54128fSAndroid Build Coastguard Workerunless forced.  This is to avoid signed vs. unsigned kernel bugs in
34*6a54128fSAndroid Build Coastguard Workerblock numbers that still need to be fixed.
35*6a54128fSAndroid Build Coastguard Worker
36*6a54128fSAndroid Build Coastguard WorkerThe blkid program has a new option which will more efficiently search
37*6a54128fSAndroid Build Coastguard Workerfor device when it is known (or expected) that only one matching
38*6a54128fSAndroid Build Coastguard Workerdevice will be found in the system, such as when doing a lookup by
39*6a54128fSAndroid Build Coastguard WorkerUUID.
40*6a54128fSAndroid Build Coastguard Worker
41*6a54128fSAndroid Build Coastguard WorkerDebian's e2fsprogs-specific initrd fragment will avoid including
42*6a54128fSAndroid Build Coastguard Workerunnecessary libraries into the initrd ramdisk by unsetting LD_PRELOAD
43*6a54128fSAndroid Build Coastguard Workerand LD_LIBRARY_PATH, and filtering out libraries found in
44*6a54128fSAndroid Build Coastguard Worker/etc/ld.so.preload.  (Addresses Debian Bug: #304003)
45*6a54128fSAndroid Build Coastguard Worker
46*6a54128fSAndroid Build Coastguard WorkerFixed a potential portability issue in the blkid programs for
47*6a54128fSAndroid Build Coastguard Workerarchitectures where the char type is unsigned.  (Addresses Sourceforge
48*6a54128fSAndroid Build Coastguard WorkerBug: #1180585)
49*6a54128fSAndroid Build Coastguard Worker
50*6a54128fSAndroid Build Coastguard WorkerFix a bug in filefrag so that it doesn't falsely count an extra
51*6a54128fSAndroid Build Coastguard Workerdiscontinuity when the first block found is an indirect block.
52*6a54128fSAndroid Build Coastguard Worker(Addresses Debian Bug #307607).
53*6a54128fSAndroid Build Coastguard Worker
54*6a54128fSAndroid Build Coastguard WorkerFix blkid's recognition of cramfs filesystems, and enhance it to be
55*6a54128fSAndroid Build Coastguard Workerable to handle cramfs labels.
56*6a54128fSAndroid Build Coastguard Worker
57*6a54128fSAndroid Build Coastguard WorkerFix debugfs's stat command to not core dump when a filesystem is not
58*6a54128fSAndroid Build Coastguard Workeropen.
59*6a54128fSAndroid Build Coastguard Worker
60*6a54128fSAndroid Build Coastguard WorkerFix e2fsck's handling of error conditions caused by the resize inode
61*6a54128fSAndroid Build Coastguard Workerclaiming blocks that are also used by other inodes, a filesystem
62*6a54128fSAndroid Build Coastguard Workercorruption which was commonly caused by a bug in Fedora Core 3's
63*6a54128fSAndroid Build Coastguard Workerresize2fs program.
64*6a54128fSAndroid Build Coastguard Worker
65*6a54128fSAndroid Build Coastguard WorkerFixed bug in filefrag which caused it to fail on non-ext2/3
66*6a54128fSAndroid Build Coastguard Workerfilesystems.  (Addresses Debian Bug: #303509)
67*6a54128fSAndroid Build Coastguard Worker
68*6a54128fSAndroid Build Coastguard WorkerIf the superblock last mount time indicates that the system clock may
69*6a54128fSAndroid Build Coastguard Workernot be accurate, then e2fsck will omit checking inodes' deletion time
70*6a54128fSAndroid Build Coastguard Workerfield for indications of a potential corrupted orphaned inode list.
71*6a54128fSAndroid Build Coastguard Worker(Previously e2fsck only omitted these LOW_DTIME checks when the
72*6a54128fSAndroid Build Coastguard Workersuperblock's last write time looked insane.)
73*6a54128fSAndroid Build Coastguard Worker
74*6a54128fSAndroid Build Coastguard WorkerFixed a IA64 core dump bug in the e2p library which affected dumpe2fs.
75*6a54128fSAndroid Build Coastguard Worker(Addresses Debian bug #302200)
76*6a54128fSAndroid Build Coastguard Worker
77*6a54128fSAndroid Build Coastguard WorkerMake the blkid library more paranoid about being run from setgid
78*6a54128fSAndroid Build Coastguard Workerprograms, and to use __secure_getenv() from libc if it is available.
79*6a54128fSAndroid Build Coastguard Worker
80*6a54128fSAndroid Build Coastguard WorkerFixed spelling mistakes, typos, and otherwise clarified man pages.
81*6a54128fSAndroid Build Coastguard Worker(Addresses Debian Bugs: #304591, #304592, #304594, #304597, #304593
82*6a54128fSAndroid Build Coastguard Workerand Sourceforge Bug: #1189803)
83*6a54128fSAndroid Build Coastguard Worker
84*6a54128fSAndroid Build Coastguard WorkerUpdated and fixed translations.
85*6a54128fSAndroid Build Coastguard Worker
86*6a54128fSAndroid Build Coastguard WorkerFixed various Debian packaging issues --- see debian/changelog for
87*6a54128fSAndroid Build Coastguard Workerdetails.
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 WorkerExt2fs_set_bit(), ext2fs_clear_bit(), and ext2fs_test_bit( have been
93*6a54128fSAndroid Build Coastguard Workerchanged to take an unsigned int for the bit number.  Negative bit
94*6a54128fSAndroid Build Coastguard Workernumbers were never allowed (and didn't make any sense), so this should
95*6a54128fSAndroid Build Coastguard Workerbe a safe change.  This is needed to allow safe use of block numbers
96*6a54128fSAndroid Build Coastguard Workergreater than or equal to 2**31.
97*6a54128fSAndroid Build Coastguard Worker
98*6a54128fSAndroid Build Coastguard WorkerThe compile_et program will avoid recreating generated foo_err.c and
99*6a54128fSAndroid Build Coastguard Workerfoo_err.h files if no changes are necessary.  The compile_et program
100*6a54128fSAndroid Build Coastguard Workerwill also atomically replace these files to avoid a potential parallel
101*6a54128fSAndroid Build Coastguard Workerbuild race problem on SMP systems.  (Addresses Sourceforge Bug:
102*6a54128fSAndroid Build Coastguard Worker#1157933)
103*6a54128fSAndroid Build Coastguard Worker
104*6a54128fSAndroid Build Coastguard WorkerAdded a new function to the blkid library, blkid_probe_all_new(),
105*6a54128fSAndroid Build Coastguard Workerwhich only probes newly added disk devices, and change
106*6a54128fSAndroid Build Coastguard Workerblkid_find_dev_with_tag() to use this function so that when a
107*6a54128fSAndroid Build Coastguard Workerrequested tag is not found, devices that were previously not checked
108*6a54128fSAndroid Build Coastguard Workerare searched before searching all devices in the system.
109*6a54128fSAndroid Build Coastguard Worker
110*6a54128fSAndroid Build Coastguard WorkerAdded new functions to the blkid library, blkid_dev_set_search() and
111*6a54128fSAndroid Build Coastguard Workerblkid_dev_has_tag().
112*6a54128fSAndroid Build Coastguard Worker
113*6a54128fSAndroid Build Coastguard WorkerE2fsck's problem strings can now use @m and @n as abbreviations for
114*6a54128fSAndroid Build Coastguard Worker"multiply-claimed" and "invalid", respectively.
115*6a54128fSAndroid Build Coastguard Worker
116*6a54128fSAndroid Build Coastguard WorkerThe e2fsprog.pot file now has an explanation of how the @-expansion
117*6a54128fSAndroid Build Coastguard Workerand %-expansion works, and strings in e2fsck/problem.c which contain @
118*6a54128fSAndroid Build Coastguard Workercharacters now have comments in e2fsprogs.pot with the @-expansion to
119*6a54128fSAndroid Build Coastguard Workermake life easier for translators.
120*6a54128fSAndroid Build Coastguard Worker
121*6a54128fSAndroid Build Coastguard WorkerFixed missing return values in the ext2fs library which could cause it
122*6a54128fSAndroid Build Coastguard Workerto return random garbage in certain error conditions.
123*6a54128fSAndroid Build Coastguard Worker
124*6a54128fSAndroid Build Coastguard WorkerAllow the current time to be overridden via the E2FSCK_TIME environment
125*6a54128fSAndroid Build Coastguard Workervariable for use in regression tests.
126*6a54128fSAndroid Build Coastguard Worker
127*6a54128fSAndroid Build Coastguard WorkerThe test script driver program now exits with a non-zero status if
128*6a54128fSAndroid Build Coastguard Workerthere any of its test that it ran failed.
129*6a54128fSAndroid Build Coastguard Worker
130*6a54128fSAndroid Build Coastguard WorkerFixed problems with parabuilds on SMP systems.  (Addresses Sourceforge
131*6a54128fSAndroid Build Coastguard WorkerBug: #1157933)
132*6a54128fSAndroid Build Coastguard Worker
133*6a54128fSAndroid Build Coastguard WorkerFixed "make check" so that it compiles correctly even when e2fsprogs'
134*6a54128fSAndroid Build Coastguard Workerheader files have not be installed in the system include directories.
135*6a54128fSAndroid Build Coastguard Worker(Addresses Sourceforge Bug: #1180572)
136*6a54128fSAndroid Build Coastguard Worker
137*6a54128fSAndroid Build Coastguard WorkerFixed gcc -Wall nits.
138*6a54128fSAndroid Build Coastguard Worker
139