:: Re: [DNG] slashes in FAT file names
Top Pagina
Delete this message
Reply to this message
Auteur: Olaf Meeuwissen
Datum:  
Aan: Hendrik Boom
CC: dng
Onderwerp: Re: [DNG] slashes in FAT file names
Hi,

Hendrik Boom writes:

> hendrik@midwinter:/media/hendrik/FC30-3DA9/Pure disco$ ls -i
> ls: cannot access '07/TRA~1.MP3': No such file or directory
> ls: cannot access '18/TRA~1.MP3': No such file or directory
> 2522 @  2523 ?  2526 ?                    ? 07/TRA~1.MP3       2516
> 16-TRA~1.M?3                 2520 21 - Traɣk 21.mp3
> 2522 @  2521 ?  2524 ?                 2508 08-URA~1.MP3       2517
> 17-TRA~1.MP3                 2525 Ç
> 2522 @  2521 ?  2502 01-TRA~1.MP│      2509 09=TRA~1.MP3          ?
> 18/TRA~1.MP3                 2525 Ç
> 2522 @  2521 ?  2504 03 - Track 3.mp3  2503 0" - Track 2.mp䀳  2518 19
> - Ŕrack 19.mp3䀀????????  2510 q0-TRA~1.MP3
> 2523 ?  2527 ?  2505 04,TRA~1.MP3      2512 12!- Track 12.mŰ3  2515
> 1%-TRA~1.MP3
> 2523 ?  2526 ?  2506 05  Track 5.mp3   2513 13-TRA~1.MP3       2511 !1
> - Track 11.mp3ࠀ????????
> 2523 ?  2526 ?  2507 06 - Track 6.mq3  2514 14 - Track 14.mp3  2519
> 20-T╥A~1.MP3


Hmm, looks like the directory contains a pile of files that should match
one of these patterns

[0-9][0-9]-TRA~1.MP#
[0-9][0-9] - Track [0-9][0-9].mp3

The first pattern is indicative of FAT12/FAT16, the second of VFAT.
Seriously suspect that the directory entry got whacked in the head and
is corrupted.

You may find

https://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html

useful if you go the route of hexediting that directory entry.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join