Firmlinks

Post Reply
Message
Author
bakunin
Posts: 597
Joined: 16. Aug 1999 6:44
Location: Lorsch (Südhessen)
Contact:

Firmlinks

#1 Post by bakunin »

Hi!

<blockquote><hr>
"A firmlink is sort of half-way between a symbolic link and a hard link:

Like a symbolic link, it is `by name', and contains no actual reference to the target. However, the lookup returns a node which will redirect parent lookups so that attempts to find the cwd that go through the link will reflect the link name, not the target name."
<hr></blockquote>

Ich muss zugeben, dass ich nicht genau verstehe, was das konkret bedeutet. Kann das jemand mal mit anderen Worten sagen?

Cheers,
GNU/Wolfgang

bakunin
Posts: 597
Joined: 16. Aug 1999 6:44
Location: Lorsch (Südhessen)
Contact:

Re: Firmlinks

#2 Post by bakunin »

Hi!

Ok, ich hab's inzwischen verstanden. Es ist wie ein symbolischer Link, nur verhält er sich wie erwartet, wenn man mit ".." ein übergeordnetes Verzeichnis anfordert. Z.B:

./foo/bar sei ein Verzeichnis
./baz sei ein Firmlink auf ./foo/bar
./qux sei eine Datei

Man macht "cd baz" und "cat ../qux" funktioniert. Wenn es ein symbolischer Link wäre statt ein Firmlink, müsste man "cd ../../qux" angeben.

Cheers,
GNU/Wolfgang

Post Reply