From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 16:07:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246F016A417 for ; Tue, 2 Oct 2007 16:07:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id C20E013C44B for ; Tue, 2 Oct 2007 16:07:21 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l92G5w4G077371; Tue, 2 Oct 2007 12:05:58 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l92G5w90077370; Tue, 2 Oct 2007 12:05:58 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 2 Oct 2007 12:05:58 -0400 From: Jerry McAllister To: Zbigniew Szalbot Message-ID: <20071002160557.GA77351@gizmo.acns.msu.edu> References: <20071002060315.9EEC516A4DF@hub.freebsd.org> <94136a2c0710020824w53831cd1lde7f813dd0731d7b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94136a2c0710020824w53831cd1lde7f813dd0731d7b@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: determining the space used in / partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 16:07:22 -0000 On Tue, Oct 02, 2007 at 05:24:43PM +0200, Zbigniew Szalbot wrote: > > > I dump to /mnt/usbck/backup. Since backup dir was not present, the > > > script created it under / > > > > Naughty script. It should check against doing something like that, eg > > [ ! -d $backupdir ] && echo "no $backupdir - not mounted?" && exit 1 > > > > You do have a very small root filesystem for the size of your disk, so > > similar disasters may need some preventing. Something will want to use > > more than 100M in /tmp sometime, so you may want to symlink /tmp to say > > /usr/tmp if you haven't already. > > Yes, that's true. You see this was my second or third attempt to > install FreeBSD which having been successful :) has survived up till > today and does what I want. I am sure I will do many things in a > different way in future than I did last time. For example, I would > like to reserve a separate partition for /home and a separate one for > mail so that I have as little trouble moving things around as > possible. But - hey - I am on this list and learning quite a lot! > > And thanks for the /usr/tmp symlink tip! I actually prefer to make a separate filesystem (partition) for /tmp. That isolates it so it doesn't accidently trash another one, plus, you don't need to backup /tmp so I definitely don't want to put it somewhere that gets backed up and waste that backup space. ////jerry > > Zbigniew Szalbot > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"