:: Re: [DNG] slashes in FAT file names
Página Inicial
Delete this message
Reply to this message
Autor: Hendrik Boom
Data:  
Para: dng
Assunto: Re: [DNG] slashes in FAT file names
On Sat, Dec 22, 2018 at 11:37:32AM +0000, Adam Sampson via Dng wrote:
> 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.


Perhaps first dd the entire card to a backup file just in case.

>
> 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.


This looks promising, too.

-- hendrik

>
> -- 
> Adam Sampson <ats@???>                         <http://offog.org/>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng