:: Re: [DNG] slashes in FAT file names
Top Page
Delete this message
Reply to this message
Author: Adam Sampson
Date:  
To: dng
Subject: Re: [DNG] slashes in FAT file names
Hendrik Boom <hendrik@???> writes:

> -????????? ? ?       ?             ?            ? 07/TRA~1.MP3


As others have said, / isn't a valid character in Windows filenames, so
finding a Windows machine probably won't help (perhaps this is just a
very unlucky random bitflip, or it was written on some embedded device
that doesn't implement the FAT filename rules properly).

"fsck.fat" from dosfstools usually does a decent job of fixing FAT
filesystem errors. The man page says it'll check for invalid filenames,
so that'd be worth a try.

Alternatively, the FAT directory format is very straightforward, so you
could fire up a hex editor like "tweak" on the block device, do a string
search for the invalid filename, and overwrite it with something more
reasonable.

-- 
Adam Sampson <ats@???>                         <http://offog.org/>