In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

/dev/fs

From WiiBrew
< /dev
Jump to navigation Jump to search

The filesystem can be directly accessed through "/dev/fs".

There are several IOS functions for FS like Delete/Create/List/Rename/.. .

Files can be directly opened with IOS_Open("/tmp/data.bin",1);



The root folder looks like that:

/tmp

/meta

/import

/shared2

/shared1

/title

/ticket

/sys

For a more detailed example of how the file system structure can look, see http://www.openwii.org/forums/viewtopic.php?p=1241#1241.


Ioctls:



Request number Name input output notes
0x9 CreateFile 0x4C bytes. First 0x40 are used for the filename, 0x40-0x45 are unused,0x46-0x48 unknown but used, 0x49 is used for the attribute, 0x4A-0x4C unused. 0