Hacker News new | past | comments | ask | show | jobs | submit login

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.



The ln command just doesn't expose the functionality.

http://stackoverflow.com/questions/80875/what-is-the-bash-co...


hmm 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...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: