One of my CompactFlash cards has a corrupted filesystem, and I wonder if I can do anything about it to recover some of the photos I still have there.
I have tried to run fsck_msdosfs, and the result is this:
$ fsck_msdosfs -py /dev/da0s1
** Phase 1 - Read and Compare FATs
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
297 files, 1152256 free (36008 clusters)
$ fsck_msdosfs -y /dev/da0
Invalid sector size: 20487
The dcim/101msdcf appears as a file, whereas it's normally a directory with jpeg files in it. Post mount:
$ file dcim/101msdcf
dcim/101msdcf: ERROR: cannot read `dcim/101msdcf' (Argument list too long)
Do you have any hints as to what I could do to recover the files?