Page MenuHomeSolus

Update dosfstools to 4.1
ClosedPublic

Authored by livingsilver94 on Aug 12 2018, 7:45 PM.

Details

Summary
  • Now the default for mkfs for filesystems smaller than 512 MB is 64 heads / 32 sectors to make the defaults a bit more in line with the old defaults used up to 3.0.28.
  • Other changes are fixes, some of them user visible, such as setting the sector size by command line option for mkfs working again after being broken in 4.0.
  • Fixed a possible fatlabel crash when writing a label to an unlabelled filesystem and the given label contains printf style format specifiers.
  • When circular cluster chains were detected and the -t option was not given, fsck used to truncate the file to zero length while not updating the free cluster count. This required a second fsck run to clear. Now it always truncates to the last cluster that begins the loop, as it is supposed to.
  • The parsing of octal character specifications for filenames in the -u and -d options of fsck now works. It was broken in some ancient version and would always fail.
Test Plan

All tests passed. Successfully formatted my 16 GB pendrive in fat32.

Diff Detail

Repository
R657 dosfstools
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 18 2018, 11:32 PM
This revision was automatically updated to reflect the committed changes.