From: Torben N. <tr...@bi...> - 2004-05-08 15:44:11
|
On Sat, 2004-05-08 at 17:04, Torben Nielsen wrote: > 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? > > OK, I was lucky... The cube just suggested that I formatted the card, so I did that. |