Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 01:41:55 -0400
From:      "Brian T. Schellenberger" <bts@babbleon.org>
To:        "Tortise@Paradise" <tortise@paradise.net.nz>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Symbolic Link Creating
Message-ID:  <200207220141.55160.bts@babbleon.org>
In-Reply-To: <040301c23141$686d3d20$0600a8c0@P1200n>
References:  <040301c23141$686d3d20$0600a8c0@P1200n>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 22 July 2002 01:34 am, tortise@paradise.net.nz wrote:
| Hi
| I am trying to work out how to symlink my log files from /var
| to /usr/var (?/usrvar/log/) as var is full.....to create some space.
| Should I copy the logs across then make the link?
| How do I actually make the link?  Do I make it for each file or can I do
| this for the whole directory?    Both Link and symlink do not seem to work,
| although I can find no instructions/examples and the man seems light on
| detail.

man ln.

I would do

mkdir /usr/var
mv /var/log /usr/var/log
ln -s /usr/var/log /var


| This is in FreeBSD Stable 4.0.
| With many thanks in advance.
| David Hingston MB ChB MBA
| _________________________________________________________________________
| tortoise@paradise.net.nz
| http://hingston.yi.org/
| http://pcmc.yi.org/
| If you seek a digitally signed response please advise.
| If you received a warning on reading this e-mail, please go to
| http://www.baycorpid.com/settings/email.asp?CA=healthcert to update your
| settings
|
|
|
| To Unsubscribe: send mail to majordomo@FreeBSD.org
| with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                        http://www.babbleon.org

http://www.eff.org                      http://www.programming-freedom.org 

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?200207220141.55160.bts>