Q. I have a compact flash card reader hardware device connected to USB port of computer system. Now how do I mount and access a compact flash card connected to this Linux system (Fedora Core)?
A. Your compact flash card will automatically detected by Linux. First create a mount point (type the following command as root user):
# mkdir -p /mnt/cflashcard
If you don't have any SCSI device, your first partition on a compact flash card should be /dev/sda1 (second will be /dev/sda2 and so on). If you have 1 SCSI device attached, your first partition on a compact flash card should be /dev/sdb1.
Mount partition using mount command:
# mount /dev/sda1 /mnt/cflashcard
To see or access files:
# cd /mnt/cflashcard
# ls -l
Open /etc/fstab file:
# vi /etc/fstab
Add an entry (append) to /etc/fstab file:
/dev/sda1 /mnt/cflashcard auto user,rw,exec 0 0
Save and close the file.
How do I unmount or unplug card?
First unmount card with umount command and then unplug card:
# umount /mnt/flash