pj1115
Joined: 22 Jan 2007 Posts: 23
|
Posted: Mon Jan 22, 2007 4:50 am Post subject: Mount fatms0:\ as Flash0:\? |
|
|
Hi, I was wondering if I could have some assistance.
I currently have the following code in my program:
| Code: |
sceIoUnassign("flash1:");
sceIoAssign("flash1:", "msstor0p1:", "fatms0:", IOASSIGN_RDWR, NULL, 0);
sceIoUnassign("flash0:");
sceIoAssign("flash0:", "msstor0p1:", "fatms0:", 0x01, NULL, 0);
|
That code unassigns the flash0/1 areas, and reassigns them to the root of the memory stick. Now, the problem is, I'm getting sick of having the files I'm loading and writing going to the root, and I want it to go to "fatms0:\dump\" instead.
sceIoAssign will only assign to block devices (so I've been told), and I want to mount a directory as the flash.
I've seen in some source code around the internet (never found out if any worked) similar code which mounts to a folder like this:
| Code: | | sceIoAssign("flash0:", "msstor0p1:/" , "fatms0:/Flash0/", IOASSIGN_RDWR, NULL, 0); |
Which is what I want to do.
It doesn't work at all.
Can anyone help me? |
|