
Mein Lehrer hat mir seinen Laptop (mit Fedora 16) und eine Compact-Flash-Karte mit Daten gegeben. Er möchte auf die Dateien auf der Karte zugreifen, aber er kann nicht darauf zugreifen. Das Problem ist, dass Linux nicht weiß, um welchen Partitionstyp es sich handelt. Ich nehme an, es gibt JFS:
root@debian:~# dmesg |grep sdc
[ 9066.908223] sd 3:0:0:1: [sdc] 3940272 512-byte logical blocks: (2.01 GB/1.87 GiB)
[ 9066.962307] sd 3:0:0:1: [sdc] Write Protect is off
[ 9066.962310] sd 3:0:0:1: [sdc] Mode Sense: 03 00 00 00
[ 9066.962312] sd 3:0:0:1: [sdc] Assuming drive cache: write through
[ 9067.028420] sd 3:0:0:1: [sdc] Assuming drive cache: write through
[ 9067.028637] sdc: unknown partition table
[ 9067.097065] sd 3:0:0:1: [sdc] Assuming drive cache: write through
[ 9067.097281] sd 3:0:0:1: [sdc] Attached SCSI removable disk
und einige Daten:
root@debian:~# hexdump -Cn 65536 /dev/sdc
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00008000 4a 46 53 31 01 00 00 00 48 63 0e 00 00 00 00 00 |JFS1....Hc......|
00008010 00 10 00 00 0c 00 03 00 00 02 00 00 09 00 00 00 |................|
00008020 00 20 00 00 00 09 20 10 02 00 00 00 00 00 00 00 |. .... .........|
00008030 04 00 00 00 26 00 00 00 02 00 00 00 24 00 00 00 |....&.......$...|
00008040 41 03 00 00 16 00 00 00 00 02 00 00 a0 cc 01 00 |A...............|
00008050 37 00 00 00 69 cc 01 00 b6 d8 ac 4b 00 00 00 00 |7...i......K....|
00008060 32 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |2...............|
00008070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00008080 00 00 00 00 00 00 00 00 90 15 e5 5f e3 c4 45 fa |..........._..E.|
00008090 9d 6a 5c b5 4f da 62 1a 00 00 00 00 00 00 00 00 |.j\.O.b.........|
000080a0 00 00 00 00 00 00 00 00 c3 c9 01 00 ed 81 00 00 |................|
000080b0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000080c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
[cut]
*
0000f000 4a 46 53 31 01 00 00 00 48 63 0e 00 00 00 00 00 |JFS1....Hc......|
0000f010 00 10 00 00 0c 00 03 00 00 02 00 00 09 00 00 00 |................|
0000f020 00 20 00 00 00 09 20 10 00 00 00 00 00 00 00 00 |. .... .........|
0000f030 04 00 00 00 26 00 00 00 02 00 00 00 24 00 00 00 |....&.......$...|
0000f040 41 03 00 00 16 00 00 00 00 02 00 00 a0 cc 01 00 |A...............|
0000f050 37 00 00 00 69 cc 01 00 b6 d8 ac 4b 00 00 00 00 |7...i......K....|
0000f060 32 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |2...............|
0000f070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0000f080 00 00 00 00 00 00 00 00 90 15 e5 5f e3 c4 45 fa |..........._..E.|
0000f090 9d 6a 5c b5 4f da 62 1a 00 00 00 00 00 00 00 00 |.j\.O.b.........|
0000f0a0 00 00 00 00 00 00 00 00 c3 c9 01 00 ed 81 00 00 |................|
0000f0b0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0000f0c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00010000
Ich bin ein absoluter Neuling in Sachen Dateisysteme. Ich habe gegoogelt und herausgefunden, dass der JFS-Superblock möglicherweise mit dem Offset 0x8000 beginnt. Aber wie geht es weiter? Wie mounte ich diese Karte? Wenn es eine normale Partitionstabelle gäbe, würde ich 55 AA auf dem 510. und 511. Byte erwarten, aber die ersten 8000 Bytes sind leer. Für jede Hilfe wäre ich sehr dankbar.