[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Symbolische Links und Parent Dir



Hallo Christian
On Sat, 13 Nov 2004 17:28:42 +0100
Christian Schmidt <christian.schmidt@chemie.uni-hamburg.de> wrote:
> 
> Gab es bei symbolischen Links nicht die Einschraenkung, dass sie
> nicht ueber Partitionsgrenzen hinweg funktionieren?
> 
> Oder verwechsle ich da etwas?

Das ist doch gerade andersherum, symbolische links können über
"Filesystemgrenzen" hinwegzeigen, hard links hingegen nicht. In der
info-page zu ln steht nämlich folgendes:
--- snip ---
   A "hard link" is another name for an existing file; the link and
the
original are indistinguishable.  Technically speaking, they share the
same inode, and the inode contains all the information about a
file--indeed, it is not incorrect to say that the inode _is_ the file.
On all existing implementations, you cannot make a hard link to a
directory, and hard links cannot cross filesystem boundaries.  (These
restrictions are not mandated by POSIX, however.)
--- snap ---

MfG Salvatore



Reply to: