Package: dosfstools Version: 3.0.26-4 Severity: wishlist File: /sbin/mkfs.fat
Here we see fsck.vfat catches a problem made by mkfs.vfat # mkfs.vfat -n JID_ANDR_1 -c -v /dev/sdh2 mkfs.fat 3.0.26 (2014-03-07) Auto-selecting FAT32 for large filesystem /dev/sdh2 has 122 heads and 62 sectors per track, hidden sectors 0x232800; logical sector size is 512, using 0xf8 media descriptor, with 4603904 sectors; drive number 0x80; filesystem has 2 32-bit FATs and 8 sectors per cluster. FAT size is 4488 sectors, and provides 574362 clusters. There are 32 reserved sectors. Volume ID is ddf1763b, volume label JID_ANDR_1 . Searching for bad blocks 92240... 181712... 274272... 367840... 461152... 554576... 648016... 741344... 834912... 928480... 1022688... 1114976... 1208192... 1301728... 1395168... 1488352... 1581792... 1673952... 1766624... 1860192... 1953888... 2047584... 2141408... 2235104... # sync # fsck.vfat /dev/sdh2 fsck.fat 3.0.26 (2014-03-07) / Bad short file name (). 1) Drop file 2) Rename file 3) Auto-rename 4) Keep it ? ^C Above if I just hit RET instead of a number, the program gets stuck and I have to hit ^C. Anyway we see that it can't be fixed automatically at all?! Anyway I don't know the best choice either. 14:22 130 ~# fsck.vfat -n /dev/sdh2 fsck.fat 3.0.26 (2014-03-07) / Bad short file name (). Auto-renaming it. Renamed to /dev/sdh2: 1 files, 1/574362 clusters 14:22 ~# fsck.vfat -y /dev/sdh2 fsck.fat 3.0.26 (2014-03-07) / Bad short file name (). Auto-renaming it. Renamed to /dev/sdh2: 1 files, 1/574362 clusters 14:26 ~# fsck.vfat -y /dev/sdh2 fsck.fat 3.0.26 (2014-03-07) / Bad short file name (). Auto-renaming it. Renamed to /dev/sdh2: 1 files, 1/574362 clusters 14:26 ~# fsck.vfat -a /dev/sdh2 fsck.fat 3.0.26 (2014-03-07) / Bad short file name (). Auto-renaming it. Renamed to /dev/sdh2: 1 files, 1/574362 clusters 14:26 ~# fsck.vfat -a /dev/sdh2 fsck.fat 3.0.26 (2014-03-07) / Bad short file name (). Auto-renaming it. Renamed to /dev/sdh2: 1 files, 1/574362 clusters -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

