diff --git a/.gitattributes b/.gitattributes index 15b427ea..bf8e7a04 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,5 +3,6 @@ kernel export-ignore README export-ignore README-4.5 export-ignore README-4.5.1 export-ignore +README-4.6 export-ignore USAGE export-ignore RELEASE-READMEs export-ignore diff --git a/CHANGES b/CHANGES index c4abb3ba..d01415ee 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,19 @@ SQUASHFS CHANGE LOG +4.6.1 25 MAR 2023 Bug fix release to fix race condition and XATTRs + code + + 1. Race condition which can cause corruption of the "fragment table" + fixed. This is a regression introduced in August 2022, and it has + been seen when tailend packing is used (-tailends option). + 2. Fix build failure when the tools are being built without extended + attribute (XATTRs) support. + 3. Fix XATTR error message when an unrecognised prefix is found + (Christian Hesse). + 4. Fix incorrect free of pointer when an unrecognised XATTR prefix is + found. + + 4.6 17 MAR 2023 Major improvements in extended attribute handling, pseudo file handling, and miscellaneous new options and improvements diff --git a/README-4.6.1 b/README-4.6.1 new file mode 100644 index 00000000..a259db34 --- /dev/null +++ b/README-4.6.1 @@ -0,0 +1,340 @@ + SQUASHFS-TOOLS 4.6.1 - A squashed read-only filesystem for Linux + + Copyright 2002-2023 Phillip Lougher + + Released under the GPL licence (version 2 or later). + +Welcome to Squashfs-Tools 4.6.1. This is a bug fix update release to +Squashfs-Tools 4.6. + +Please see the INSTALL file for instructions on installing the tools, and the +USAGE-4.6 files for documentation on how to use the tools. + +This README will describe the improvements, and has the following sections: + +1. Bug fixes in 4.6.1 +2. Summary of changes in 4.6 +3. Filtering and adding extended attributes (XATTRs) +4. Squashfs filesystems conversion (piping Unsquashfs output to Mksquashfs) +5. Author info + +1. Bug fixes in 4.6.1 +--------------------- + +1. Race condition which can cause corruption of the "fragment table" fixed. + This is a regression introduced in August 2022, and it has been seen when + tailend packing is used (-tailends option). +2. Fix build failure when the tools are being built without extended attribute + (XATTRs) support. +3. Fix XATTR error message when an unrecognised prefix is found (Christian Hesse). +4. Fix incorrect free of pointer when an unrecognised XATTR prefix is found. + +2. Summary of changes in 4.6 +---------------------------- + +1. Extended attribute handling improved in Mksquashfs and Sqfstar + + 1.1.New -xattrs-exclude option to exclude extended attributes from files + using a regular expression. + 1.2 New -xattrs-include option to include extended attributes from files + using a regular expression. + 1.3 New -xattrs-add option to add extended attributes to files. + 1.4 New Pseudo file xattr definition to add extended attributes to + files. + 1.5 New xattrs-add Action to add extended attributes to files + (Mksquashfs only). + +2. Extended attribute handling improved in Unsquashfs + + 2.1 New -xattrs-exclude option to exclude extended attributes from files + using a regular expression. + 2.2 New -xattrs-include option to include extended attributes from files + using a regular expression. + 2.3 Extended attributes are now supported in Pseudo file output. + +3. Other major improvements + + 3.1 Unsquashfs can now output Pseudo files to standard out. + 3.2 Mksquashfs can now input Pseudo files from standard in. + 3.3 Squashfs filesystems can now be converted (different block size + compression etc) without unpacking to an intermediate filesystem or + mounting, by piping the output of Unsquashfs to Mksquashfs. + 3.4 Pseudo files are now supported by Sqfstar. + 3.5 "Non-anchored" excludes are now supported by Unsquashfs. + +4. Mksquashfs minor improvements + + 4.1 A new -max-depth option has been added, which limits the depth + Mksquashfs descends when creating the filesystem. + 4.2 A new -mem-percent option which allows memory for caches to be + specified as a percentage of physical RAM, rather than requiring an + absolute value. + 4.3 A new -percentage option added which rather than generating the full + progress-bar instead outputs a percentage. This can be used with + dialog --gauge etc. + 4.4 -mkfs-time, -all-time and -root-time options now take a human date + string, in addition to the seconds since the epoch of 1970 00:00 + UTC. For example "now", "last week", "Wed Mar 8 05:55:01 GMT 2023" + are supported. + 4.5 -root-uid, -root-gid, -force-uid and -force-gid options now take a + user/group name in addition to the integer uid/gid. + 4.6 A new -mem-default option which displays default memory usage for + caches in Mbytes. + 4.7 A new -no-compression option which produces no compression, and it + is a short-cut for -noI, -noD, -noF and -noX. + 4.8 A new -pseudo-override option which makes pseudo file uids and gids + override -all-root, -force-uid and -force-gid options. Normally + these options take precedence. + +5. Unsquashfs minor improvements + + 5.1 New -all-time option which sets all file timestamps to