4 ms·
I am still waiting for a database-based file system. Some filesystems like NTFS/ReFS, BeFS and afaik ReiseFS4(?) and Btrfs(?)) could be extended. Microsoft ext
by frik 12y ago
I am still waiting for a database-based file system.
Some filesystems like NTFS/ReFS, BeFS and afaik ReiseFS4(?) and Btrfs(?)) could be extended. Microsoft extended the NTFS fs driver with the Cairo project in the NT4/5 era: http://en.wikipedia.org/wiki/Cairo_(operating_system) http://en.wikipedia.org/wiki/Cairo_(operating_system)
All of the other functions NTFS exports for the EFS
driver begin with the prefix NtOfs, which presumably
stands for NT Object File System. One of the original
goals of the NT 5.0 project (code-named Cairo) was to
develop an object-oriented file system. Although NTFS in
Win2K probably hasn't reached the level of object
orientation that the Cairo planners had in mind,
Microsoft has extended NTFS in several significant ways
from its NT 4.0 implementation. One of those ways is
NTFS's support for encrypted files via the NtOfs
interfaces.
-- http://windowsitpro.com/systems-management/inside-encrypting-file-system-part-1 http://windowsitpro.com/systems-management/inside-encrypting... , more info: https://books.google.at/books?id=5f3mlM-JKUAC&lpg=PA117&ots=uRVy3Jqu1x&dq=http%3A%2F%2Fmicrosoft.com%2Fntserver%2Fcairomb.htm&pg=PA117#v=onepage&q=http://microsoft.com/ntserver/cairomb.htm&f=false https://books.google.at/books?id=5f3mlM-JKUAC&lpg=PA117&ots=...
Later Microsoft moved the database to user mode, the WinFS project, the MS SQL db was stored in hidden directory on the NTFS filesystem: http://en.wikipedia.org/wiki/WinFS http://en.wikipedia.org/wiki/WinFS . WinFS failed because of its over complicated Metadata-Ontology and it was too slow for a filesystem (dotNet based shell extension). Microsoft moved the ideas to "SharePoint" (2007-2016) that overs now some of the proposed features: http://en.wikipedia.org/wiki/SharePoint http://en.wikipedia.org/wiki/SharePoint .
BeFS includes support for extended file attributes (metadata), with indexing and a querying language like a relational database: http://en.wikipedia.org/wiki/Be_File_System http://en.wikipedia.org/wiki/Be_File_System, BeFS book with all details: http://www.nobius.org/~dbg/practical-file-system-design.pdf http://www.nobius.org/~dbg/practical-file-system-design.pdf
The IBM AS/400 and iSeries had already a database-based filesystem in the 1980s: http://en.wikipedia.org/wiki/File_system#Database_file_systems http://en.wikipedia.org/wiki/File_system#Database_file_syste...
- SigmundA 12y agoWhat is the difference between a file system and a database? From my point of view a file system is just a specific kind of database (Hierarchical key value). Then we put other kinds of databases on top of the file system database. Funny isn't it? If the file system where a complete enough database we might not need things like SQLite which purports itself as a replacement for fopen, hmm, full circle. Of course we have barely figured out how to encode text, maybe one day we will know how to store and retrieve data flexibly and consistently, one day long from now. I personally like the relational model the best, it would be interesting to see a OS and files system based on the relational model rather than the hierarchical, but what do I know.
- noblethrasher 12y agoThe nice thing about computers (Turing Machines) is that they let us simulate anything, including having better[1] computers (that may just run a little slower). The big idea behind turning the file system into a "database" is that you would be able to simulate any kind of file system you wanted, including better ones. This is basically what RDBMSs like SQL Server and SQLite do. I also like the relational model the best, but it's just one of the many available simulations of "betterness". [1] Where "better" means: easier to program, or more reliable, or has infinite memory (garbage collection), or is easier to use, or...
- frik 12y ago> What is the difference between a file system and a database? An additional index, support for separate/extended file streams and a query language - all implemented in the (kernel mode) filesystem driver (like NTFS-Cairo and BeFS).
- kalleboo 12y agoIn Mac OS X HFS+ has also been extended with arbitrary extended file attributes[0] as well as a layer ontop of the filesystem called Spotlight[1] that indexes attributes as well as file contents for instant boolean searches. [0] http://arstechnica.com/apple/2005/04/macosx-10-4/7/ http://arstechnica.com/apple/2005/04/macosx-10-4/7/ [1] http://en.wikipedia.org/wiki/Spotlight_(software) http://en.wikipedia.org/wiki/Spotlight_(software)