diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/RelNotes/v1.44.6.txt | 2 | ||||
-rw-r--r-- | doc/RelNotes/v1.45.7.txt | 2 | ||||
-rw-r--r-- | doc/RelNotes/v1.46.1.txt | 2 | ||||
-rw-r--r-- | doc/RelNotes/v1.46.3.txt | 77 | ||||
-rw-r--r-- | doc/RelNotes/v1.46.4.txt | 69 | ||||
-rw-r--r-- | doc/RelNotes/v1.46.5.txt | 82 | ||||
-rw-r--r-- | doc/RelNotes/v1.46.6.txt | 164 | ||||
-rw-r--r-- | doc/libext2fs.texinfo | 12 | ||||
-rw-r--r-- | doc/texinfo.tex | 12 |
9 files changed, 407 insertions, 15 deletions
diff --git a/doc/RelNotes/v1.44.6.txt b/doc/RelNotes/v1.44.6.txt index 6c9e08f0..39e9b957 100644 --- a/doc/RelNotes/v1.44.6.txt +++ b/doc/RelNotes/v1.44.6.txt @@ -26,7 +26,7 @@ p0wned) by maliciously modified file systems. (Addresses Google Bugs: Fix mke2fs and debugfs so they can correctly copy in files > 2 GiB. -Fix debugfs so its stat command can correct supportly display directory +Fix debugfs so its stat command can correctly display directory sizes > 2 GiB. Fix memory leaks in debugfs, mke2fs, and e2freefrag. diff --git a/doc/RelNotes/v1.45.7.txt b/doc/RelNotes/v1.45.7.txt index 2a167766..f3957b10 100644 --- a/doc/RelNotes/v1.45.7.txt +++ b/doc/RelNotes/v1.45.7.txt @@ -38,7 +38,7 @@ requested operation. Fix mke2fs so it can import the contents of a directory using the -d option when it has inode numbers that are greater than 2**32. Also fix -an ommission were the extended attributes on the top-level directory was +an omission were the extended attributes on the top-level directory was not getting copied to the root directory. Fix e4crypt so that the add_key operation uses the explicitly provided diff --git a/doc/RelNotes/v1.46.1.txt b/doc/RelNotes/v1.46.1.txt index e8d90d19..7026e5f9 100644 --- a/doc/RelNotes/v1.46.1.txt +++ b/doc/RelNotes/v1.46.1.txt @@ -37,5 +37,5 @@ autoconf 2.69. Fixed/improved various Debian packaging issues. (Addresses-Debian-Bug: #966686) -Update the Czech, French, Malay, Polish, Portuguese, Sweedish, and +Update the Czech, French, Malay, Polish, Portuguese, Swedish, and Ukranian translations from the translation project. diff --git a/doc/RelNotes/v1.46.3.txt b/doc/RelNotes/v1.46.3.txt new file mode 100644 index 00000000..b0e4d8bf --- /dev/null +++ b/doc/RelNotes/v1.46.3.txt @@ -0,0 +1,77 @@ +E2fsprogs 1.46.3 (July 27, 2021) +================================ + +Updates/Fixes since v1.46.2: + +UI and Features +--------------- + +Teach the filefrag program the -V option, which will print the version +of the tool, or if -V option is specified twice, will print the list of +supported FIEMAP flags. + + +Fixes +----- + +Fix bug in resize2fs where growing a file system with MMP enabled and +there aren't any (or sufficient) reserved block group descriptors, +resize2fs could potentially overwrite the MMP block, leading to file +system corruption. (Addresses Debian Bug: #984472) + +Fix fast_commit portability problems on sparc64 and arm64 architectures +(the latter when running e2fsprogs compiled for arm32). (Addresses +Debian Bug: #987641) + +Fix missing mutex unlock in an error path in the Unix I/O manager. + +Fix Direct I/O support in the Unix I/O manager (this was a regression +that was introduced in v1.46.2). + +Fix mke2fs to avoid discarding blocks beyond the end of the file system +to be created when creating a file system which is smaller than 16MB and +the file system size was explicitly specified and smaller than the size +of the block device. (Addresses Debian Bug: #989630) + +Teach mke2fs to avoid giving a spurious warning about a pre-existing +partition table and it is creating a file system at a non-zero offset +(so the partition table wouldn't be overwritten in any case). +(Addresses Debian Bug: #989612) + +Fix e2image -Q to prevent a multiplication overflow could corrupt the +generated QCOW2 output file for very large file systems. + +When e2fsck repairs '.' and '..' entries in corrupted directories, set +the file type in the directory entry to be EXT2_FT_DIR and do not leave +the file type as EXT2_FT_UNKNOWN. + +Fix e2fsck so that the if the s_interval is zero, and the last mount or +write time is in the future, it will fix invalid last mount/write +timestamps in the superblock. (This was a regression introduced in +v1.45.5.) + +Fix potential memory leaks and seg faults when memory allocations fail. + +Fix lsattr and chattr to avoid opening or calling EXT2_IOC_[GS]ETFLAGS +on devices, since this can cause some devices to react badly as a +result. (Thix fixes a regression introduced in v1.46.2 and addresses +Debian Bug: #986332) + +Updated and clarified the e2image and filefrag man pages. + + +Performance, Internal Implementation, Development Support etc. +-------------------------------------------------------------- + +Avoid forking an unnecessary thread in ext2fs_rw_bitmaps(). + +Avoid unnecessary stat(2) calls on mountpoints when checking if a file +system is mounted. + +Add more modern support for Windows I/O. + +Fix various compiler and valgrind warnings. + +Synchronized changes from Android's AOSP e2fsprogs tree. + +Update Dutch, Malay, and Serbian translations. diff --git a/doc/RelNotes/v1.46.4.txt b/doc/RelNotes/v1.46.4.txt new file mode 100644 index 00000000..5e397456 --- /dev/null +++ b/doc/RelNotes/v1.46.4.txt @@ -0,0 +1,69 @@ +E2fsprogs 1.46.4 (August 18, 2021) +================================== + +Updates/Fixes since v1.46.3: + +UI and Features +--------------- + +The defaults for mke2fs now call for 256 byte inodes for all file +systems (with the exception of file systems for the GNU Hurd, which only +supports 128 byte inodes). Creating non-Hurd file systems with 128 byte +inodes will trigger a warning message to make sure users are aware of +the potential problems of using small/legacy inode sizes. + +The bigalloc feature is now considered supported if the cluster size no +more than 16 times the block size. So the mke2fs program has been +changes to only warn if the cluster size is larger than that. + + +Fixes +----- + +E2fsck now checks to make sure directory entries do not reference +internal quota inodes. + +E2image now includes the quota inodes when creating file system image, +since they are part of the file system metadata. + +E2fsck now properly accounts the quota usage of the project quota file. + +Fix a regression introduced in 1.64.3 where attempting to create a file +system image using mke2fs into a non-existent file would fail. +(Addresses Debian Bug: #992094) + +Fix mke2fs to correctly create Posix ACL's on big-endian systems when +copying files from a directory hierarchy. + +Updated and clarified the resize2fs man page. (Addresses Debian Bug: +#979411) + + + +Performance, Internal Implementation, Development Support etc. +-------------------------------------------------------------- + +Improve various regression tests to be more portable and to reflect the +new default inode size of 256 byte inodes, even for small file systems. + +Fixed a GNU Hurd portability problem which was causing tests to fail. + +Fixed a test failure in f_baddotdir on big-endian systems. This wasn't +necessarily a bug per se in e2fsck, but rather e2fsck having different +behaviour on big-endian systems. (Addresses Debian Bug: #991922) + +Use WantedBy=multi-user.target in e2scrub_reap.service. (Addresses +Debian Bug: #991349) + +Synchronize e2fsck/recovery.c with the kernel's fs/jbd2/recovery.c + +Fix various Coverity and compiler warnings. + +Fix various error pathes to make sure we don't leak resources or +potentially use or try to free uninitialized pointers. + +Added a setup-schroot command for use on Debian porter boxes. + +Updated config.guess and config.sub with newer versions from the FSF. + +Update Czech, Dutch, French, Polish, Portuguese, and Swedish translations. diff --git a/doc/RelNotes/v1.46.5.txt b/doc/RelNotes/v1.46.5.txt new file mode 100644 index 00000000..1bd60c8b --- /dev/null +++ b/doc/RelNotes/v1.46.5.txt @@ -0,0 +1,82 @@ +E2fsprogs 1.46.5 (December 30, 2021) +==================================== + +Updates/Fixes since v1.46.4: + +UI and Features +--------------- + +When resizing a file system and the inode count exceeds the 2**32 +maximum, if resize2fs can successfully perform the resize by dropping +the last block group, resize2fs will do that in order to allow the file +system grow operation to succeed. For example, using the default inode +ratio size of 16k, this will allow a successful resize to 64TB - 128MB +when the storage device is 64TB. + + +Fixes +----- + +Avoid a potential infinite loop in resize2fs -P when the file system is +corrupted (introduced in e2fsprogs 1.45.5). (Addresses github issue +https://github.com/tytso/e2fsprogs/issues/94) + +E2fsck now updates the bg_checksum after fixing problems in the block +group descriptor, which eliminates some unnecessary messages printed or +asked of the system administrator. + +Fixed some potential deadlock problems in the unix_io handler in the case +of I/O errors. The fix should also improve the performance of parallel +bitmap loading. + +Fixed e2fsck's fast commit handling which could result it in crashing +when trying to merge extents when there were none available to be +merged. + +Fix e2fsck's support of quota limit data, which could sometimes get +dropped when the quota data needs to be regenerated, or when processing +the orphan list. + +Fix tune2fs to correctly transfer the quota limits when converting quota +files to the internal quota inodes. Also add support for tune2fs to +properly handle the older version 0 quota files. + +Fix debugfs's get_quota and list_quota commands so that the header of +the report printed by these commands correctly reflect that the units of +used space is in bytes instead of blocks. + + +Performance, Internal Implementation, Development Support etc. +-------------------------------------------------------------- + +Add some additional packages to the setup-schroot script to account for +the fact that the script can be run on older Debian distributions and so +the build dependencies might omit some packages needed to build +e2fsprogs on unstable version of Debian. + +Reduce resize2fs's CPU overhead when counting the number of blocks in +use which can reduce the wall clock time for very large file systems +by substantial amount. + +Teach libuuid to use getrandom() or getentropy() if available in favor +of reading from /dev/[u]random. + +Teach libss to use libreadline.so.8 if it is available. + +Update some test expect files to fix some regression tests that were +broken in e2fsprogs 1.46.4. + +If the PRINT_FAILED environment variable is set, failed tests will +display the diff output to make it easier to debug test failures on +autobuilders. + +Fix various compiler warnings. + +Update tst_getsize to use ext2fs_get_size2() to support testing devices +which are larger than 2**32 sectors. + +Fixed spelling mistakes in the mke2fs.conf man page. + +Update Chinese, Malay, Serbian, Spanish, Swedish, and Ukrainian +translations. + diff --git a/doc/RelNotes/v1.46.6.txt b/doc/RelNotes/v1.46.6.txt new file mode 100644 index 00000000..3e8c9f47 --- /dev/null +++ b/doc/RelNotes/v1.46.6.txt @@ -0,0 +1,164 @@ +E2fsprogs 1.46.6 (September 12, 2022) +===================================== + +Updates/Fixes since v1.46.5: + +UI and Features +--------------- + +Debugfs's ncheck command now allows the inode number to be surrounded by +angle brackets, to be consistent with other debugfs commands. + +Debugfs no longer prints a scary message when debugfs -c (which enables +"catastrophic mode") is used. This was intended to allow debugfs to +operate on very badly corrupted file systems, but it is now sometimes +used to suppress reading the block and inode bitmaps when they are not +needed. + +Resize2fs will round down the requested new file system size to the +nearest cluster boundary when resizing bigalloc file systems. + +Improve error messages issued by badblocks. + +Fuse2fs now supports an offset=<bytes> option which allows operating on +a file system image which is located starting at the specified offset +from the beginning of the image. + + + +Fixes +----- + +Pre-v6.2 Linux kernels had long-standing bug in how the extended +attribute hash was calculated when there were non-ASCII characters in +the xattr name, when the hash would be different depending on whether +the C 'char' type was signed or unsigned. To address this bug, starting +with e2fsprogs 1.46.6+ and Linux 6.2+, we will accept either the signed +or unsigned hash variant, but only set the unsigned hash variant. Since +extended attribute names are in practice composed of ASCII characters, +other than various tests (such as generic/454), most users will +hopefully not notice this change. + +Avoid triggering udev in dumpe2fs and "resize2fs -P" for file systems +with MMP enabled by opening the device read-only when reading the MMP +block. + +Fix MMP handling so it can notice when another writer has modify the MMP +block out from under it when stopping a MMP sessions. + +Fix tune2fs so it will detect another device stealing the MMP sessions +while rewriting metadata checksums. + +E2fsck will now check to make sure the journal inode does not have the +encrypt flag set. + +Fix a deadlock bug in e2fsck's error handler when there are errors +trying to write to the file system. + +Fix a bug where e2fsck could fail when specifying an undo file and an +explicit superblock number. + +Fix e2image so it won't potentially loop forever for certain invalid +file systems. + +Fix resize2fs to honor the E2FSPROGS_FAKE_TIME environment variable. +This allows embedded system builders who use resize2fs as part of their +image build process to create reproducible images. + +Fix tune2fs to avoid a crash if the journal replay fails and to make +sure its exit status is non-zero if there is some failure. + +Fix tune2fs, fuse2fs, and debugsfs to update j_tail_sequence when +replaying the journal. + +Add additional bullet-proofing for very badly corrupted file systems. +Try avoid UBSAN warnings, null pointer derferences, and other memory +bugs. (Addresses CVE-2022-1304) + +Don't fail when the source directory for mke2fs -d doesn't support +extended attributese. + +Check for and handle malloc() failures when computing the log filename +in e2fsck and in the libss library. + +Fix tune2fs and e2fsck to accept pathames which include '=' characters. +Previously arguments to tune2fs and e2fsck which included '=' characters +are presumed to be blkid specifiers such as UUID=xxx or LABEL=yyy. If a +specifier is both a valid pathname name and blkid tag name specifier, +priority is given to a blkid resolved pathname. + +Improve tune2fs's error messages. + +Fix a bug in tune2fs which could cause it to crash if device goes +off-line just as it being opened. + +Fix the fsck driver so if it is interrupted while running fsck -N it +doesn't end up kllling all processes on the system. + +Fix a crash in badblocks when the user specifies an overly large +number of blocks tested at a time in read/write or nondestructive +mode. + +Update and clarify's chattr's man page and usage message. Fix spelling +typo's in a variety of different man pages and comments. + + +Performance, Internal Implementation, Development Support etc. +-------------------------------------------------------------- + +Update to autoconf 2.71. + +Update flags used to create shared library on Darwin/MacOS. + +Speed up e2fsck's clonning of multiply-claimed blocks so it is +substantially faster on very large file systems. + +Add tests/fuzz directory with fuzzers from oss-fuzz. + +Add a Github Actions configuration file so that Github will run CI tests +on Linux, Windows and MacOS on a push to the e2fsprogs github repo. + +Make the mtab parsing in ext2fs_check_mount_point() more careful so it +won't get confused when a block device shows up in the mnt_name field +for a virtual file system. + +Fix the libss's Makefile to create the man page directory before trying +to install its man page. + +Fix various Coverity and compiler warnings. + +Make tests more portable on various different OS's and system +configurations (e.g., with SELinux enabled, MacOS, and Windows) + +Use mallinfo2() instead of mallinfo() where avilable, since mallinfo() +is deprecated on newer glibc versions. + +E2fsck will no longer do a full scan of disconnected directory when +trying to print the parent directory, which is pointless and can slow +down e2fsck if there are a large number of disconnected directories. + +Debugfs will now print the extended attribute's e_hash field. + +Fix the setup-schroot script to work on non-Linux platforms. + +Fix ext2fs_compare_generic_bmap() so it correctly compares all of the +bits in the bitmap, and so that it works correctly when comparing a +bitarray bitmap with a rbtree-based bitmap. (Fortunately, none of the +programs in e2fsprogs uses bitmap comparison functions.) + +Fix memory leaks on error paths. + +Add support for the configure option --enable-largefile so that +e2fsprogs can utilize largefile support for the MUSL C library. + +Add an note that the dict library code has been modified, as required by +the Kazlib license. + +Synchronized changes from Android's AOSP e2fsprogs tree. + +Updated config.guess and config.sub with newer versions from the FSF. + +Add Friulian translation. + +Update Chinese, Czech, Dutch, French, German, Malay, Polish, Serbian, +Spanish, Swedish, and Ukrainian translations. diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo index 26cfb0ac..5300604a 100644 --- a/doc/libext2fs.texinfo +++ b/doc/libext2fs.texinfo @@ -1,7 +1,7 @@ \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename libext2fs.info -@settitle The EXT2FS Library (version 1.46.2) +@settitle The EXT2FS Library (version 1.46.6) @synindex tp fn @comment %**end of header @@ -60,8 +60,8 @@ by the author. @title The EXT2FS Library @subtitle The EXT2FS Library -@subtitle Version 1.46.2 -@subtitle February 2021 +@subtitle Version 1.46.6 +@subtitle February 2023 @author by Theodore Ts'o @@ -101,7 +101,7 @@ by the Foundation. @top The EXT2FS Library -This manual documents the EXT2FS Library, version 1.46.2. +This manual documents the EXT2FS Library, version 1.46.6. @menu * Introduction to the EXT2FS Library:: @@ -625,7 +625,7 @@ The @var{flags} parameter controls how the iterator will function: @table @samp @item BLOCK_FLAG_HOLE -This flag indicates that the interator function should be called on +This flag indicates that the iterator function should be called on blocks where the block number is zero (also known as ``holes''.) It is also known as BLOCK_FLAG_APPEND, since it is also used by functions such as ext2fs_expand_dir() to add a new block to an inode. @@ -1150,7 +1150,7 @@ utility programs. @subsection Directory-block list management The dblist abstraction stores a list of blocks belonging to -directories. This list can be useful when a program needs to interate +directories. This list can be useful when a program needs to iterate over all directory entries in a filesystem; @code{e2fsck} does this in pass 2 of its operations, and @code{debugfs} needs to do this when it is trying to turn an inode number into a pathname. diff --git a/doc/texinfo.tex b/doc/texinfo.tex index dddd0140..dd526155 100644 --- a/doc/texinfo.tex +++ b/doc/texinfo.tex @@ -404,7 +404,7 @@ \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} \def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} -% Each occurence of `\^^M' or `<space>\^^M' is replaced by a single space. +% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space. % % \argremovec might leave us with trailing space, e.g., % @end itemize @c foo @@ -430,7 +430,7 @@ % to get _exactly_ the rest of the line, we had to prevent such situation. % We prepended an \empty token at the very beginning and we expand it now, % just before passing the control to \next. -% (Similarily, we have to think about #3 of \argcheckspacesY above: it is +% (Similarly, we have to think about #3 of \argcheckspacesY above: it is % either the null string, or it ends with \^^M---thus there is no danger % that a pair of braces would be stripped. % @@ -487,7 +487,7 @@ % used to check whether the current environment is the one expected. % % Non-false conditionals (@iftex, @ifset) don't fit into this, so they -% are not treated as enviroments; they don't open a group. (The +% are not treated as environments; they don't open a group. (The % implementation of @end takes care not to call \endgroup in this % special case.) @@ -510,7 +510,7 @@ \fi } -% Evironment mismatch, #1 expected: +% Environment mismatch, #1 expected: \def\badenverr{% \errhelp = \EMsimple \errmessage{This command can appear only \inenvironment\temp, @@ -4045,7 +4045,7 @@ where each line of input produces a line of output.} \chardef\maxseclevel = 3 % % A numbered section within an unnumbered changes to unnumbered too. -% To achive this, remember the "biggest" unnum. sec. we are currently in: +% To achieve this, remember the "biggest" unnum. sec. we are currently in: \chardef\unmlevel = \maxseclevel % % Trace whether the current chapter is an appendix or not: @@ -6417,7 +6417,7 @@ where each line of input produces a line of output.} % In case a @footnote appears in a vbox, save the footnote text and create % the real \insert just after the vbox finished. Otherwise, the insertion % would be lost. -% Similarily, if a @footnote appears inside an alignment, save the footnote +% Similarly, if a @footnote appears inside an alignment, save the footnote % text to a box and make the \insert when a row of the table is finished. % And the same can be done for other insert classes. --kasal, 16nov03. |