Whamcloud - gitweb
po: update sv.po (from translationproject.org)
[tools/e2fsprogs.git] / doc / RelNotes / v1.21.txt
1 E2fsprogs 1.21 (June 15, 2001)
2 ==============================
3
4 Added new configure flags which allow a subset e2fsprogs to be built;
5 this is most useful for boot floppies, since the resulting shared
6 libraries and programs are slimmed down by removing features that
7 aren't necessary for a boot floppy.  The new flags that were added
8 are: --disable-swapfs, which removes support for byte swapping old
9 legacy PPC/68k filesystems, --disable-debugfs, which removes support
10 for debugfs from the libext2fs library, --disable-imager, which
11 removes support for the e2image program, and --disable-resizer, which
12 removes support for resize2fs.
13
14 E2fsck now prints the number of mounts or days elapsed since the last
15 check when e2fsck is forced to check an otherwise clean filesystem.
16
17 Tune2fs now prints an informative message about how often a filesystem
18 will be checked when adding a journal to the filesystem, to remind the
19 user that he/she may want to adjust those parameters using tune2fs
20 -c/-i.
21
22 Worked around hurd brain-damage which causes e2fsck to sometimes
23 believe a filesystem is the root filesystem based on device numbers
24 (since Hurd doesn't have dev_t's, which is arguably a POSIX.1
25 violation).
26
27 Fixed a bug introduced in 1.20 which caused e2fsck to abort with an
28 erroneous error with the -F option was specified.
29
30 Fixed a ext3 recovery bug in the revoke handling; synchronized with
31 ext3 0.7a.
32
33 Fixed two bugs in e2fsck's handling of dup block handling, dealing
34 with relatively uncommon edge cases: a directory with an indirect
35 block which is claimed by another file, and when the last inode in the
36 filesystem has blocks claimed by another file.
37
38 E2fsck now checks to see if the i_size field of a fast symlink is too
39 big, and offers to clear the symlink if so.
40
41 E2fsck now checks to see if i_size_high of special files is non-zero,
42 and offers to clear i_size_high.
43
44 Fix e2fsck's handling of incompatible journal flags so that the user
45 has chance to abort, and then has the option to clear out the journal
46 entirely.  (Addresses Debian bug #98527.)
47
48 Fixed a bug in fsck which could cause it to core dump if a mix of
49 standard and non-standard device names are used in /etc/fstab.
50 (Debian bug #100559)
51
52 Fixed a bug in debugfs which caused read errors when copying a file to
53 not be noticed.
54
55 The debugfs set_super_value command can now modify the s_lastcheck field.
56
57 Fixed a bug in lsattr and chattr which was accidentally introduced in
58 1.20 to support > 2GB files; both lsattr and chattr wasn't reading
59 directories correctly because the change modified the layout of struct
60 dirent to be incompatible with the libe2p shared library.
61
62 Cleaned up the mke2fs manual page and included a discussion about why
63 it's good to periodically check the filesystem even when journalling is
64 enabled.
65
66 Programmer's notes:
67 -------------------
68
69 Fix general gcc -Wall complaints.
70
71 The types needed by the ext2 header files are now provided by
72 lib/ext2fs/ext2_types.h, instead of include/asm/types.h.
73
74 Integers are now preferred to longs when trying to find a 32-bit type
75 in ext2_types.h.  Also, if linux/types.h has already been defined,
76 don't try to redefine the types.
77
78 Fixed make depend script so that it automatically corrects the
79 pathname cleanups performed by make -M, so I don't have to fix them up
80 by hand.
81
82 Fixed the d_loaddump test case to be more robust, and not depend on
83 bash'isms.
84
85 Removed debugfs's dependence on pread(), which was accidentally
86 introduced in e2fsprogs 1.20
87
88 Fixed a performance bug in the libext2fs's icount routine; the size
89 estimate of the icount array was incorrectly being calculated.
90
91 Removed use of the badblocks compatibility functions in the e2fsprogs
92 programs.
93
94 Added paranoia code which protects against strange cases where /etc
95 isn't on the root filesystem, or if /etc/mtab doesn't exist.
96
97 The header file ext2_types.h is now installed.
98
99 Autoconf is used to determine when we are on big-endian machines,
100 instead of doing run-time tests, to save a few bytes of code.
101
102 The ext2fs_mark_generic_bitmap and ext2fs_unmark_generic_bitmap
103 functions are no longer inline functions, which saves space and
104 doesn't really cost any real performance.
105
106 The ext2fs library no longer depends on the e2p library.  (What need
107 there was of it --- namely, fsetflags, was coded in-line).
108
109 Fixed the makefile so that lib/ext2fs/ext2_types.h is generated even
110 when the user is stupid and tries compiling the package using "make
111 install" as root.
112
113 Miscellaneous code cleanups:
114         * Added missing files from Makefile.in's SRCS file, so that 
115                 their dependencies would be properly calculated.
116         * Removed redundant code
117         * Fixed comments in code
118         * Removed no-longer needed argsused #pragma.
119