3 ms·
I 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
by SoftwareMaven 16y ago
I 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...