Re:Hierarchical File Systems are Dead
by makecheck on Sunday November 14, 2010 @11:39AM
(#1903512)
It seems like you could fake tagging in any hierarchical file system by using directories for tag names and hard links to files (not symbolic links).
A hard link basically gives multiple paths to the same data, sharing attributes like the owner and permissions. Using any linked path will change the file. The exception is that "rm" deletes just one link (hence the system call "unlink"), and the file is only lost when all its links are gone.
A hard link basically gives multiple paths to the same data, sharing attributes like the owner and permissions. Using any linked path will change the file. The exception is that "rm" deletes just one link (hence the system call "unlink"), and the file is only lost when all its links are gone.