3 ms·
Well, if symlinks seem inelegant, there are hard links as well, you know. Ultimate tag system: for each tag, make a directory with corresponding name, fill with
by Joker_vD 4y ago
Well, if symlinks seem inelegant, there are hard links as well, you know. Ultimate tag system: for each tag, make a directory with corresponding name, fill with hard links to appropriate files stored in one big directory of mud.
Of course, it all have to fit into a single disk drive, and actually deleting a file is difficult but hey, that must be easily solvable, details are left as an exercise for the reader.
- overlisted 4y agoThat's what I was thinking, too. Maybe also add some content-addressability or timestamp IDs into the mix to make renaming a safe operation. And just FYI: there is a reason why Git puts objects in subdirectories. Filesystem-based operating systems are surprisingly bad at handling extreme filesystems, so it might be wise to do what Git does in the main directory.