この記事は2年以上前に書いたものです。
そのため情報が古い可能性があります。ご了承ください。m(_ _)m
そのため情報が古い可能性があります。ご了承ください。m(_ _)m
SDカードアダプタ付きのmicrosdhcカード。class 6
さっそく、玄芝に刺してみた。
root@debian:~# dmesg
・・・
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address 0001
mmcblk0: mmc0:0001 00000 3977216KiB
mmcblk0: p1
・・・
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address 0001
mmcblk0: mmc0:0001 00000 3977216KiB
mmcblk0: p1
ちゃんと認識してるっぽい。マウントしてみる
root@debian:~# mount /dev/mmcblk0p1 /mnt/tmp
root@debian:~# ls /mnt/tmp
root@debian:~# mount
rootfs on / type rootfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
tmpfs on /var/cache/apt type tmpfs (rw,noatime)
/dev/mmcblk0p1 on /mnt/tmp type vfat (rw)
root@debian:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 507M 149M 359M 30% /
tmpfs 252M 0 252M 0% /lib/init/rw
varrun 252M 260K 252M 1% /var/run
varlock 252M 0 252M 0% /var/lock
udev 252M 12K 252M 1% /dev
tmpfs 252M 0 252M 0% /dev/shm
tmpfs 252M 22M 231M 9% /var/cache/apt
/dev/mmcblk0p1 3.8G 32K 3.8G 1% /mnt/tmp
root@debian:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 4072 MB, 4072669184 bytes
53 heads, 52 sectors/track, 2886 cylinders
Units = cylinders of 2756 * 512 = 1411072 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 3 2887 3973120 b W95 FAT32
root@debian:~# ls /mnt/tmp
root@debian:~# mount
rootfs on / type rootfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
tmpfs on /var/cache/apt type tmpfs (rw,noatime)
/dev/mmcblk0p1 on /mnt/tmp type vfat (rw)
root@debian:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 507M 149M 359M 30% /
tmpfs 252M 0 252M 0% /lib/init/rw
varrun 252M 260K 252M 1% /var/run
varlock 252M 0 252M 0% /var/lock
udev 252M 12K 252M 1% /dev
tmpfs 252M 0 252M 0% /dev/shm
tmpfs 252M 22M 231M 9% /var/cache/apt
/dev/mmcblk0p1 3.8G 32K 3.8G 1% /mnt/tmp
root@debian:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 4072 MB, 4072669184 bytes
53 heads, 52 sectors/track, 2886 cylinders
Units = cylinders of 2756 * 512 = 1411072 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 3 2887 3973120 b W95 FAT32
さてどうしよう。。。