pavement

Links

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
Hard links make a copy of the metadata for the file that is linked - there is still only one set of the actual data for the file, but there are now directory entries in two places which reference it.
 
Hard links make a copy of the metadata for the file that is linked - there is still only one set of the actual data for the file, but there are now directory entries in two places which reference it.
  
[[Category:System Commands]]
+
[[Category:FreeBSD Terminology]]

Revision as of 10:28, 18 December 2004

In Unixlike OS'es, there are two type of links: hard links and "soft" (or symbolic) links.

Soft links, aka symbolic links or "symlinks", are roughly analogous to MS Windows' "shortcuts" - they are complete files in their own right which serve as pointers. For example, a symlink might serve to say to the filesystem, "if you're looking for /usr/bin/myprogram, go to /usr/sbin/myprogram".

Hard links make a copy of the metadata for the file that is linked - there is still only one set of the actual data for the file, but there are now directory entries in two places which reference it.

Personal tools