Ken Schneider - openSUSE said the following on 02/19/2010 09:56 AM:
Simple and to the point:
100M for /boot ample amount for swap all the rest for /
That seems high risk to me. Firstly there have been a number of privilege escalation vulnerabilities in the past that rely on users being able to create files on the same partition as setuid binaries and because /tmp is on the same partition as /bin and /lib. Yes, they've been patched, but one thing I've learnt is that the same kind of errors keep coming back. I've also had runaway processes that consume all the space they can on /home if the user lets them or on /tmp. Making those partitions set a limit which allows others to use the machine. If you only have "/" and a runaway process consumes all of the owning user's "~/tmp" the its consumed all of the disk for every other user as well, and even root may not be able to log in since it also means there's no space on "/tmp" T His attitude is proactive security-by-design.
No muss no fuss. If you run out of room add another drive
Not always possible and certainly not with a laptop!
or off load all the crap you downloaded and can't live without.
Some distributions - openSuse is one - tend to be heavy on use of space. Of course you could give up and go with a DamnSmallLinux. What what *you* can live without and what the installation packages won't do without, even though you could, is another matter. Like I really don't need the LDAP stuff and since I use Thunderbird I don't need the Postfix, but the way openSuse is designed I can't leave them out.
Oh, and don't forget to actually try and figure out where all you free space suddenly went to (it called being proactive) before you run out of space.
Yes, there are tools that can warn you :-) Not least of all some screen and task-bar widgets. But the most useful tool is 'df'. And if you have an aggressively partitioned system the 'df' is going to be a lot more use since, quite apart from the point I mentioned about being able to run even when some disk resource is consumed, you've already determined which part of the system tree is short of space. Much easier and faster to zoom in on that doing a series of "du -s" -- The author who benefits you most is not the one who tells you something you did not know before, but the one who gives expression to the truth that has been dumbly struggling in you for utterance." -- Oswald Chambers -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org