Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: