Date: Sat, 22 Jun 1996 14:59:51 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: tom@sdf.com (Tom Samplonius) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.org Subject: Re: Cleaning of /tmp in /etc/rc Message-ID: <199606222159.OAA22874@phaeton.artisoft.com> In-Reply-To: <Pine.NEB.3.93.960622125144.6718C-100000@misery.sdf.com> from "Tom Samplonius" at Jun 22, 96 12:57:19 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> It's supposed to delete everything in /tmp except lost+found and > quota.user and/or quota.group > > I believe lost+found can be safetly removed. No, it can't. Not every /tmp is a 4.4BSD UFS FS. > It doesn't actually avoid the quota files properly. Different issue. One could argue that having quota files in /tmp is an error, that if you have a seperate /tmp fs and need quotas, that you should: 1) md /disk/tmp /disk/tmp/tmp 2) mount /tmp's fs on /disk/tmp (or somewhere other than /tmp 3) md /disk/tmp/tmp 4) rm /tmp 5) ln -s /disk/tmp/tmp /tmp 6) put any quotas in /disk/tmp, so they aren't in the path of the rc-based cleanup > It should probably also check whether the quota files are owned by root. Tee hee hee. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606222159.OAA22874>
