Mounting an SD card
pop in your SD card in to the sheeva plug. the SD card is not mounted automatically and will not show up in the fdisk -l command.
you need to mount either /dev/mmcblk0 or /dev/mmcblk0p1 to a directory on the sheeva plug. either one of those will contain the sd card.
root@debian:/dev# mount -t ext2 /dev/mmcblk0p1 /mnt/sdcard/
root@debian:/dev# ls /mnt/sdcard/
lost+found
root@debian:/# df -h /mnt/sdcard/
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p1 471M 2.3M 445M 1% /mnt/sdcard
To test the read and write speed of your SD card
Type in the following command to write a file to the SD card that is 1GB big.
dd bs=1024 count=1M if=/dev/zero of=/path/to/sdcard/speedtest.txt
if you want a smaller file like 50MB to be written then just change it to
dd bs=1024 count=50K if=/dev/zero of=/path/to/sdcard/speedtest.txt
count determines the size of the file you are going to write.
After the command is finished it should print out the write speed like this (mine is very slow by the way)
892108+0 records in 892108+0 records out 104857600 bytes (105 MB) copied, 48.0403 s, 2.2 MB/s
To test the read speed run this command on the file you just created
dd if=/mnt/sdcard/speedtest.txt of=/dev/null
It should give you a print out like this
204800+0 records in 204800+0 records out 104857600 bytes (105 MB) copied, 0.857745 s, 122 MB/s
Now you will know if your SD card is fast enough to run a file system from.
