I am using Ubuntu 12.04 and I am pretty new Linux world. I am really amazed when I am trying to create hard link for any directory but It failed. I can create hard links for files inside filesystem boundry. I know reason why we can not create hardlinks for files beyond file system.
I tried this command
nischay@NischayLaptop:~$ ln /Some/Direcoty /home/nischay/Hard-Directory
hard link not allowed for directory
nischay@NischayLaptop:~$ sudo ln /Some/Direcoty /home/nischay/Hard-Directory
[sudo] password for nischay:
hard link not allowed for directory
I just want to know the reason behind this. Is it same for all GNU/Linux distos and Unix flavours (BSD,Solaris,HP-UX,IBM Aix) or only in Ubuntu or Linux.
