Re: Adding makemandb as build tool for man.db

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.ports.mac68k,gmane.os.netbsd.devel.installation
Message-ID <CAGN_6pbKunK_JsvWquOsAsEfzaZVDBjk-q_SiqM1HREPZ3B+1Q@mail.gmail.com>
On Tue, 30 Oct 2018 at 17:15, Robert Swindells <[email protected]> wrote:

> David Brownlee <[email protected]> wrote:
> >What do people think of the following diff to sysinst to add makemandb=NO
> >to rc.conf on slow or low memory machines:
>
> I would also put run_makemandb=NO in /etc/daily.conf for slow machines.
>
> At least some of the slow machines lack a RTC and it can take a while to
> pick up the correct time from an external source. This can mean that
> cron starts up some daily tasks at the wrong time.
>
> I would also guess that most of the slow machines are not left running
> continuously. Maybe we need to look at what other things would normally
> be run by cron.

On slow/small enough machines you might want to disable cron
altogether (or all of daily/weekly/monthly).

So, it should be easy to add a cron toggle option to configmenu.c, but
if we do this should it:

a) Default unchanged, add a note to release notes
b) Default unchanged, add a recommendation message on screen for very
low spec machines
c) Default off on very low spec machines (probably per arch basis)

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.