Skip Navigation
Site HomeSearch

On-Line Reference:
RedHat Linux Unleashed

Did this help?
... or
Donate at PayPal®...

Tux the Pengin

OK, here's a freebie: A simulation of the old text-based Star Trek game we used to play on HP 2100's using a Teletype ASR-33 as a console: StarTrek Game

Reading Files From A Kodak PCMCIA Memory Card

My in-laws recently visited and took some video stills. Their Sony dumped the images into a Kodak PCMCIA memory card as high-resolution JPEGs. My wife wanted one or two of them, so I shoved the card into my Linux-equipped Micron GoBook laptop. Everyone thought I had to have Windows and Kodak software.
Uh-uh... just Linux. :D

General instructions:

To install or perform this, you need to be root (admin, jedi, whatever...); that’s why I show the "#" prompt in the instructions.

If you are logged in as a user ("$" prompt), use the "switch user" command: type su root and then enter your root password at the prompt.

Now, to read the card:

  1. As root, create a mount point:
    # mkdir /mnt/mem
  2. Insert the PCMCIA card and inspect /var/log/messages to see what device the card is identified as:
    # tail /var/log/messages.
    It should show up as a hard drive, like "hde:hde1":
    ... kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
    ... kernel: hde: SunDisk SDCFB-10, ATA DISK drive
    ... kernel: ide2 at 0x100-0x107,0x10e on irq 3
    ... kernel: hde: 20480 sectors (10 MB) w/1KiB Cache, CHS=320/2/32
    ... kernel:  hde: hde1
    ... kernel: ide_cs: hde: Vcc = 3.3, Vpp = 0.0
    ... kernel: end_request: I/O error, dev 02:00 (floppy), sector 0
  3. Now just mount the card as if it was a drive:
    # mount -t auto /dev/hde1 /mnt/mem
  4. You should then be able to see files on the card:
    # ls /mnt/mem
Print plain