reason for separate /var and /home partitions
Posted by notKlaatu , 14 December 2008 · 202 views
If you're partitioning a harddrive for a serious GNU/Linux then it is often suggested to have a separate partition for /var and sometimes for /home. The cool hing about Linux, of course, is that it's flexible and intelligent enough to be able to actually bring the puzzle pieces that are/var + /home + /swap + /into a complete and coherent system.But the question remains, why exactly might one wish to do this? Well, as with a lot of thing in Linux, one might not care to do it and one doesn't really HAVE to do it at all. Linux can be almost as easy as it can be hard; so unless you're a geek, I wouldn't bother. Just install Linux with all the defaults and relax.But if you've read this far you're probably a geek, so the reason one might want to do this (especially on one's server) is because there are attacks designed to fill up harddrive space until the computer comes to a grinding halt for lack of any place to store information. So a nice secure way of setting up your computer is to have a separate location for things that are most commonly written to; ie, the /var folder which contains all the system logs and the /home folder which contains all the user data. Should they ever be attacked, there is a good possibility that they will be the extent of the vulnerable failure, while the core of the system istself, the / folder, is happily inaccessible and untouched.Now you know.