From owner-freebsd-questions Wed Mar 24 13:27:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 69A1814EDA for ; Wed, 24 Mar 1999 13:27:44 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #4) id 10PuP7-000Eql-00; Wed, 24 Mar 1999 20:37:33 +0000 (envelope-from ben@scientia.demon.co.uk) Date: Wed, 24 Mar 1999 20:37:33 +0000 From: Ben Smithurst To: Christopher Michaels Cc: freebsd-questions@freebsd.org Subject: Re: moving /tmp to /var/tmp caused network trouble Message-ID: <19990324203733.A57049@scientia.demon.co.uk> References: <6C37EE640B78D2118D2F00A0C90FCB441A5FB9@site2s1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB441A5FB9@site2s1> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christopher Michaels wrote: > Maybe I'm just totally confused. But I thought "." was the current > directory, which in this case was the root dir "/". Or am I missing > something here? Yes - you haven't read the manual for ln(1) thoroughly enough :-) If the last argument is a directory, the links will be placed in that directory, with the same name as the original file. So, # cd / # ln -s /var/tmp . is the same as # cd / # ln -s /var/tmp tmp which is the same as # ln -s /var/tmp /tmp Hopefully you understand now, if not the manpage for ln(1) should clear things up. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message