From owner-freebsd-questions Wed Apr 29 08:16:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24137 for freebsd-questions-outgoing; Wed, 29 Apr 1998 08:16:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24123 for ; Wed, 29 Apr 1998 08:16:18 -0700 (PDT) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id KAA11608; Wed, 29 Apr 1998 10:16:14 -0500 (CDT) From: "Paul T. Root" Message-Id: <199804291516.KAA11608@horton.iaces.com> Subject: Re: will this idea work? To: zamy27@hsonline.net (Scott Myron) Date: Wed, 29 Apr 1998 10:16:13 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <3546A165.728C0BFA@hsonline.net> from Scott Myron at "Apr 29, 98 06:41:26 am" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Scott Myron said: > ok, now my / filesystem is "really" small it's about 79% full with about > 6 megs left. now the only thing that really uses that filesystem now is > the /tmp. so my idea is to rm -r /tmp and then mkdir /usr/tmp then ln -s > /usr/tmp tmp (I think that's how to you do it) but if I create a > symbolic link to /usr/tmp in my / filesystem. will that work? this way > my tmp will have around 588 megs to do it's job. because sometimes when > I try to "make install" stuff it gives me errors how my / filesystem is > full.. well it's just an idea. thanks. Yes, this will work. But old time Unix guys will tell you to mount /usr RO. That saves the part of the disk that doesn't need to get touched much, from getting touched. YMMV. I don't do this. Another approach is to use mfs (swap) as your tmp directory. You need to add "options MFS" to your kernel and add: /dev/wd0b /tmp mfs rw,-s=98000 0 0 to your fstab. This works well, and if you have a good amount of swap space (and memory) it's a good use of resources. -- Air travel efficiency would improve if more travelers started going to less popular places. Dan Quayle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message