Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 14:19:15 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: help with ln "linking" Please! [attn manpage authors!]
Message-ID:  <20021010111915.GR21391@hades.hell.gr>
In-Reply-To: <20021009220536.F36987-100000@earl-grey.cloud9.net>
References:  <zgsmzg69y1.mzg@localhost.localdomain> <20021009220536.F36987-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-09 22:09, Peter Leftwich <Hostmaster@Video2Video.Com> wrote:
> On 8 Oct 2002, Gary W. Swearingen wrote:
> > Confusion comes about mostly because the "ls" command shows an arrow
> > pointing from the target (AKA destination) to the source, backwards from
> > what most people would expect when thinking of source and
> > destination/target.  The arrow points away from the target!  It also
> > shows them in reverse order from how they are given to "ln".
>
> That's a good point, the arrows do point in the "wrong" direction.  :)

Why?  The output below seems fairly obvious and correct when one
realises what a symbolic link is:

	keramida@hades[14:16]/home/keramida$ /bin/ls -l /etc/malloc.conf
	lrwxr-xr-x  1 root  wheel  2 Oct  8 14:25 /etc/malloc.conf -> AJ

Leaving the confusion of the words `target' and `source' that you have
been discussing aside, and thinking about it in terms of
implementation, it is malloc.conf that `points to' something named
`AJ'.  There is nothing wrong with the arrow.  malloc.conf is a
symbolic link, that references by name something named "AJ".
Therefore, malloc.conf `points to another entity' named "AJ.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010111915.GR21391>