Open probonopd opened 3 years ago
There's support in HFS Plus – kIsAlias
.
To the best of my knowledge: nothing comparable in UFS or OpenZFS.
On the Mac, one can even make an Alias on FAT32. So it is not filesystem dependent. It is just a binary file. If we find a spec for it, we might be able to implement it.
% file /media/da0s1/*lias
/media/da0s1/foo.png Alias: MacOS Alias file
This is how the file begins:
Yeah, whilst in the kitchen the phrase AliasManager came to mind. Whether you'll find relevant source code or spec, I have no idea.
At least conceptually it is explained here: https://en.wikipedia.org/wiki/Alias_(Mac_OS)#File_structure
Also via Wikipedia: Alias Manager | Apple Developer Documentation (deprecated)
Via https://github.com/nathanday/ndalias/issues/3#issuecomment-114761786:
Unlike a symlink, the original file can change and an Alias will still work.
https://eclecticlight.co/2020/05/21/bookmarks-a-type-of-alias-their-access-and-use/