Limitations of Hard Links
To prevent endless recursion, most modern operating systems don't allow hard links on directories. In addition, hard links on directories would lead to inconsistency on parent directory entries. A notable exception to this is Mac OS X v10.5 (Leopard) and newer, which use hard links on directories for the Time Machine backup mechanism only. Symbolic links and NTFS junction points are generally used instead for this purpose.
Hard links can only be created to files on the same volume. If a link to a file on a different volume is needed, it may be created with a symbolic link.
The maximum number of hard links to a single file is limited by the size of the reference counter: with NTFS this is limited to 1023 because a 10 bit field is used for this purpose. On Unix-like systems the counter is usually machine-word-sized (32 or 64-bit: 4,294,967,295 or 18,446,744,073,709,551,615 links, respectively), though in some filesystems such as btrfs the number of hard links is limited more strictly by their on-disk format.
Read more about this topic: Hard Link
Famous quotes containing the words limitations, hard and/or links:
“The motion picture made in Hollywood, if it is to create art at all, must do so within such strangling limitations of subject and treatment that it is a blind wonder it ever achieves any distinction beyond the purely mechanical slickness of a glass and chromium bathroom.”
—Raymond Chandler (18881959)
“Once you get into this great stream of history you cant get out. You can drown. Or you can be pulled ashore by the tide. But it is awfully hard to get out when you are in the middle of the streamif it is intended that you stay there.”
—Richard M. Nixon (19131995)
“All nationalisms are at heart deeply concerned with names: with the most immaterial and original human invention. Those who dismiss names as a detail have never been displaced; but the peoples on the peripheries are always being displaced. That is why they insist upon their continuitytheir links with their dead and the unborn.”
—John Berger (b. 1926)