Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2007 12:05:58 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Zbigniew Szalbot <zszalbot@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: determining the space used in / partition
Message-ID:  <20071002160557.GA77351@gizmo.acns.msu.edu>
In-Reply-To: <94136a2c0710020824w53831cd1lde7f813dd0731d7b@mail.gmail.com>
References:  <20071002060315.9EEC516A4DF@hub.freebsd.org> <Pine.BSF.3.96.1071002235035.25264A-100000@gaia.nimnet.asn.au> <94136a2c0710020824w53831cd1lde7f813dd0731d7b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002160557.GA77351>