From owner-freebsd-questions Fri Aug 16 12: 5:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3BD137B400 for ; Fri, 16 Aug 2002 12:05:44 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2637243E8A for ; Fri, 16 Aug 2002 12:05:44 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id MAA27500; Fri, 16 Aug 2002 12:04:48 -0700 Message-ID: <3D5D4CCE.3070701@owt.com> Date: Fri, 16 Aug 2002 12:04:46 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: "Jack L. Stone" Cc: Roman Neuhauser , MET , freebsd-questions@FreeBSD.ORG Subject: Re: How to add more space to the /usr partition || DUMB ! 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 >>>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