Mike's Partitioning Guide

If you would like an introduction to administrating Linux according to me, see my Linux Administration Guide, not to be confused with the Official L.U.G..

What's a partition?

The PC Webopedia has a good definition of a partition with links to help you.

To be completed ...

Why bother?

To be completed ...

Advice

Here are some directories that make good partition mount points because of what they usually store, etc. It really depends on how much each is going to grow, or stay around the same size.

For more information on the standard UNIX directory layout, see the Filesystem Hierarchy Standard version 2.0.

Mount point Size Description
/ * Your root partition should be big enough to handle all the files that aren't in the other partitions.
/boot 10-50 meg Your boot partition holds your kernel images, etc. It's a good idea to make it the first partition on your first drive so that your kernel images are always in the fist 1024 cylinders. If you don't know why, just trust me.
/var/log 10+ meg Most of your log files will be created here. Depending on how busy the computer is, it may create a lot of log files. Logrotate is a program designed to automatically "rotate" your logs and delete old ones, but depending on how long you specify to keep them, you may need up to 100 meg for this partition. The advantage to partitioning this directory is that a log overrun attack (where a deviant person tries to fill up your drive by doing something repeatedly that your system logs) will fill up this partition and no more.
/home 500+ meg Users' own files reside in /home/(username) so making this its own partition can keep users from filling up your valuable disk space for installing software, compiling programs, etc. This is a good idea even on a personal machine as you may create user accounts for friends & family and not want them to fill up the drive.

Note: incomplete list!

Click for complete statistics This page Copyright Β© 1999 Michael T. Babcock.
It was last updated on the 2nd of July, 2016.