User manual

Linux Guide taskit GmbH
3. Mounting MMC or SD-cards
An MMC- or SD-card can be used to save larger amounts of data.
Before you can mount a card you have to create a directory as mountpoint: mkdir /data .
To map a card mounted in the MMC slot to a FAT file system, use the following command:
mount -t vfat /dev/mmc/blk0/part1 /data
If an ext2 file system is on the MMC card, the command is:
mount -t ext2 /dev/mmc/blk0/part1 /data
Nowadays some vendors deliver their cards without any partition. These cards can then be
mounted by accessing the entire disc:
mount -t ext2 /dev/mmc/disc/part1 /data
When using MMC/SD-card have in mind that the driver doesn't support hotplugging. As a
result it is necessary that the SD/MMC-card you want to use, has to be inserted before the
operating system boots up. SD/MMC-cards inserted after the boot process, won't be
detected.
If an MMC/SD-card was inserted before the boot process and mounted, it can be removed
after unmounting: umount /data. After that it is not possible to insert the same, or any
other card, again.
If it is essential for you to have a removable mass storage device, the best solution is to
use an USB memory stick. It can be inserted after the boot process and mounted (mount /
dev/sda1 /data). After unmounting (unmount /data) it can be removed and another USB-
stick can be inserted.
Page 8 of 65 Version 1.26 (2008-04-30)