/dev/usb/wfssrv
Jump to navigation
Jump to search
This article is a stub. You can help WiiBrew by expanding it. |
Used to interact with WFS devices.
Ioctls
Number | Name |
---|---|
0x2 | Init |
0x3 | Shutdown |
0x4 | DeviceInfo |
0x5 | GetDeviceName |
0x6 | UnmountVolume |
0x8 | ? |
0xA | WFSFlush |
0xC | WFSCreateDirectory |
0xD | GlobStart |
0xE | GlobNext |
0xF | GlobEnd |
0x10 | SetHomeDir |
0x11 | ChangeDir |
0x12 | GetHomeDir |
0x13 | GetCwd |
0x15 | WFSDelete |
0x16 | Rename |
0x17 | GetAttributes |
0x19 | WFSSrvCreateAndOpenFile |
0x1A | WFSSrvOpenFile |
0x1B | GetSize |
0x1E | Close |
0x20 | Read |
0x22 | Write |
0x2D | AttachDetach |
0x2E | AttachDetach2 |
0x41 | Rename2 |
0x47 | Close2 |
0x48 | ReadAbsolute |
0x49 | WriteAbsolute |
Error codes
Name | Error code |
---|---|
OK | 0 |
BUSY | -10001 |
OUT_OF_MEMORY | -10002 |
INVALID | -10003 |
ACCESS | -10004 |
LIB_NOT_INITIALIZED | -10005 |
LIB_ALREADY_INITIALIZED | -10006 |
LIB_VERSION_INCONSISTENT | -10007 |
FILE_TOO_BIG | -10008 |
NO_CHANGE_SIZE | -10009 |
MEDIA_ERROR | -10010 |
DEV_UNUSABLE | -10011 |
DEV_NOT_INITIALIZED | -10012 |
DEV_IN_USE | -10013 |
VOL_ID_ERROR | -10015 |
WRITE_PROTECTED | -10016 |
ALREADY_MOUNTED | -10017 |
PERMISSION | -10018 |
PERMISSION_CL | -10019 |
ACL_FULL | -10020 |
ACL_ENTRY_NOT_FOUND | -10021 |
AUTHENTICATION | -10022 |
CORRUPTION | -10023 |
DIRECTORY_QUOTA | -10024 |
MAX_HANDLES | -10025 |
INVALID_HANDLE | -10026 |
ALREADY_EXISTS | -10027 |
NOT_FOUND | -10028 |
NOT_EMPTY | -10029 |
NOT_FILE | -10030 |
NOT_DIRECTORY | -10031 |
FILE_OPEN | -10032 |
LOCKED | -10033 |
DIFFERENT_AREA | -10035 |
TRANSACTION_RESOURCE_LIMIT | -10036 |
DIR_ENTRY_FOUND | -10040 |
DIR_NODE_STRING_PREFIX | -10041 |
DIR_CHOICE_PREFIX | -10042 |
DIR_NODE_STRING_MISMATCH | -10043 |
DIR_NODE_CHOICE_NOT_FOUND | -10044 |
DIR_BLK_FULL | -10045 |
SRV_END_OF_PATH | -10060 |
SRV_PATH_DEPTH_1 | -10061 |
SRV_PATH_DEV | -10062 |
SRV_PATH_VOL | -10063 |
SRV_PATH_VOL_ROOT | -10064 |
PTREE_ENTRY_FOUND | -10071 |
PTREE_ENTRY_NOT_FOUND | -10072 |
PTREE_FULL | -10073 |
DEVICE_ERROR | -10080 |
DEVICE_INVALID_PARAMETER | -10081 |
BCACHE_ERROR | -10120 |
BCACHE_RESOURCE_LIMIT | -10121 |
BCACHE_INVALID_PARAMETER | -10122 |
BCACHE_NO_MEMORY | -10123 |
BCACHE_NOT_FOUND | -10124 |
BCACHE_MAX_DEVICES | -10125 |
BCACHE_INVALID_DEVICE | -10126 |
BCACHE_INVALID_HANDLE | -10127 |
BCACHE_INVALID_VOLUME | -10128 |
BCACHE_ALREADY_MAPPED | -10129 |
BCACHE_ALLOC | -10130 |
BCACHE_PMEM | -10131 |
VOLUME_ERROR | -10140 |
VOLUME_INVALID_PARAMETER | -10141 |
VOLUME_BCACHE_ALLOC | -10142 |
VOLUME_BCACHE_CONFIG | -10143 |
TRANSACTION_ERROR | -10160 |
TRANSACTION_INVALID_PARAMETER | -10161 |
ACL_ERROR | -10180 |
ACL_INVALID_PARAMETER | -10181 |
ACL_MAX_ENTRIES | -10182 |
ACL_CACHE | -10184 |
ACL_FILE | -10185 |
ACL_FILENAME | -10187 |
ACL_HANDLE | -10189 |
AREA_ERROR | -10220 |
AREA_INVALID_PARAMETER | -10221 |
AREA_BCACHE_ALLOC | -10222 |
NOT_IMPLEMENTED | -11026 |
UNKNOWN | -11027 |
FATAL_ERROR | -11028 |