続 SDHC カード

まずは 4GB の SD カードから。

tpx40$ fdisk ld0
Disk: /dev/rld0d
NetBSD disklabel disk geometry:
cylinders: 1940, heads: 64, sectors/track: 63 (4032 sectors/cylinder)
total sectors: 7825408

BIOS disk geometry:
cylinders: 971, heads: 128, sectors/track: 63 (8064 sectors/cylinder)
total sectors: 7825408

Partition table:
0: Primary DOS with 32 bit FAT (sysid 11)
    start 8192, size 7817216 (3817 MB, Cyls 1/2/3-970/52/52)
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
No active partition.
tpx40$ dd if=/dev/rld0d skip=8192 count=1 | hexdump -C
1+0 records in
1+0 records out
00000000  eb 00 90 20 20 20 20 20  20 20 20 00 02 40 8c 18  |...        ..@..|
00000010  02 00 00 00 00 f8 00 00  3f 00 80 00 00 20 00 00  |........?.... ..|
00000020  00 48 77 00 ba 03 00 00  00 00 00 00 02 00 00 00  |.Hw.............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 9c 9b cc f4 4e  4f 20 4e 41 4d 45 20 20  |..)....NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |  FAT32   ......|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
512 bytes transferred in 0.001 secs (512000 bytes/sec)
tpx40$ sudo mount -t msdos /dev/ld0e /mnt
tpx40$ ls /mnt
Documents
tpx40$ sudo umount /mnt
tpx40$
広告を非表示にする