Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 14:37:39 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        Barbish3@adelphia.net
Subject:   Re: /tmp full (newbie)
Message-ID:  <200402121437.39908.kstewart@owt.com>
In-Reply-To: <402BF53A.1010308@bredband.net>
References:  <MIEPLLIBMLEEABPDBIEGKEMKFKAA.Barbish3@adelphia.net> <20040212232451.3fdc67e0@it.buh.cameradicommercio.ro> <402BF53A.1010308@bredband.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 12 February 2004 01:50 pm, gaf wrote:
> Ion-Mihai Tetcu wrote:
> >On Thu, 12 Feb 2004 22:04:53 +0100
> >
> >gaf <moak@bredband.net> wrote:
> >>I have read the handbook but have been following (It=B4s easier to
> >> have a book in front of you when installing).  The Complete
> >> FreeBSD  4th edition when installing, where Greg Lehey recommends
> >> the partitioning that I have running right now so.....
> >
> >HE DOES NOT.
> >
> > >/                     4G
> > >swap          800M
> > >/home           35G
> >
> >NOP. No way.
> >
> >What he says and you forgot to do is something about sym-linking
> > /tmp to /var/tmp, if memory serves. If you want to extent this to
> > have symlinks like this: /tmp --> /home/tmp
> >/usr --> /home/usr
> >/var --> /home/var
> >you can. But there is no reason to do so.
> >In fact the default setup is just the other way:
> >/home --> /usr/home
> >Please refer to hier(7) to see layout of FreeBSD.
> >
> >Grog's book was for a few years the only one available and it's my
> > personal favorite. Nevertheless the FreeBSD handbook is the
> > official reference.
> >
> >>as a newbie how should I know which one is the most accurate?  Now
> >> I know you ll say the handbook, so from now on I will follow the
> >> handbook.
> >
> >Read Grog's book, it makes a few times every cent you have spent on
> > it.
> >
> >>Thanks for answering
> >>gaf
>
> I have the book in front of me.....sorry  but there are nothing said
> about symlinks.
> It says:
> " Creating the file systems
> With these considerations in mind, we=B4ll divide up the disk in the
> following manner:
> 4G for the root file system, which includes /usr and /var
> 512M swap space
> The rest of the disk for /home file system"
>
> Next is "Selecting distributions"
> I can=B4t figure out any other way to decipher this........do you???

At this point it doesn't matter, you have demonstrated that it doesn't=20
work for you. Now, you have to figure out what does work for you.=20
My /usr/ports shows 2.5GB for a du -h. There are probably a number of=20
other directories that you want to link to /home. I setup my systems=20
such that /var and /tmp each have 1.5 GB. /usr/src and /usr/obj are=20
current setup such that each have 1.5 GB and are located on different=20
HDs and controllers from /usr. On one system, /usr/ports is mounted=20
in /etc/fstab and has 10GB all for itself. You have to be flexible and=20
figure out what works for you. Don't be afraid to symlink and then=20
correct your configuration on your next setup.

Kent

=2D-=20
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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