From owner-freebsd-questions Tue Oct 8 0: 0:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6D0837B401 for ; Tue, 8 Oct 2002 00:00:37 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AFD943E4A for ; Tue, 8 Oct 2002 00:00:37 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (cb8e592a8afb2fb572aa29f29d996f46@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g9871cho083654; Tue, 8 Oct 2002 00:01:38 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g9871ctp083653; Tue, 8 Oct 2002 00:01:38 -0700 (PDT) (envelope-from monkey) Date: Tue, 8 Oct 2002 00:01:38 -0700 From: Adam Weinberger To: Peter Leftwich Cc: SweeTLeaF , FreeBSD LIST Subject: Re: help with ln "linking" Please! [attn manpage authors!] Message-ID: <20021008070138.GN81796@vectors.cx> References: <1034052310.551709c0SweeTLeaF@myrealbox.com> <20021008011209.B35848-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021008011209.B35848-100000@earl-grey.cloud9.net> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> (10.07.2002 @ 2216 PST): Peter Leftwich said, in 1.5K: << > On Mon, 7 Oct 2002, SweeTLeaF wrote: > > I am in the /usr/root ....dir > > ln -s desktop /root/Desktop/tmp > > You should be using `ln -s /root/Desktop/tmp /usr/root/desktop` no, he shouldn't be. when he looks at /root/Desktop/tmp he wants to see the contents of /usr/root/desktop. remember it this way, peter: the file that doesn't exist yet comes last. the problem with your command, sweetleaf, is that "ln -s desktop ..." doesn't make a link to "desktop" in your current directory. it makes it relative to the link. your command makes a link from /root/Desktop/tmp to /root/Desktop/desktop. unless you have a specific reason for making links relative, qualifying all links with full path names is your safest bet. -Adam -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message