Vincent Danen wrote:
> 
> On Thu, 9 Sep 1999, Traci Collins wrote:
> 
> > > Now you see why I, after two years, I only use three partitions: swap, / and
> > > /home.  Swap is obvious.  /home is where I store downloads and files I want to
> > > keep.  Everything else goes in /.  When it's time to upgrade, I only format and
> > > fresh reinstall in /.  It's clean.  It's efficient and I always have the right
> > > size partitions :-)
> >
> > That makes a certain amount of sense, so, what is the magic number in
> > /? I was basicly trying do something similar by giving / it's own
> > partition. I set it for 100mb because Redhat suggested 50-80mb and I
> > wanted to be conservative. Obviously, the definition of a
> > conservative is changing but I am curious as to how big it needs to
> > be?
> 
> You're looking at it the wrong way, Traci... you need to decide how big
> you want /home to be... that's the question you need to ask.  Once you've
> decided that (and how big your swap is going to be) give *everything* else
> to root...
> 
> For example, on my system I have:
> 
> swap - 70MB
> /home - 2GB
> / - 11GB
> 
> Why?  Well, this gives 2GB for user files and downloads and whatnot.. more
> than enough I think.  The other 11GB goes on root... if you don't
> specifically make a /var, or /usr or any other partition for a directory
> off the root directory, it all becomes a part of the / partition...  make
> sense?  For example, that 11GB is being shared by /var, /etc, /usr, /sbin,
> and so forth.  That way I don't have to worry about how much to give /var,
> of if I've given /sbin too much, or any other problem associated with
> defining limits for directories.  I always found that silly, tried it
> once, and it pissed me off so much I reinstalled just to make (to me) a
> *proper* directory structure (which is swap, /home, and / and that's it).
> 
> Vincent Danen ([EMAIL PROTECTED]) . ICQ: 16978834
> BBBS/LiI . Internet Rex for Linux Beta
> Stronghold Enterprises/X BBS . http://shx.tzo.net
> Telnet://shx.tzo.net . Weblogin-http://shx.tzo.net/shx


Though I can see your point, using more partitions has an advantage in the case
of drive corruption. 
Usually / should be very small to minimize this danger by reducing the number of
accesses to it. If your partition becomes corrupted somewhere in /usr you're
lost. With a distinct root partition you still have a chance to save yourself
and since there is a tool like Partition Magic (and soon our own DiskDrake), I'd
still tend to suggest using multiple partitions.

My table:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              76M   24M   48M  33% /
/dev/hda8             486M  149M  311M  32% /home
/dev/hda10             99M  2.8M   91M   3% /tmp
/dev/hda11            1.9G  1.0G  813M  57% /usr
/dev/hda9             152M   12M  132M   8% /var                                

You see, no probs whatsoever ;-)

Regards

tom

-- 
"Never trust a Shoggoth!"
Thomas 'tom' Berger, [EMAIL PROTECTED]
LSTB - "advancing the community"

Reply via email to