SD Card with Debian Etch
12 febbraio 2008, 12:40 Debian , System , Tips & Tricks February 12, 2008, 12:40
I have a Canon PowerShot A560 digital camera that I carry with me forever.
When space on the machine begins to run out, do I back up all files on your SD Card For a while I backed up using the USB cable supplied with the camera.
I realized, however, a certain slowness in the transfer of files and - a much more serious - a degree of unreliability when to be transferred are the videos: I've a couple of times that the transfer of a file. Ancestors could be claimed as complete, while on the disk to which I make up was a file with the same name as that contained in the SD Card but completely empty!
Of course, when I have a free half hour will verify the nature of the problem, but the quickest solution was to insert the SD Card into your camera directly on my laptop, which runs a Debian GNU / Linux 4.0. (Etch). Here's how:
-
Verify that the kernel modules needed to mount the SD card are loaded:
# modprobe tifm_core
# modprobe tifm_sd# modprobe tifm_coreIf the modules work and want to load automatically every time, put them in / etc / modules.
# modprobe tifm_sd -
Insert the SD Card into the reader and verify that there is between the units ready for installation:
# fdisk -lYou must find the line that indicates the drive is formatted (usually) with FAT16:
/dev/mmcblk0p1 21 167680 1005958+ 6 FAT16 -
Verified this, simply mount the device on a directory prepared earlier (in my case: / media / SD):
# mount /dev/mmcblk0p1 /media/SD














