Re:Rethinking the filesystem as global mutable state, the ro...
by JoeAltmaier on Tuesday June 11, 2019 @03:32PM
(#20158756)
By attributes. Which one did you want? The latest? The one created by app X? The one you printed yesterday?
The fact is, you can do these queries if you allow flexible attributes. With a fixed file system (almost all file systems) you cant ask. In practice, you've already overwritten the one you want, or one app conflicted with another, or you just can't do you want (have two versions of an app installed at the same time).
I've spent time crawling around the SCSI/SAS/Storage of systems like that. Wrote dirty hacks for end-user clients to cope with incompatibilities. EG multiple versions with the same filename are totally fine. Filenames needn't and aren't unique in such systems, just another col in the DB. How do you tell a Windows ftp client which of the 20 different "report.txt" files it should download? (Filezilla actually has 'VMS' options for this, its more common than you think.)
If all you ever deal with is relatively simple, well defined, CRUD type applications on entirely abstract systems in some remote infrastructure, its easy to think that's how all development should look. It doesn't and it shouldn't.