Re: Improving the performance of system boot by eliding unused rc.d scripts and caching the result

Robert Elz <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
    Date:        Tue, 18 Aug 2026 14:03:15 -0700
    From:        Jason Thorpe <[email protected]>
    Message-ID:  <[email protected]>

  | I guess that boils down to "what does test do with -nt"?

This:

static int
newerf(const char *f1, const char *f2)
{
	struct stat b1, b2;

	return (stat(f1, &b1) == 0 &&
		stat(f2, &b2) == 0 &&
		timespeccmp(&b1.st_mtim, &b2.st_mtim, >));
}

  | There is no impact to shutdown sequencing.

OK.

kre
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.