On Sun, Jul 24, 2005 at 10:32:24AM +0530, Raj Mathur wrote:
> 1. Keep /boot in a separate partition near the beginning of the disk.

Space you'd recommend - 50MB or so?

> 2. Keep /tmp in a separate partition and set the noexec flag on it.
> Most (all?) Linux rootkits install through creating a file in /tmp,
> compiling it and running it from there itself.  noexec /tmp and they
> go away looking foolish muttering ``Curses!  Foiled again!''  under
> their breath.

Can /tmp be shared safely across distributions?

> 3. Keep /home in a separate partition if there are going to be
> multiple distributions on the box, or if there's a chance you may be
> removing the current distribution and installing another one.  You can
> preserve user data across upgrades/switches that way.

I agree that this is an important and favourable point. The customized
configs need not be repeated for each app.

Now, if I create a /boot at the top for 50 MB for the first distro I
install (/dev/hda1), /usr, /var, /home, / and swap can be in
/dev/hda5, /dev/hda6, /dev/hda7, /dev/hda8 and /dev/hda9. When I
install the second or third distro, I can reuse my /home, /tmp and
swap, but if I want to have three distros, I guess I can't
indefinitely keep dividing their individual /usr, /var etc. into
separate partitions, isn't it? A few have to be clubbed together there
to avoid too many partitions, right?

Thanks.

Kumar
-- 
Kumar Appaiah


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to