rc.subr

共 1 篇文章。

Different _rc_subr_loaded approach adopted by FreeBSD and NetBSD

Development

The RCng system was developed by NetBSD and FreeBSD have adopted it. _rc_subr_loaded is a flag that both system adopts to speed up the startup.

The FreeBSD approach is to determine whether to run for the whole rc.subr script, while NetBSD approach is to define it as a “:” so rc_subr won’t be loaded.

Which is better?

阅读全文… ( 本文约 94 字,阅读大致需要 1 分钟 )