Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 02:26:12 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        John <freebsd-lists@i-zone.demon.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: a simple question about freebsd filesystems
Message-ID:  <20000612022612.V18462@fw.wintelcom.net>
In-Reply-To: <RgVhfUAoLJR5Ewk2@clues.freeserve.co.uk>; from freebsd-lists@i-zone.demon.co.uk on Mon, Jun 12, 2000 at 08:36:08AM %2B0100
References:  <RgVhfUAoLJR5Ewk2@clues.freeserve.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
* John <freebsd-lists@i-zone.demon.co.uk> [000612 00:34] wrote:
> Hello list
> 
> I have one hard drive with /, /var and /usr mounted on it. This hard
> drive is nearly full (75%). I have another hard drive with /home on it.
> This drive is nearly empty. 
> 
> I want it so that /usr/sys (and the directories below it) will use the
> 2nd hard drive as well as the first, so that I will not get errors when
> grabbing the sources and building world, for example. Can someone tell
> me how to do this, or if it is a FAQ, point me to the relevant URL. The
> system concerned is running 4.0-STABLE. The first hard drive is master
> on primary IDE the second one master on secondary IDE
> 
> I think it is accomplished via hard links but am very unsure, and would
> like comments from relative experts on how I should go about doing this,
> it is important that I get it right first time.

I would just make a directory called /home/spare and make more
directories under it such as src and ports, then move the files over
to the /home partition then use symlinks like so:

cd /usr
ln -s /home/spare/src /home/spare/ports .

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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?20000612022612.V18462>