Re: partition magic-ally
On 2005-06-08, prash wrote:
> hello,
> i have a spanking new machine with a 40 gb hard disk - all for my
> favorite distro! of course too much space is a bad thing too
> (especially when you don't know how to allocate it).
> i have decided on this scheme to begin with:
> / : 7.0 gb
Way too much. My root partition, which includes /usr and /var, only
occupies 1.8 GB. /usr/local, /var/spool/news and some other
hierarchies are symlinked (or mounted with "mount bind") from other
partitions.
> swap : 1.5 gb (i have 512mb ram)
With 265 MB RAM, I rarely use more than 256 MB of my 1 GB swap.
> /usr : 4.0 gb
> /usr/local : 18.0 gb (i WILL install anything/everything out there)
> /home : 4.0 gb
> /home/prash : 4.0 gb (i am ego(t)istic that way)
Better to use 8Gb for /home (unless you are going to have other
users hogging the space).
Or even 26GB, and link /home/local/ to /usr/local.
> /boot : 0.5 gb (is this enough?)
.5Gb too much. Unless you plan to install many kernels, it's
unnecessary.
> /var : 1.0 gb (is this enough? this is NOT a mail/news server)
> ----------------------------
> total : 40.0 gb
> ----------------------------
>
> now, the questions (!):
>
> 1. why should i (and how can i) define a /tmp partition when i don't
> know what temporary space each app might take? a dvd burner might
> decide to take 4 gb, a regular app just 10 kb. if i go higher it's a
> waste 95% of the time, lower and i risk some apps not working well.
> (this is why i don't have a /tmp defined above: i decided to let the
> app take how much ever it wanted out of / (root))
Don't bother wth a partition, unless you have something that uses
vast amounts of /tmp.
> 2. suppose i reduce the partition sizes of some of the folders above
> and keep aside, let's say, 5gb of "unpartitioned/empty/unused" space.
> can i later merge this space with any other partition based on need?
> (for example if /usr/local becomes larger than 18 gb - and friends who
> are aware of my downloading skills know that that can happen - can i
> merge it with this free 5 gb to make it 23 gb?)
Do not split your drive up any more than you absolutely have to.
> 3. any other suggestions/rearrangement of my partition scheme?
See above.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==================================================================
Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress
<http://www.torfree.net/~chris/books/cfaj/ssr.html>
Reply to: