|
Packit |
ff56ff |
dosfstools 4.1 - released 2017-01-24
|
|
Packit |
ff56ff |
====================================
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
A test suite is now included and can be run with "make check". The test suite
|
|
Packit |
ff56ff |
requires xxd from the vim distribution to recreate image files from hexdumps and
|
|
Packit |
ff56ff |
also adds a dependency on automake 1.11 or later for building from sources other
|
|
Packit |
ff56ff |
than the release tarball.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
Now the default for mkfs for filesystems smaller than 512 MB is 64 heads / 32
|
|
Packit |
ff56ff |
sectors to make the defaults a bit more in line with the old defaults used up to
|
|
Packit |
ff56ff |
3.0.28.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
Other changes are fixes, some of them user visible, such as setting the sector
|
|
Packit |
ff56ff |
size by command line option for mkfs working again after being broken in 4.0.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
Fixed a possible fatlabel crash when writing a label to an unlabelled filesystem
|
|
Packit |
ff56ff |
and the given label contains printf style format specifiers.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
When circular cluster chains were detected and the -t option was not given, fsck
|
|
Packit |
ff56ff |
used to truncate the file to zero length while not updating the free cluster
|
|
Packit |
ff56ff |
count. This required a second fsck run to clear. Now it always truncates to the
|
|
Packit |
ff56ff |
last cluster that begins the loop, as it is supposed to.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
The parsing of octal character specifications for filenames in the -u and -d
|
|
Packit |
ff56ff |
options of fsck now works. It was broken in some ancient version and would
|
|
Packit |
ff56ff |
always fail.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
dosfstools 4.0 - released 2016-05-06
|
|
Packit |
ff56ff |
====================================
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
The programs are now portable to non-Linux operating systems. To that end, the
|
|
Packit |
ff56ff |
build system has been converted to use autotools. There have been Linux
|
|
Packit |
ff56ff |
specifics in a lot of places which have been either eliminated or should have
|
|
Packit |
ff56ff |
equivalents so that it should now work in other Unix-like environments. It has
|
|
Packit |
ff56ff |
been tested on FreeBSD and OS X.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
As part of making it portable all the code that assumed 8 bit major/minor
|
|
Packit |
ff56ff |
numbers - and in fact masked out all other bits - has been cleaned up. Now
|
|
Packit |
ff56ff |
mkfs.vfat should not misidentify devices anymore and require the -I option to
|
|
Packit |
ff56ff |
override. The new device probing uses libudev (if available) to collect more
|
|
Packit |
ff56ff |
information.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
Fixed data corruption errors in fsck.fat: Writing to the third to last cluster
|
|
Packit |
ff56ff |
on FAT12 with an odd number of clusters would corrupt the following cluster. In
|
|
Packit |
ff56ff |
mkfs.fat, long existing bugs in bad cluster marking (from scanning or user
|
|
Packit |
ff56ff |
supplied bad blocks list) were fixed so that it actually marks the correct
|
|
Packit |
ff56ff |
clusters.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
The automatic alignment of data clusters that was added in 3.0.8 and broken for
|
|
Packit |
ff56ff |
FAT32 starting with 3.0.20 has been reinstated. If you need to create file
|
|
Packit |
ff56ff |
systems for finicky devices that have broken FAT implementations use the option
|
|
Packit |
ff56ff |
-a to disable alignment.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
dosfstools 3.0.28 - released 2015-05-16
|
|
Packit |
ff56ff |
=======================================
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
The major user visible change in this release is that fsck.fat now defaults to
|
|
Packit |
ff56ff |
interactive repair mode which previously had to be selected with -r. The
|
|
Packit |
ff56ff |
previous default of a read only check mode was confusing to users who had to
|
|
Packit |
ff56ff |
repeat a potentially lengthy fsck.fat run with the right option in order to
|
|
Packit |
ff56ff |
actually fix their file system. It was also pointless – the interactive repair
|
|
Packit |
ff56ff |
mode already won't write anything without asking for confirmation.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
mkfs.fat now allows choosing 0xF0 as the media byte which was previously
|
|
Packit |
ff56ff |
rejected.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
mkfs.fat now supports the --invariant option to facilitate testing mkfs.fat
|
|
Packit |
ff56ff |
itself. It will reproducibly generate filesystems without random or time based
|
|
Packit |
ff56ff |
differences between them when all else is identical.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
Bugs fixed in fsck.fat are a read one byte beyond the end of an allocated array
|
|
Packit |
ff56ff |
when checking some FAT12 filesystems, and checking that the first cluster of a
|
|
Packit |
ff56ff |
file as specified in the directory entry is not 1. Previously it could attempt
|
|
Packit |
ff56ff |
to follow a block chain starting on cluster 1 and segfault when the conditions
|
|
Packit |
ff56ff |
are right.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
dosfstools 3.0.27 - released 2014-11-12
|
|
Packit |
ff56ff |
=======================================
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
This is a pure bug fix release. The major bugs fixed:
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
* fatlabel did not recognize long file names and mistook long file name
|
|
Packit |
ff56ff |
segments in the root directory for labels. This caused output of garbage when
|
|
Packit |
ff56ff |
asked to print the label and damage to the root directory (loss of long file
|
|
Packit |
ff56ff |
name after fsck) when used to set the label.
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
* A fsck.fat check introduced in 3.0.26 triggered use of uninitialized fields
|
|
Packit |
ff56ff |
in the constructed root directory entry, which randomly caused the code
|
|
Packit |
ff56ff |
checking file names to consider the empty "file name" of the root directory
|
|
Packit |
ff56ff |
to be bad:
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
$ /sbin/fsck.fat -y bad.img
|
|
Packit |
ff56ff |
fsck.fat 3.0.26 (2014-03-07)
|
|
Packit |
ff56ff |
/
|
|
Packit |
ff56ff |
Bad short file name ().
|
|
Packit |
ff56ff |
Auto-renaming it.
|
|
Packit |
ff56ff |
Renamed to
|
|
Packit |
ff56ff |
bad.img: 14 files, 19388/403266 clusters
|
|
Packit |
ff56ff |
|
|
Packit |
ff56ff |
* And finally fsck.fat will not print the version string anymore every time the
|
|
Packit |
ff56ff |
-v option is encountered.
|