JP Vossen on 8 Jan 2011 15:08:47 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Linux n00b question


On 01/08/2011 12:28 PM, plug-request@lists.phillylinux.org wrote:
Date: Sat, 8 Jan 2011 09:33:14 -0500
From: "Paul W. Roach III"<paul@isaroach.com>

Having a separate /var is always a good practice.  Additionally, /tmp is a
good one to break out.  This prevents (mostly scripts written by you) from
using up all of / with pointless logs or tmpfiles.

And now we come full circle. Sure, those are a good idea, if you already know what you're doing, what the system will do, and how it will behave and change over time. If you are just starting out, or simply don't want to be bothered thinking about all of that, read the rest of the thread again.


As for /tmp, install *and then turn on* the tmpreaper package and call it a day.

$ sudo aptitude install tmpreaper
$ man tmpreaper
$ sudo vi /etc/tmpreaper.conf
	change:	SHOWWARNING=true
	to:	# SHOWWARNING=true


I should also mention Rich's point about needing a separate /boot/ when using some RAID, LVM or encryption. Very true, and in those cases I do use a separate 250M /boot/ (overkill, but with today's disk sizes I don't care). I should have noted that, good catch Rich. This is especially important for whole-disk encryption, which we should all have at least on our laptops, right?

Later,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug