-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Kumar" == Kumar Appaiah <[EMAIL PROTECTED]> writes:
Kumar> Most of the documentation I read recommend separate
Kumar> partitions of each `meta' directory like /usr, /var
Kumar> etc. However, till now, I have never felt the need to do so
Kumar> on my Desktop, and I fear that one partition may start
Kumar> demanding more space. I wanted to know whether other
Kumar> desktop users also go for the single partition mounted
Kumar> root, or used something else (LVM?).
Kumar> Also, on systems with 512MB RAM, 2*RAM is 1 GB. Is that
Kumar> much of swap necessary?
I follow these general rules for partitioning:
1. Keep /boot in a separate partition near the beginning of the disk.
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.
P.S. The newer ones mutter ``Ncurses! Foiled again!''.
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 don't keep a separate /home on servers since I don't believe servers
should have multiple distributions installed :)
4. Depending on disk space available, allot 1 to 2G for swap. This is
for emergencies only -- if you find a machine using up 1G of swap it's
time to look at the apps you're running and/or the hardware you're
running them on.
5. If you have multiple disks, put heavily-used partitions on
different disks; e.g. put swap and /tmp on separate disks to spread
the load.
Regards,
- -- Raju
- --
Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
It is the mind that moves
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFC4yDcyWjQ78xo0X8RAtNzAJ0XRFyOFeYgNJ/E+GUj+8dN7/9JywCbBn5U
40bv+8J9cGm8ONCZ9F2S7v8=
=NeUb
-----END PGP SIGNATURE-----
-------------------------------------------------------
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_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help