From owner-freebsd-questions Sat Jan 3 17:23:29 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA17514 for questions-outgoing; Sat, 3 Jan 1998 17:23:29 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA17500 for ; Sat, 3 Jan 1998 17:23:22 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id LAA20683; Sun, 4 Jan 1998 11:53:09 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id LAA07438; Sun, 4 Jan 1998 11:53:08 +1030 (CST) (envelope-from grog) Message-ID: <19980104115308.21618@lemis.com> Date: Sun, 4 Jan 1998 11:53:08 +1030 From: Greg Lehey To: Hans Petter Bieker Cc: FreeBSD Questions Subject: Re: Why dump to /var?? References: <19980104102759.11459@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: ; from Hans Petter Bieker on Sun, Jan 04, 1998 at 02:02:51AM +0100 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sun, Jan 04, 1998 at 02:02:51AM +0100, Hans Petter Bieker wrote: > On Sun, 4 Jan 1998, Greg Lehey wrote: >>> not enough free space? On which device? in my /var/crash directory? >> Presumably, unless you've changed /etc/rc. > > Doesn't savecore know which partition it should dump to? if not -- how > does it can it find out if the partition is full without trying to write? It takes the directory name as a parameter. Take a look in /etc/rc. > $ mkdir /tmp/c > /: write failed, file system is full > mkdir: c: No space left on device Boy, that *is* full. Not even space for a directory block. > is it possible to do something similar here? Or is this msg generated by > the kernel? The high-intensity messages are generated by the kernel. But what do you mean "something similar"? Do you mean, can you put your /tmp file system elsewhere? Yes, you can. Just do this: # mkdir /home/tmp # mv /tmp /TMP # ln -s /home/tmp /tmp At some later time, when you're sure you don't need anything in /TMP, you can remove it and its contents. Greg