HAMMER cleanup

Michel Salim michel.sylvan at gmail.com
Wed Oct 22 05:51:14 PDT 2008


On Tue, Oct 21, 2008 at 5:01 PM, Sascha Wildner <saw at online.de> wrote:
> Sascha Wildner schrieb:
>>
>> About the rc script: I'm not sure because for a machine which was turned
>> off for a longer time this (if enabled by default) would make booting take a
>> rather long time.
>
> OK, let me rephrase that. :)
>
> If a machine was turned off for a longer time, there wouldn't be much to
> cleanup upon boot, so in this case running the hammer cleanup via rc.d
> wouldn't make much sense IMO.
>
> There is, however, the scenario of the user who works with his box during
> the day but regularly turns it off at night (what an apalling thought :). In
> this case it _would_ make sense to run it upon booting (rc.d/newsyslog
> exists for the same reason I guess).
>
Is there anything like Linux's anacron on the BSDs? It would just run
any cron jobs missed because the computer was not on. Not sure if it
can be configured to only kick off after the rest of the boot process
has been completed though; that would avoid the "doing heavy IO at
start-up" concern.

Regards,

-- 
miʃel salim  •  http://hircus.jaiku.com/
IUCS         •  msalim at cs.indiana.edu
Fedora       •  salimma at fedoraproject.org
MacPorts     •  hircus at macports.org




More information about the Kernel mailing list