Archive / / / 2002-07-25-filesystem.txt
2002-07-25 20:10:41 UTC
previous next
/system /programs /config /users ---------- /global global public glb glo pub shared /global/config config cfg conf /global/config/windows windows win winemu /global/config/{name}/ /global/temp/{name}/ |-- Deleted on reboot /global/log/{name}/ /programs exec bin programs /programs/{name}/ /programs/libraries library libraries lib /programs/libraries/windows windows win winemu /programs/libraries/{name}/lib{name}.so.1.2 /system system sys root /users users home user /users/{user}/config config cfg conf /users/{user}/config/windows windows win winemu /drives/cdrom{number} \ /drives/floppy{number} |- ??? /drives/dvdrom{number} / {name} is replaced by the program or library name must register name with OS before rights are granted to its directories (folders?) to keep name unique Entire OS must be completely reset if /global and /users directories are moved/deleted, i.e. ALL configurating goes there, however all programs will remain installed and will work as if they were just installed. I.e. write-protect other directories. Write protect /programs directories. Special calls required to add files to /programs dir, must have registered program name, when registering programs name, permission dialog pops up, asks for admin password if user is not admin (even if admin?) command line programs? possibly /programs/cmdline.conf or (/global/config/kryptos/cmdline.conf and /users/{user}/config/kryptos/cmdline.conf) with a list of programs that can be run without a directory in front of them and their path mounting cd-roms? programs do not always fit cleanly into program files, and config files. Program Names can contain spaces, punctionation /programs/{name}/info.conf - contains information on: (read-only) - if it should be run from the command line, if so what is its command line name - MIME-types recognized and program to run for each - version information - icon - default menu placement/icon placement on desktop, etc. (for rebuilding config) - program to run to rebuild config - libraries required / libraries requested what about add-ins? drivers? filesystems? their config files? Allow everything here to be changed, make it possible for windows filesystem to not be emulated, make it possible to make unix filesystem linux: /var - changing data, ex: logs, apache scoreboard file, caches, Temp. internet files /usr - programs /home - user files /root - root user files must have unix power, mac user friendlyness (CAN BE TURNED OFF.), windows compatibility Instead of My Computer, have My Start or something that is the start-type menu AND the my computer dialogs. Have it in ~/start/ and make it have links to eg. all drives that are accessable, the documents, the root directory, programs, all via sym-links. Also make small html version so can be used from browser's start page? Instead of redirecting requests for Program Files to a /windows dir, make a /programs/{name} dir and generate an info file for it and save the inital registry entries into a file and make a small program to restore it and register it as the program to rebuild config ? possibly /programs/{company}/{program}/{version} ? what about small programs (one file programs + config)? /programs/misc/? use CLSID type thing to ID shared library files?