tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



    Date:        Tue, 18 Aug 2026 14:03:15 -0700
    From:        Jason Thorpe <thorpej%me.com@localhost>
    Message-ID:  <72EF30B4-EEFC-40FD-90B2-7124EA6DD265%me.com@localhost>

  | 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


Home | Main Index | Thread Index | Old Index