[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mitsubishi Melcard 1MB SRAM - LINUX Howto



> This is because the standard memory card driver memory_cs will not work on
> a 2.4.19 LINUX w/ pcmcia-3.2.1 external for this type of card.
> For read/write access to the cards data there is a workaround available
> (w/ the help of David Hinds ;-)
> (1) When the card is inserted the device file /dev/mem0c is created.
> 
> (2) dd if=/dev/mem0c of=sram.img bs=512 skip=1 counts=2046
> will copy the data to the file sram.img

Hmm.  So one can read the device.

> (3) mount sram.img /mnt -t msdos -o loop=/dev/loop3,blocksize=1024
> will make data available in directory /mnt. 

Hmm.  But then why doesn't 

mount /dev/mem0c /mnt -t msdos -o blocksize=1024

work?  True, I haven't tried it, but from the way Linux works (or my
understanding of how it works) I would have thought it _should_
work...

Well, thanks for the description at any rate, even though it does
baffle me a bit...

Sven
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html