Whamcloud - gitweb
misc: fix typos in chattr's man page
[tools/e2fsprogs.git] / doc / RelNotes / v1.35.txt
1 E2fsprogs 1.35 (February 28, 2004) 
2 ==================================
3
4 E2fsck has a new -k option, which in conjunction with the -c options,
5 preserves the existing badblocks list.
6
7 Cleaned up e2fsck's preen-mode messages during the passes 1b, 1c, and 1d.
8
9 E2fsprogs will now deal correctly with symlinks that contain
10 extended attribute information, which can be created using SE Linux.
11 (Addresses Debian Bug #232328)
12                                                                                
13 Remove a double longjmp into an invalid stack frame bug in e2fsck.
14 (This was during an abort sequence, which normally worked on Linux and
15 caused a core dump on other operating systems.)
16
17 Fix NLS bug in e2fsck, by avoiding trying to expand an empty string
18 (the NLS library will replace "" with the .po header information).
19  
20 Fix a bug in mke2fs which caused -T largefile or -T largefile4 to core
21 dump due to a division by zero error.  (Addresses Debian bug #207082)
22
23 Fixed a bug in e2fsck which caused it to incorrectly fix a filesystem
24 when reconnecting a directory requires creating a lost+found
25 directory.  (Addresses Debian bug #219640).
26
27 Fixed a bug where e2fsck would bomb out if a journal needed to be
28 replayed when using an alternate superblock.
29  
30 E2fsck will give an extra grace period before actually forcing a check
31 if the laptop is running on battery.  The next time fsck runs while
32 the system is on the AC mains, or after the grace period is exceeded,
33 the filesystem will be checked.  (Addresses Debian bug #205177)
34
35 E2fsck will inform the user when there are 5 or fewer mounts before a
36 filesystem check will be forced.  (Addresses Debian bug #157194)
37
38 Fix e2fsck's handling of corrupted indirect blocks in the bad block.
39 We now correctly handle the case where there is an overlap between a
40 block group descriptor or a superblock and a bad block indirect block.
41 In the case where the indirect block is corrupted, we now suggest
42 "e2fsck -c".
43
44 Fix byte swap bugs in e2fsck that caused the journal backup location 
45 in the superblock and symlinks created by SE Linux to be cleared
46 by e2fsck on big-endian machines.  (Addresses Debian bug #228723)
47
48 E2fsck -c now replaces the current list of bad blocks with the ones
49 found by badblocks.
50
51 Fix bugs in e2fsck and tune2fs which could cause a core dump if a
52 non-existent LABEL or UUID specifier is to e2fsck or tune2fs.
53
54 Fix a potential bug in e2fsck which could cause it to core dump when
55 trying to print the location of the backup superblock.
56
57 Protect against a potential core dump in e2fsck when printing a
58 message about backup superblocks.
59
60 Add support for backing up the journal inode location in the
61 superblock.  E2fsck will automatically save the journal information in
62 the superblock if it is not there already, and will use it if the
63 journal inode appears to be corrupted.  ext2fs_add_journal_inode()
64 will also save the backup information, so that new filesystems created
65 by mke2fs and filesystems that have journals added via tune2fs will
66 also have journal location written to the superblock as well.
67 Debugfs's logdump command has been enhanced so that it can use the
68 journal information in the superblock.
69
70 E2fsck will now update all superblocks when moving the journal inode.
71   
72 Shrink the size of the e2fsck executable by moving some initialized
73 variables to the BSS segment.
74
75 E2fsck will avoid printing the ^A and ^B characters which bracket the
76 progress bar when stdout and stdin are a tty device instead of a pipe
77 to another program.  (Addresses Debian bug #204137)
78
79 Debugfs's mkdir command will automatically expand the directory if
80 necessary.  (Addresses Debian Bug: #217892)
81  
82 Fixed a bug in debugfs so that copying a file from /dev/null uses the
83 correct mode bits.  (Addresses Debian Bug: #217456)
84  
85 If the environment variables DEBUFS_PAGER and PAGER are not set,
86 debugfs now searches for the appropriate pager to use, beginning with
87 /usr/bin/pager, and then falling back to 'more' and 'less'.
88 (Addresses Debian bug #221977)
89
90 Debugfs will now support 2.6 device numbers where the major or minor
91 number may be larger than 255.  (Addresses Sourceforge bug #865289)
92  
93 Fix debugging printf in resize2fs.  (Addresses Debian Bug #271605)
94
95 Chattr now stops processing options when it sees '--'.  (Addresses
96 Debian bug #225188)
97
98 Fix regression tests so they work correctly when e2fsprogs is compiled
99 with configure --disable-htree.
100
101 Fix bug in uuid library when there is no network card and the library
102 is generating a time-based uuid.  The random MAC address was not
103 correctly generated to be a multicast address.
104  
105 Add compile_et extensions from Heimdall that were missed the first time
106 around.
107
108 Fix bug in badblocks when using O_DIRECT; we need to make sure that
109 we're reading from an offset which is page aligned.  For read-only and
110 read-write tests, we try to recover after an error so that we can
111 continue reading on page-aligned boundaries.  (Addresses Debian Bug
112 #203713)
113   
114 Badblocks now checks 64 blocks at a time instead of 16.  (Addresses
115 Debian bug #232240)
116  
117 Updated and clarified various man pages.  (Addresses Debian Bug
118 #206845, #222606, #214920, #232406)
119
120 Updated and fixed translations.   (Addresses Debian bugs #200086, #214633)
121
122 Fixed various Debian packaging issues (see debian/changelog).
123
124 Programmer's notes: 
125 -------------------
126
127 Fixed a build problem so that e2fsprogs would compile with the
128 --enable-profile option to configure selected.  (Addresses Sourceforge
129 bug #811408)
130  
131 Fixed C++ problems with the ext2fs.h header.  (Addresses Red Hat
132 Bugzilla Bug #112448)
133                                                                                
134 Centralize code which calculates the location of the superblock
135 and block group descriptors so that it is in a single library routine.
136
137 Added two new functions, ext2fs_file_open2() and
138 ext2fs_inode_io_intern2() which take a pointer to an inode structure.
139
140 Fix compile_et to output the correct prototype for
141 initialize_xxx_err_table_r() in the header file.  (Addresses Debian
142 bug #204332)
143
144 In the lib/et makefile, make sure com_err.info is deleted on "make clean".
145   
146 Fix 64-bit warnings in e2fsprogs pass1b by using inttypes.h if
147 present.  This is for when we try stuffing an int into void * pointer.
148
149 Fix type-punning which can cause gcc 3.x to miscompile code by getting
150 confused about pointer aliasing.  ext2fs_getmem(), ext2fs_free_mem(),
151 and ext2fs_resize_mem() all now take a 'void *' instead of a 'void
152 **'.  The EVMS code uses an ugly union approach since we don't want to
153 modify the EVMS interfaces. 
154
155 Make sure all Makefiles use $(MAKE) rather than hardcoded "make", to
156 aid build process on systems can use invoke GNU make as "gmake".
157
158 Added regression testing for mke2fs.
159
160 Fixed gcc -Wall nitpicks.
161
162 Fixed various compiler warnings.
163
164 Add portability fixes for FreeBSD and for using fsctl under Darwin to
165 support ext2 ioctl's.
166