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
..
2006-05-18 17:53:49 +00:00
2006-10-15 15:55:00 +00:00
2004-09-24 12:51:15 +00:00
2004-10-17 22:20:39 +00:00
2005-09-10 22:46:03 +00:00
2006-04-25 19:43:53 +00:00
2005-12-29 14:40:22 +00:00
2006-03-07 09:53:11 +00:00
2005-06-07 03:41:20 +00:00
2006-10-06 08:27:07 +00:00
2005-09-05 13:42:22 +00:00
2005-06-10 20:52:36 +00:00
2006-08-29 08:49:58 +00:00
2004-11-19 17:12:56 +00:00
2006-10-16 13:01:45 +00:00
2004-04-01 19:28:00 +00:00
2005-06-14 02:25:17 +00:00
2006-04-28 12:03:38 +00:00
2004-06-06 11:46:29 +00:00
2006-06-01 00:41:07 +00:00
2004-06-06 11:46:29 +00:00
2006-10-14 16:39:03 +00:00
2006-08-31 09:51:34 +00:00
2005-06-07 03:41:20 +00:00
2006-04-11 09:54:23 +00:00
2006-02-05 19:34:09 +00:00
2006-08-29 09:20:48 +00:00
2006-08-31 17:15:10 +00:00
2006-10-08 14:02:00 +00:00
2004-06-06 11:46:29 +00:00
2005-08-31 15:02:11 +00:00
2006-09-26 23:26:53 +00:00
2005-06-06 20:19:56 +00:00
2006-05-30 02:10:01 +00:00
2006-10-07 15:45:56 +00:00
2005-03-02 00:40:55 +00:00
2006-04-28 12:03:38 +00:00
2006-05-03 15:14:47 +00:00
2006-09-21 01:44:52 +00:00
2006-01-27 17:16:20 +00:00
2004-09-14 00:30:14 +00:00
2006-08-31 21:13:12 +00:00
2006-01-18 03:40:57 +00:00
2004-06-06 11:46:29 +00:00
2004-06-06 11:46:29 +00:00
2005-02-22 13:04:05 +00:00
2006-02-20 21:54:30 +00:00
2006-04-22 11:02:44 +00:00
2005-11-18 02:23:59 +00:00
2006-05-12 19:17:34 +00:00
2006-09-01 16:33:15 +00:00
2005-12-02 20:06:07 +00:00
2006-10-02 08:20:37 +00:00
2004-10-13 08:32:34 +00:00
2004-06-06 11:46:29 +00:00
2006-01-25 17:37:15 +00:00
2006-02-27 16:31:01 +00:00
2005-03-12 12:31:16 +00:00
2004-06-06 11:46:29 +00:00