Whamcloud - gitweb
misc: fix typos in chattr's man page
[tools/e2fsprogs.git] / doc / RelNotes / v1.28.txt
1 E2fsprogs 1.28 (August 31, 2002)
2 ================================
3
4 Add support for the Hashed-Tree Directory Indexing to e2fsck.  Support
5 for setting the htree flag is not included yet, although it can be
6 manually turned on via the debugfs program.
7
8 Clarified e2fsck error message which is printed when it cannot find
9 sufficient contiguous block when relocating filesystem metadata.
10
11 Added support for building an EVMS plugin module for ext2/3.  This
12 module is substantially the same as the EVMS module shipping with EVMS
13 1.1, with one or two bugfixes.  E2fsprogs can also build this plugin
14 for use with EVMS 1.0 (which did not include the ext2 plugin module),
15 if the configure --enable-old-evms flag is given.
16
17 Fsck will search through EVMS volumes when trying to resolve
18 filesystem specifications such as LABEL=xxx or UUID=xxx.
19   
20 Added a new utility program, /sbin/findfs, which will return
21 filesystem specifications such as LABEL=xxx or UUID=xxx, and prints
22 the device name.
23
24 Update and clarified various man pages. (addresses Debian Bug #145044,
25 #146437, #131350, #151990, #144621, #141938)
26
27 If there are no filesystems specified on fsck's command line, fsck now
28 treat that as if the -As options were given.  Previously it would
29 simply do nothing.  (Addresses Debian Bug #153102)
30
31 Mke2fs no longer treats a failure to be able to clear the MD signature
32 at the end of the filesystem as a fatal error.  (Addresses Debian Bug
33 #155007)
34
35 The e2p library functions (which are used by lsattr and chattr) now
36 double check to make sure the file is a regular file or directory
37 before attempting to use the ext2 ioctls.  Some device drivers
38 unfortunately respond to the ext2 ioctl's with unknown behaviour.
39 (Addresses Debian Bug #152029).
40
41 The extended attribute handling has been updated to correspond with
42 the latest V2 bestbits ACL code.
43
44 Fixed bug in e2fsck which caused it to not clear the dtime field when
45 processing truncated inodes on the orphan list.  This could cause data
46 loss(!) if a filesystem is rebooted before a truncate has been
47 committed.
48
49 E2fsck now uses red/black trees in pass1b, which removes some O(n**2)
50 algorithms.  This makes e2fsck much faster in the case of severely
51 corrupted filesystems where a large number of blocks are claimed by a
52 large number of inodes.  (Thanks to the 2.5 IDE device driver for
53 inspiring this work.)
54
55 Resize2fs has been significantly sped up when shrinking and expanding
56 a filesystem by a very small number of blocks (for example, when EVMS
57 is converting a partition to be an EVMS legacy volume).
58
59 Added a new option to e2fsck, -D, which will optimize or compress all
60 of the directories in the filesystem.
61
62 E2fsck now catches SIGINT and SIGTERM to make sure it will can
63 properly clean up and only exit at safe points.  Fsck will pass
64 SIGINT/SIGTERM to its child processes, and wait until they have all
65 exited before it exits.
66
67 The uuid parsing code in the uuid library now properly complains when
68 an illegally formatted uuid is presented to it.  (Addresses Debian bug
69 #152891)
70
71 Restrict use of the 2.4 setrlimit ABI f*ckup to kernels between 2.4.10
72 and 2.4.17, since the workaround can cause problems when using a 2.4
73 kernel with an old version of glibc built with the 2.2 headers.
74
75 Fixed a bug in mke2fs where it wasn't properly clearing the initial
76 superblock used by other filesystems.  (Addresses Debian bug #147256.)
77
78 Added support for the synchronous directory feature written by Andrew
79 Morton.
80
81 The debugfs program can delete directories using the rmdir command.
82
83 Add support for 8k and 16k filesystems (for systems with page sizes
84 that are greater or equal to 8k or 16k, respectively).  Note that
85 these filesystems can not be mounted on x86 systems, or other systems
86 with only 4k page sizes, due to limitations in the current Linux VM
87 code.
88
89 Resize2fs requires that the filesystem state be valid and have no
90 errors; otherwise, e2fsck -f must be run first.  (Previously it simply
91 required that the last fsck time be greater than the last mount time.)
92
93 Configure now defaults the man pages directory to /usr/share/man on
94 Linux systems.
95
96 E2fsck now offers to truncate inodes which contain too many blocks (so
97 that i_blocks would overflow.  Also fixed handling of large sparse
98 files.
99
100 E2fsck now more completely checks for symlink validity, including
101 requiring NULL termination and length checks.
102
103 E2fsck will offer to try forcing a disk write to remap a bad block
104 after finding a read error when reading a filesystem metadata block.
105
106 Fixed a bug in debugfs which caused the -b and -s options to crash
107 debugfs, as well as breaking the testb, setb, and clearb functions.
108
109 Added a bmap command to debugfs which calculates the logical to
110 physical block mapping for a particular inode.
111
112 Fixed a bug in code which checked to see if a device was mounted which
113 sometimes (rarely) failed in the case of a plain file.
114
115 Fixed a bug in resize2fs where when it reported an error, it would
116 print a message erroneously indicating that the filesystem had been
117 resized before it aborted.
118
119 When resizing a plain file which is smaller than the requested size,
120 resize2fs will attempt to extended the file so that programs like
121 e2fsck will not complain that the file is too small.
122
123 Resize2fs will print the actual new size of the filesystem when it is
124 finished resizing.
125
126 Fixed a bug in debugfs where "ls -l" would report incorrect file type
127 information on big-endian systems.
128
129
130 Programmer's notes:
131 -------------------
132
133 Fixed collisions with C++ reserved words.
134
135 Added portability fixes for building e2fsprogs on the HURD and AIX.
136
137 Added the ext2ed program for creation of test cases.  (ext2ed has many
138 limitations and bugs which make it unsuitable for production use.)
139
140 The ext2fs_read_dir_block2 and ext2fs_write_dir_block now take a new
141 flag, EXT2_DIRBLOCK_V2_STRUCT, which will will reverse when the
142 name_len field is byte swapped on big-endian machines, since in the
143 V2 structure, name_len is a char field which is doesn't need to be
144 byte swapped --- except if an old-style kernel had byte-swapped the
145 name_len field as part of the V1 structure.
146