Re: ln ist verrueckt oder ich...

From: Oliver Fromme <olli(at)secnetix.de>
Date: Thu, 19 Sep 2002 13:06:20 +0200 (CEST)

Fischer, Oliver <plexus(at)snafu.de> wrote:
> kann mir jemand das Verhalten von ln in folgender Situation erklaeren?
> [...]
> ~/dotfiles/xemacs-container $ ln -s .emacs ~/.emacs
> ~/dotfiles/xemacs-container $ cd ~/
> ~ $ ls -l .emacs
> lrwxr-xr-x 1 plexus wheel 6 Sep 19 09:12 .emacs -> .emacs

Symbolische Links sind nichts weiter als Strings, die beim
Anlegen keinerlei spezieller Interpretation unterliegen.
Aus diesem grund werden sie manchmal auch für Nutzdaten
verwendet, z.B. im Falle von malloc.conf:

$ ls -l /etc/malloc.conf
lrwxr-xr-x 1 root wheel 3 Dec 16 2001 /etc/malloc.conf -> AJR

Wenn Du sagst, daß der Symlink ~/.emacs den String ».emacs«
enthalten soll, dann tut er genau das. ;-)

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 19 Sep 2002 - 13:06:24 CEST

search this site