Sun, 03 Sep 2006, by gaf@blu.org:
On Sat, 2 Sep 2006 15:12:00 -0400 Paul Abrahams
wrote: I'm about to organize the hard drive on a new system and I'm looking for advice about partitioning it. The question is: which Linux partitions should be separated out from the root partition? Candidates are /boot, /usr, /var, /home (that one for sure), /tmp, and /usr/local. I can probably make pretty good guesses at the appropriate sizes by looking at my existing systems. I agree with most of the advice given in this thread: /boot - Maybe /home - definitely /usr/local - yes, if you install software other than via RPM /var - sometimes. /var contains log files, spools, print queues and many other files of a volatile nature. In business Unix environments, this is frequently separate for backup reasons and because certain DOS attacks can fill up this directory. Probably not necessary for you. /tmp - some people make /tmp separate because it contains mostly temp files, and you may want to allocate a small root partition. /usr - I rarely do this even in business since it is not very volatile. Historically, it was mountable because of the small disks used.
The reason I use partitions is to be able to use different file-systems (or block-sizes) for different applications. E.g. on a partition with mainly audio and video file I don't use reiserFS, but XFS. Having different partitions is also a good idea whien you have a multi-boot box, or when you want to use quotas. Also nowadays I always use LVS for my partitions, just to make later re-sizing so much easier. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.