Re: Memory card block device driver

Torben Nielsen <[email protected]>
Newsgroups gmane.linux.ports.game-cube.devel
Message-ID <1084028654.1184.7.camel@hannibal>
On Sat, 2004-05-08 at 13:14, Groepaz wrote:
> On Saturday 08 May 2004 12:20, Torben Nielsen wrote:
> > I just checked a memory card block device driver into the CVS.
> > It cannot unlock the cards, so these are threated like fixed disks
> > (i.e. they must be present a boot so PSO unlocks them).
> > I haven't done extensive testing, but I was actually able to copy a
> > standard Nintendo 59 memory card to a blank card like this:
> >
> > 	mknod /tmp/card0 b 254 0
> > 	mknod /tmp/card1 b 254 1
> > 	dd if=/tmp/card0 of=/tmp/card1
> >
> > where 254 is the major device number assigned to the driver. Check
> > /proc/devices, there should be a line like this:
> >
> > 254 memcard
> >
> > Feel free to test it, but please don't use a memory card with important
> > data on it.
> 
> tip: dont copy the very first sector of the card to another card if
> you plan using it outside linux (first sector contains the unique
> card ID or decryption/unlock seed or whatever it is :))
> 
> gpz
> 
> 

Thanks for the tip. Now I wonder, is there any (easy) way to reformat
the card, or should I just try to restore the backup I made of the card
before I started writing to it?


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.