Date: Wed, 29 Apr 1998 10:16:13 -0500 (CDT) From: "Paul T. Root" <proot@horton.iaces.com> To: zamy27@hsonline.net (Scott Myron) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: will this idea work? Message-ID: <199804291516.KAA11608@horton.iaces.com> In-Reply-To: <3546A165.728C0BFA@hsonline.net> from Scott Myron at "Apr 29, 98 06:41:26 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804291516.KAA11608>