dd if=/dev/sda1 of=card-file HTH Chris -- Chris ---------------------------------- E Mail chris@glovercc.clara.co.uk On Wed, 7 Jan 2004, Chris Walker wrote:
On Wed 07 Jan, Dennis Dryden wrote:
On Sun, 2003-12-28 at 15:05, Stuart Hammond wrote:
CF cards use the IDE specification and so i would imagin that they would work with any distro of linux. you can get compact flash to IDE converters, try www.cfide.co.uk (they are about 22 each with P&P) which id assume would work (as it is just a cable converter) Yours S Hammond
Oh well this little usb device cost's £6.99 so it seemed like a better idea then paying £20+. It can read a load of other card types then just compatct flash. I cant get the damed thing to work though. It's being seen by my usbdrivers(well its in usbveiw), and if i look at dmesg i can see that scsi has started playing with the device as sda but i cant mount it =(.
I've tryed this to mount the card but have had no luck(as shown):
icedesk:/home/dennis# mount -t vfat -o ro /dev/sda /mnt/usb-cardreader/ mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems
Does anyone have nay suggestions on what to try?
I can get my USB card to read in under Linux with the following entry in the fstab file - /dev/sda1 /mnt/memory_card auto user,iocharset=iso8859-15,kudzu,codepage=850,no auto,umask=0,exec 0 0 (no line wrap in case you want to cut and paste it in yours)
but have a problem that I would appreciate some help with. Is it possible to read the entire device in as a file of say 64MB or 128MB or whatever the device size is? The reason is that the card belongs to a work colleague and her husband has inadvertantly deleted some of her pictures using the camera controls. They normally use the dark side to read the card while it's in the camera but I just took the card out and bunged it in my reader. If I have a file I can then scan it for JPEG headers and might be able to recover stuff.
Any help appreciated.