For example, here is a disk's layout:
/bios.lua
/rom/myprogram
/rom/myfolder/myprogram
/myfolder/anotherprogram
This would result in a computer running the given bios.lua, a read-only "rom" folder with the files and folders contained in it, and a NON read-only folder "myfolder" with a file "anotherprogram" in it. The bios file would still be intangible and invisible as far as the OS can see.
Another example:
/myprogram
The user would not be able to craft the computer with this disk as it is missing a bios.lua file.
Final example:
/bios.lua
/myprogram
/rom/
/mysecondprogram
This would result in a computer running the given bios.lua, with an empty rom folder and two non read-only files "myprogram" and"mysecondprogram."
This would open a new path for advanced OS's and virus-proof systems, but at the disadvantage of being single-use - you can't fix bugs in the code without creating a new computer.
Edited by apemanzilla, 27 February 2015 - 02:21 PM.