On 07/08/2010 10:15 PM, Adam wrote: > I understand the difference between hard links and symlinks, but don't > (yet) see where anyone would want to use a hard link instead of a > symlink. In what situations would a hard link be better or more > appropriate? Thanks in advance for any clarification on this!
symlinks reference things by name, hard links are baked into the
filesystem. If you rename a file that has inbound symlinks, all those
links break and are now useless. If you rename a file that has multiple
hardlinks, you've only changed the name on one of those instance, all
the links will continue to work as your expect.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Aug 4 - Samba Sep 1 - BOINC Oct 6 - Creating Firefox Extensions
