Document that the kernel may try several paths for init.

XXX: This should be in the kernel documentation, not in the init(8) man page.
This commit is contained in:
apb 2013-10-02 22:01:47 +00:00
parent b258a62a64
commit 06dcf00819
1 changed files with 16 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: init.8,v 1.57 2009/05/18 14:17:31 wiz Exp $ .\" $NetBSD: init.8,v 1.58 2013/10/02 22:01:47 apb Exp $
.\" .\"
.\" Copyright (c) 1980, 1991, 1993 .\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\" .\"
.\" @(#)init.8 8.6 (Berkeley) 5/26/95 .\" @(#)init.8 8.6 (Berkeley) 5/26/95
.\" .\"
.Dd November 10, 2008 .Dd October 2, 2013
.Dt INIT 8 .Dt INIT 8
.Os .Os
.Sh NAME .Sh NAME
@ -43,10 +43,22 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
program is the last stage of the boot process (after the kernel loads program is the last stage of the boot process.
and initializes all the devices).
It normally begins multi-user operation. It normally begins multi-user operation.
.Pp .Pp
.Nm
is executed automatically by the kernel,
after the kernel has initialised all devices
and mounted the root file system.
The kernel may try multiple possible paths for
.Nm ,
including
.Pa /sbin/init ,
.Pa /sbin/oinit ,
.Pa /sbin/init.bak ,
and
.Pa /rescue/init .
.Pp
The following table describes the state machine used by The following table describes the state machine used by
.Nm : .Nm :
.Bl -enum .Bl -enum