Module Name:    src
Committed By:   apb
Date:           Wed Oct  2 22:01:47 UTC 2013

Modified Files:
        src/sbin/init: init.8

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sbin/init/init.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/init/init.8
diff -u src/sbin/init/init.8:1.57 src/sbin/init/init.8:1.58
--- src/sbin/init/init.8:1.57	Mon May 18 14:17:31 2009
+++ src/sbin/init/init.8	Wed Oct  2 22:01:47 2013
@@ -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
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     @(#)init.8	8.6 (Berkeley) 5/26/95
 .\"
-.Dd November 10, 2008
+.Dd October 2, 2013
 .Dt INIT 8
 .Os
 .Sh NAME
@@ -43,10 +43,22 @@
 .Sh DESCRIPTION
 The
 .Nm
-program is the last stage of the boot process (after the kernel loads
-and initializes all the devices).
+program is the last stage of the boot process.
 It normally begins multi-user operation.
 .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
 .Nm :
 .Bl -enum

Reply via email to