Symbolic Link

samwyse samwyse at gmail.com
Wed Oct 10 16:03:29 CEST 2007


On Sep 9, 10:05 pm, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> In message <1o1Fi.33230$RX.26... at newssvr11.news.prodigy.net>,samwysewrote:
>
> > A hard-link, OTOH, allows
> > direct access to the contents of a file, as long as it is on the same
> > filesystem.  No extra steps are required, so the process runs a few
> > microseconds faster, and directory-level permissions can't get in the way.
>
> Hard links are best avoided, because of the confusion they can cause.

There are reasons to use hard links, there are reasons to use symbolic
links.  Depending on the circumstances, either could "cause confusion"
simply because either could do something other than what's needed.
Here's a handy chart to help decide which is appropriate:
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/ifs/rzaaxmstlinkcmp.htm




More information about the Python-list mailing list