Yaroslav Tykhiy 7d0ed28d3b Improve cleartmp in a number of aspects:
+ Use rc.subr(8) features properly.
+ Do the whole job of obliterating /tmp contents in find(1).
+ Leave lost+found and quota.{user,group} in /tmp only if root-owned.
+ Make the overall structure clearer by first removing the X dirs
  (perhaps along with the rest of /tmp) and then re-creating them.
+ Use "find -exec rm -rf {} +" for efficiency: each rm instance gets
  a chance to kill as much files in /tmp as ARG_MAX permits.

PR:		bin/104044
Submitted by:	Andrey Simonenko <see PR for email>
Hacked by:	yar
MFC after:	1 month
2006-10-16 13:01:45 +00:00
..
2005-06-07 03:41:20 +00:00
2006-08-29 08:49:58 +00:00
2004-04-01 19:28:00 +00:00
2005-06-14 02:25:17 +00:00
2005-06-07 03:41:20 +00:00
2006-08-31 21:13:12 +00:00
2004-06-06 11:46:29 +00:00
2004-06-06 11:46:29 +00:00
rpc
2004-06-06 11:46:29 +00:00