On Mon, Sep 3, 2018 at 4:23 AM, Adam Borowski <kilob...@angband.pl> wrote: > On Sun, Sep 02, 2018 at 09:15:25PM -0600, Chris Murphy wrote: >> For > 10 years drive firmware handles bad sector remapping internally. >> It remaps the sector logical address to a reserve physical sector. >> >> NTFS and ext[234] have a means of accepting a list of bad sectors, and >> will avoid using them. Btrfs doesn't. But also ZFS, XFS, APFS, HFS+ >> and I think even FAT, lack this capability. > > <nitpick> > FAT entry FF7 (FAT12)/FFF7 (FAT16)/... > </nitpick>
Oh yeah even Linux mkdosfs does have -c option to check for bad sectors and presumably will remove them from use. It doesn't accept a separate list though, like badblocks + mke2fs. -- Chris Murphy