4 ms·
Does anybody know how they implemented directory hardlinks in Mac OS (they use them for time maschine I think)?
by tobias3 16y ago
Does anybody know how they implemented directory hardlinks in Mac OS (they use them for time maschine I think)?
- SoftwareMaven 16y agoI just tried to do a directory hard link and it failed. $ ln ~ hardlinkdir ln: /Users/travis: Is a directory $ ln -s ~ hardlinkdir $ My guess is that they have implemented something like soft links with cleaner shell support, so you can't tell they are something like soft links.
- wzdd 16y agoThe ln command just doesn't expose the functionality. http://stackoverflow.com/questions/80875/what-is-the-bash-command-to-create-a-hardlink-to-a-directory-in-os-x http://stackoverflow.com/questions/80875/what-is-the-bash-co...
- tobias3 16y agohmm I guess you can do too much damage with directory hardlinks. Like link the root into your home directory. A recursive delete on the home directory would then delete all files...