Date: Wed, 24 Mar 1999 20:37:33 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Christopher Michaels <ChrisMic@clientlogic.com> Cc: freebsd-questions@freebsd.org Subject: Re: moving /tmp to /var/tmp caused network trouble Message-ID: <19990324203733.A57049@scientia.demon.co.uk> In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB441A5FB9@site2s1> References: <6C37EE640B78D2118D2F00A0C90FCB441A5FB9@site2s1>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990324203733.A57049>