determining the space used in / partition
Jerry McAllister
jerrymc at msu.edu
Tue Oct 2 09:07:22 PDT 2007
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list