From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] skulker From: Geoff Collyer Date: Wed, 16 Jun 2004 17:21:04 -0700 In-Reply-To: <6c7ae4f6501f173a063604e5d5080e86@snellwilcox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a47c29e4-eacd-11e9-9e20-41e7f4b1d025 /mail/grey should ideally be stored in an other file system or something similar (ramfs, DMTMP). It should be cleared out daily so that legitimate callers get a chance to try again, even if their calling behaviour is odd: 17 2 * * * cpu cd /mail/grey && rm -rf *.*.*.* I store some of the logs in /sys/log in /n/other/log and do this nightly: 50 4 * * * cpu cd /n/other/log && chop cron cs dns ipboot runq timesync where /rc/bin/chop is: #!/bin/rc # chop file ... - truncate append-only files for (f) { chmod -a $f >$f chmod +a $f } In /cron/upas/cron, I run: 3,13,23,33,43,53 * * * * cpu /sys/lib/fax/faxtickle; echo -n reload >/mail/ratify/ctl Once a month, I regenerate manual indices: 30 4 1 * * cpu cd /sys/man && mk indices Once a night I ran a script that runs calendar, pull -n, and: du -af /n/other >/n/other/du/other which serves as the basis for a very simple `locate' command.