On 2010-08-28 07:06, alexbariv wrote:
>
> Hi everybody.
>
> I’m investigating a lit about this, and wanna check some opinions
> around, and well that is the question:
>
> I always wonder what benefice could I get if when in a install I place
> the /home, /usr, /tmp, /var in different partitions like some installers
> around always recommend.
>
> Just curious about. In my case I always do only two partitions, Swap
> and /.
There are many reasons, and most have been already said in this thread.
A very old one is limitation of damage: if a program goes berseck and fills up all the space, for
example with a lot of files in /home or /tmp or /var, the system will crash - except perhaps if that
directory happens to be on a different partition, then / will not be filled up.
Or, if you have a filesystem crash which totally destroys a partition, well, it is only a partition,
not all of them.
Then, you can tune each partition for its uses. The article “oldcpu” mentioned is very interesting,
regarding the mount flags for /tmp or /home. There are anothers. The /var/mail (when maildir is
used) or /var/spool/news/ directories, I like with reiserfs - because they have zillions of small
files. I also like xfs for /home, ext3 for / , and ext2 for /boot. Compilation runs, I think, faster
on reiserfs, too.
Another reason is upgrades: like in windows you should have system C: and documents in D: (a
practice that even manufactures forget), in linux you should have /home separate (and probably
/usr/local), so that you can install a new fresh system and keep your data.
Another is backup dumps: you usually don’t need to backup the system every day, but you might do for
data.
The problem, is, of course, fragmentation. But then, you can use LVM.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))