3 ms·
The unix file system is a database, just not a particularly capable one. It is a hierarchical key-value database, with the file/directory name being the key.
by lisper 6y ago
The unix file system is a database, just not a particularly capable one. It is a hierarchical key-value database, with the file/directory name being the key. If your data fits that schema you're golden, otherwise not so much.
- tannhaeuser 6y agoTrue, but a bit reductionist. A Unix file system also gives certain guarantees. For example, you can atomically rename a complete directory tree while client program keep accessing the "old" ones, you have a large choice of excellent SCMs for tracking files, can have networked and/or distributed file systems, uniform permissions or ACLs ... all of which come in handy if you're running a web server.