/dev/fs
This article is a stub. You can help WiiBrew by expanding it. |
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
/shared1
/ticket
/sys
Ioctl listing
Request number | Name | input | output | notes |
0x1 | Format | 0 | 0 | Don't try this!!! |
0x2 | GetStats | ? | ? | |
0x3 | CreateDir | ? | ? | |
0x4 | ReadDir | |||
0x5 | SetAttr | ? | ? | |
0x6 | GetAttr | 64 bytes for filename | 78 bytes for file attributes | |
0x7 | Delete | ? | ? | |
0x8 | Rename | ? | 0 | |
0x9 | CreateFile | 0x4C bytes: 4 for owner ID, 2 for group ID, 0x40 filename, 1 for each owner/group/other permissions, 1 for attributes, 2 unused (?) | 0 | |
0xb | GetFileStats | ? | ? | |
0xd | Shutdown |
/dev/fs error codes
Error code | POSIX equivalent | notes |
-1 | EACCES | Permission denied |
-2 | EEXIST | File exists |
-4 | st ... \n
Microbial Oasis Discovered Beneath the Atacama DesertTwo metres below the surface of the Atacama Desert there is an oasis of microorganisms. Researchers from the Center of Astrobiology (Spain) and the Catholic University of the North in Chile have found it in hypersaline substrates thanks to SOLID, a detector for signs of life which could be used in environments similar to subsoil on Mars. [Microbial Oasis Discovered Beneath the Atacama Desert] [GoodvilleNews.com - good, positive news, inspirational stories, articles] Disney Brings "Cars" To Life With Cars LandAfter five years in the making, Disney California Adventure is finally ready to rev up the engines on Cars Land. Disneys latest creation, based on the hit Pixar movie, brings the popular characters to life at Disney California Adventure. [Disney Brings "Cars" To Life With Cars Land] [GoodvilleNews.com - good, positive news, inspirational stories, articles] Food People PowerFor many years, people living in West Oakland had accepted eating unhealthy food as a way of life. That is, until a small group of people decided to change their community through Mandela MarketPlace, a non-profit that partners with local residents and rural, minority farmers to bring fresh agricultural produce to their local corner stores. Mandela MarketPlace now represents the difference that youth can make by challenging prevailing paradigms - you CAN select what you put in your body. [Food People Power] [GoodvilleNews.com - good, positive news, inspirational stories, articles] Paths Are Made By Walking2012s Baccalaureate speaker at the University of Pennsylvania was an unconventional choice for an Ivy League school. To address their newly-minted graduates, aspiring to dazzling careers, they picked a man who has never in his adult life, applied for a job. A man who hasnt worked for pay in nearly a decade, and whose self-stated mission is simply "to bring smiles to the world and stillness to my heart". [Paths Are Made By Walking] [GoodvilleNews.com - good, positive news, inspirational stories, articles] What Is Your Legacy? Living A Meaningful lifeI want the world to be better because I was here. I want my life, I want my work, my family, I want it to mean something and if you are not making someone elses life better then you are wasting your time Will Smith [What Is Your Legacy? Living A Meaningful life] [GoodvilleNews.com - good, positive news, inspirational stories, articles] |