> I'm reinstalling Linux on my computer and want to know how to partition it.
> I was using RH5.0 and I had 2 partitions:
> One 60M partition for /
> and one 1800M partition for /usr
> do I even need multiple partitions?
No. I don't bother.
Quote:> Why would you partition it the way I did anyway?
Historically (for Unix systems) it has often been recommended, to keep
the system stuff in root on a separate filesystem than the "user stuff"
in /usr. If the /usr filesystem becomes corrupt due to a crash
(especially while running numerous applications with files open), then
the / filesystem is not necessarily affected. If you happen to lose
some essential files in /etc, the system may not be bootable.
Also, since things in / don't change as often as what's in /usr (which
used to include the users' home directories), keeping them separate
would perhaps reduce fragmentation of the / filesystem. But don't worry
about that one.
Sometimes / and /usr (and nowadays /var and /home) are put on separate
disks (note, *disks*, not just partitions). This can help with
performance. For example, if you have /home and / on separate disks,
you are in your home directory in /home/user and do a
vi file
the vi executable is read in from one disk (/) and the file is read from
another (/home), so you get some extra performance from the parallel
accesses. I've read that extra performance can happen if some
combination of /, /home, /usr, /var, /tmp, etc. are kept on separate
disks, but I don't know the full details of how much performance
increase to expect, which are most important to split up, and on what
operations additional performance would be significant.
Actually, this is probably worth some modern research, since CPUs and
RAM have increased in speed much more than hard disks over the past 10
or so years. Maybe someone has studied that recently...
- Jay Ts
--
Click on http://www.kachina.net/~jay to find out about
Linux Consulting, Web Design and Programming Services.
To be o' not t'be, dat be de bottom line. What it is, Mama!
- output of 'fortune | jive'