Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 12:04:46 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        "Jack L. Stone" <jackstone@sage-one.net>
Cc:        Roman Neuhauser <neuhauser@bellavista.cz>, MET <met@uberstats.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: How to add more space to the /usr partition || DUMB !
Message-ID:  <3D5D4CCE.3070701@owt.com>
References:  <20020816180015.GC1946@grumpy.dyndns.org> <002801c2454b$60fbbe90$6901a8c0@SURVIVAL> <20020816180015.GC1946@grumpy.dyndns.org> <3.0.5.32.20020816134457.018b29d0@mail.sage-one.net>

next in thread | previous in thread | raw e-mail | index | archive | help


Jack L. Stone wrote:

> At 08:13 PM 8.16.2002 +0200, Roman Neuhauser wrote:
> 
>>>Date: Fri, 16 Aug 2002 13:00:15 -0500
>>>From: David Kelly <dkelly@hiwaay.net>
>>>Subject: Re: How to add more space to the /usr partition || DUMB !
>>>
>>>If /usr is too lean for future use such as having enough space for
>>>rebuilding the system then "mkdir /home/obj" and "rm -rf /usr/obj; ln -s
>>>/home/obj /usr/obj". Can do the same thing for /usr/ports, and /usr/src,
>>>altho I suggest one use "mv".
>>>
>>>I have moved /usr/obj and /usr/ports this way on several machines.
>>>FreeBSD is quite happy with a symbolic link for these.
>>>
>>   but you should be warned that e. g. cvs breaks if your repository
>>   path contains symlinks. there's bound to be more boneheaded
>>   software, though it might not reach the cvs level.
>>
>>-- 
>>
> 
> It was also my understanding that "symlinks" can slow things down too.....
> not sure about that, but a consideration for any directories that move a
> lot of data...


On my system that does buildworlds the fastest, I created 1.5 GB 
partitions on the 2nd and 3rd hard drives for /usr/src and /usr/obj. 
Each HD is on its own ATA-100 controller. I mount in them /etc/fstab as 
/usr/src and /usr/obj. The 1.5 GB is overkill but I am only using 10% of 
what was left, which means I haven't affected anything.

I also did this so I could NFS mount them. Make knows the real path and 
builds on linked fs also have to be linked the same way on the system 
doing the nfs_mounting.

Kent

-- 
Kent Stewart
Richland, WA
http://users.owt.com/kstewart

Carl Sagan quote on Seti@home
http://setiathome.ssl.berkeley.edu/pale_blue_dot.html



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?3D5D4CCE.3070701>