BrainStorming: what would you put in a FileSystem?
Posted: Thu Apr 24, 2003 2:57 am
I'm a bit disappointed we're so many OS developers and talk so little about design issue ... I know very little of us are planning to implement a new FS, but if you had to design one, what kind of new features would you introduce ?
I generally consider the use of file has become more and more complicated in a modern OS (who haven't wasted precious seconds looking for a file lost somewhere ?)... I would like a system where i just have to mention i'm looking for "Intel Manuals" and the system would find it regardless of where it has been stored and under which name (did i kept the cryptic serial documentation number from Intel ? well, the system remember the content of the <a> ... </a> tags i downloaded it and that can help me finding back the file ... or did it just read the first pages of the PDF document to extract the title ?)
Is the document no more on my disk ? the system keep a track of where i archived it (cdrom title and burning date or where i get it from (oh yeah . we had that file, it was coming from developer.intel.com, but now we don't have it anymore ...)
This can certainly be implemented on top of EXT3 or NTFS, but i think a few extra features at the FS level could help:
I generally consider the use of file has become more and more complicated in a modern OS (who haven't wasted precious seconds looking for a file lost somewhere ?)... I would like a system where i just have to mention i'm looking for "Intel Manuals" and the system would find it regardless of where it has been stored and under which name (did i kept the cryptic serial documentation number from Intel ? well, the system remember the content of the <a> ... </a> tags i downloaded it and that can help me finding back the file ... or did it just read the first pages of the PDF document to extract the title ?)
Is the document no more on my disk ? the system keep a track of where i archived it (cdrom title and burning date or where i get it from (oh yeah . we had that file, it was coming from developer.intel.com, but now we don't have it anymore ...)
This can certainly be implemented on top of EXT3 or NTFS, but i think a few extra features at the FS level could help:
- use of strict (i mean unmodifiable by the user and correctly guessed by the system) and hierarchised file classes : a PDF file is an extension of Document (and therefore it has a title and an author), and it implements the TableOfContent and Printable interfaces ...
- store extra information that are class-specific aside of the file. No need to read the file content to know what's the title (or only once when the file is imported on the system) of a document or to know the list of files #included by a C source or the images requested by an HTML document.
- implements both index-accessed (get bytes from position 0x1234 to 0x5678) and key-accessed (get bytes for the record that has key "cyborg jeff") files ...