[TLUG] How to determine the partition space ?
Tony Laszlo
tlug@linux.org.tw
Thu, 16 Sep 1999 11:44:14 +0900 (JST)
On Thu, 16 Sep 1999, Nazareth Shu wrote:
> I'd like to know how to arrange disk space for the directory of different partition.
> Following partition table is my plan to do:
>
> 2 GB HD Space for Linux:
> Partition Space(MB)
> ------------ ------------
> / ?
> /usr ?
> /usr/local ?
> /home ?
> /var ?
> swap 127
>
> /tmp -----> /home/tmp - Symbolic Link
> /var/tmp -----> /home/tmp - Symbolic Link
>
I recommend that you do an install first, then after
it is completed run the "df" command. Record that
information and use it as a guideline for adjusting
your partition size with fdisk or cfdisk.
/usr
is the place where much of your applications will
be installed, particularly if the installation is
automated as with turbolinux, redhat, debian, etc.
(not sure about debian, but assume it's the same).
/usr/local
is the place where much of the applications you
install manually will end up.
/var
can get very large if you have a lot of users'
mail coming in and even larger if the users are
getting newsgroup messages.
/home
is the place that you want to maintain so that
when you reinstall software it remains, keeping
you personal data intact. Make sure you don't
format this partition when you install a new
OS :)
/tmp
Personally, I don't see the merit in linking
this to /home/tmp . If you are unlucky enough
to have run out of space for /tmp, maybe, but
even then I think you can find a better place
to link to, e.g. /usr/local (if it is big
enough).
Here is the output of the df command on a
system which is running Turbolinux 4.0
on a bit more than 2G.
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda6 101471 53524 42707 56% /
/dev/hda10 27291 23435 2447 91% /home
/dev/hda15 1201695 980128 159476 86% /usr
/dev/hda12 152215 68834 75521 48% /usr/local
/dev/hda8 46815 31278 13120 70% /var