diff options
Diffstat (limited to 'documentation/content/zh-cn/books/arch-handbook/sysinit/chapter.adoc')
-rw-r--r-- | documentation/content/zh-cn/books/arch-handbook/sysinit/chapter.adoc | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/documentation/content/zh-cn/books/arch-handbook/sysinit/chapter.adoc b/documentation/content/zh-cn/books/arch-handbook/sysinit/chapter.adoc index 033ed310d6..e368d81102 100644 --- a/documentation/content/zh-cn/books/arch-handbook/sysinit/chapter.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/sysinit/chapter.adoc @@ -11,28 +11,36 @@ next: books/arch-handbook/mac :toclevels: 1 :icons: font :sectnums: +:sectnumlevels: 6 +:sectnumoffset: 5 +:partnums: :source-highlighter: rouge :experimental: -:skip-front-matter: -:toc-title: 目录 -:part-signifier: 部分 -:appendix-caption: 附录 -:table-caption: 表 -:figure-caption: 图 -:example-caption: 例 -:xrefstyle: basic -:relfileprefix: ../ -:outfilesuffix: -:sectnumoffset: 5 +:images-path: books/arch-handbook/ -include::shared/mirrors.adoc[] +ifdef::env-beastie[] +ifdef::backend-html5[] +:imagesdir: ../../../../images/{images-path} +endif::[] +ifndef::book[] include::shared/authors.adoc[] +include::shared/mirrors.adoc[] include::shared/releases.adoc[] -include::shared/zh-cn/mailing-lists.adoc[] -include::shared/zh-cn/teams.adoc[] -include::shared/zh-cn/urls.adoc[] +include::shared/attributes/attributes-{{% lang %}}.adoc[] +include::shared/{{% lang %}}/teams.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/urls.adoc[] +toc::[] +endif::[] +ifdef::backend-pdf,backend-epub3[] +include::../../../../../shared/asciidoctor.adoc[] +endif::[] +endif::[] +ifndef::env-beastie[] toc::[] +include::../../../../../shared/asciidoctor.adoc[] +endif::[] SYSINIT是一个通用的调用排序与分别执行机制的框架。 FreeBSD目前使用它来进行内核的动态初始化。 SYSINIT使得FreeBSD的内核各子系统可以在内核或模块动态加载链接时被重整、 添加、删除、替换,这样,内核和模块加载时就不必去修改一个静态的有序初始化 安排表甚至重新编译内核。这个体系也使得内核模块 (现在称为__KLD__可以与内核不同时编译、链接、 在引导系统时加载,甚至在系统运行时加载。这些操作是通过 "内核链接器"(kernel linker)和"链接器集合" (linker set)完成的。 |