/tmp full (newbie)
Kent Stewart
kstewart at owt.com
Thu Feb 12 14:37:50 PST 2004
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 at bredband.net> wrote:
> >>I have read the handbook but have been following (It´s 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´ll 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´t figure out any other way to decipher this........do you???
At this point it doesn't matter, you have demonstrated that it doesn't
work for you. Now, you have to figure out what does work for you.
My /usr/ports shows 2.5GB for a du -h. There are probably a number of
other directories that you want to link to /home. I setup my systems
such that /var and /tmp each have 1.5 GB. /usr/src and /usr/obj are
current setup such that each have 1.5 GB and are located on different
HDs and controllers from /usr. On one system, /usr/ports is mounted
in /etc/fstab and has 10GB all for itself. You have to be flexible and
figure out what works for you. Don't be afraid to symlink and then
correct your configuration on your next setup.
Kent
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
More information about the freebsd-questions
mailing list