From owner-doc-jp@jp.freebsd.org  Fri Mar 10 19:49:52 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id TAA26256;
	Fri, 10 Mar 2000 19:49:52 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from thumb.nail.or.jp (ppp160.dialup.st.keio.ac.jp [131.113.27.160])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id TAA26247
	for <doc-jp@jp.freebsd.org>; Fri, 10 Mar 2000 19:49:48 +0900 (JST)
	(envelope-from dui@360.cc)
Received: from localhost (localhost.nail.or.jp [127.0.0.1])
	by thumb.nail.or.jp (8.9.3/8.9.3) with ESMTP id TAA00696
	for <doc-jp@jp.freebsd.org>; Fri, 10 Mar 2000 19:49:34 +0900 (JST)
	(envelope-from dui@360.cc)
To: doc-jp@jp.freebsd.org
In-Reply-To: Your message of "Thu, 09 Mar 2000 00:24:32 +0900"
	<200003081607.BAA22458@mail.geocities.co.jp>
References: <200003081607.BAA22458@mail.geocities.co.jp>
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000310194934P.dui@360.cc>
Date: Fri, 10 Mar 2000 19:49:34 +0900
From: Naoto Kaneko <dui@360.cc>
X-Dispatcher: imput version 980905(IM100)
Lines: 206
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 7154
Subject: [doc-jp 7154] Re: books/handbook/internals/chapter.sgml #5
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org
X-Originator: dui@360.cc

$B6b;R$G$9!#(B

From: Hiroki Sato <hrs@geocities.co.jp>
Subject: [doc-jp 7144] books/handbook/internals/chapter.sgml #5
Date: Thu, 09 Mar 2000 00:24:32 +0900
Message-ID: <200003081607.BAA22458@mail.geocities.co.jp>

> 
> $B$5$i$KB3$-$G$9!#(B
> 
> (books/handbook/internals/chapter.sgml 1.15 -> 1.16 #5)
>   
>     <sect2 id="boot-kernel">
>       <title>Kernel interaction during boot</title>
>       
>       <para>Once the kernel is loaded by either <link
> 	  linkend="boot-loader">loader</link> (as usual) or <link
> 	  linkend="boot-boot2">boot2</link> (bypassing the loader), it
> 	examines its boot flags, if any, and adjusts its behaviour as
> 	necessary.</para>
> 
>       <sect3 id="boot-kernel-bootflags">
> 	<title>Kernel bootflags</title>
> 
> 	<para>Here are the more common boot flags:</para>
> 
> 	<variablelist id="boot-kernel-bootflags-list">
> 	  <varlistentry>
> 	    <term><option>-a</option></term>
> 
> 	    <listitem>
> 	      <para>during kernel initialization, ask for the device
> 		to mount as as the root file system.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term><option>-C</option></term>
> 
> 	    <listitem>
> 	      <para>boot from CDROM.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term><option>-c</option></term>
> 
> 	    <listitem>
> 	      <para>run UserConfig, the boot-time kernel
> 		configurator</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term><option>-s</option></term>
> 
> 	    <listitem>
> 	      <para>boot into single-user mode</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term><option>-v</option></term>
> 
> 	    <listitem>
> 	      <para>be more verbose during kernel startup</para>
> 	    </listitem>
> 	  </varlistentry>
> 	</variablelist>
> 
> 	<note>
> 	  <para>There are other boot flags, read &man.boot.8; for more
> 	    information on them.</para>
> 	</note>
>       </sect3>
> 
>   <!--    <sect3 id="boot-kernel-userconfig">
> 	<title>UserConfig: The boot-time kernel configurator</title>
> 	
> 	<para> </para>
>       </sect3> -->
>     </sect2>
>   
>     <sect2 id="boot-init">
>       <title>Init: Process control initialization</title>
> 	  
>       <para>Onqe the kernel has finished booting, it passes control to
> 	the usqr process <command>init</command>, which is located at
> 	<filename>/sbin/init</filename>, or the program path specified
> 	in the <envar>init_path</envar> variable in
> 	<command>loader</command>.</para>
> 
>       <sect3 id="boot-autoreboot">
> 	<title>Automatic reboot sequence</title>
> 	
> 	<para>The automatic reboot sequence makes sure that the
> 	  filesystems available on the system are consistent.  If they
> 	  are not, and <command>fsck</command> can not fix the
> 	  inconsistencies, <command>init</command> drops the system
> 	  into <link linkend="boot-singleuser">single-user mode</link>
> 	  for the system administrator to take care of the problems
> 	  directly.</para>
>       </sect3>

(books/handbook/internals/chapter.sgml 1.15 -> 1.16 #5)
  
    <sect2 id="boot-kernel">
      <title>$B%V!<%H;~$N%+!<%M%k$H$N1~Ez(B</title>
      
      <para>$B%+!<%M%k$O(B<link linkend="boot-loader">$B%m!<%@(B</link>($BDL>o$O(B)
      $B$+(B<link linkend="boot-boot2">boot2</link> ($B%m!<%@$r1*2s$7$F(B)$B$K$h$C(B
      $B$F%m!<%I$5$l$k$H(B, $B$b$7$"$l$P%V!<%H%U%i%C%0$rD4$Y(B, $BI,MW$K1~$8$F$=(B
      $B$N5sF0$ND4@0$r$7$^$9(B. </para>

      <sect3 id="boot-kernel-bootflags">
	<title>$B%+!<%M%k%V!<%H%U%i%C%0(B</title>

	<para>$B$h$j0lHLE*$J%V!<%H%U%i%C%0(B:</para>

	<variablelist id="boot-kernel-bootflags-list">
	  <varlistentry>
	    <term><option>-a</option></term>

	    <listitem>
	      <para>$B%+!<%M%k=i4|2=Cf(B, $B%k!<%H%U%!%$%k%7%9%F%`$H$7$F%^%&(B
	      $B%s%H$9$k%G%P%$%9$r?R$M$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term><option>-C</option></term>

	    <listitem>
	      <para>CDROM$B$+$i%V!<%H$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term><option>-c</option></term>

	    <listitem>
	      <para>$B%V!<%H;~$N%+!<%M%k%3%s%U%#%.%e%l!<%?$N(BUserConfig$B$r(B
	      $B<B9T$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term><option>-s</option></term>

	    <listitem>
	      <para>$B%7%s%0%k%f!<%6%b!<%I$G%V!<%H$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term><option>-v</option></term>

	    <listitem>
	      <para>$B%+!<%M%k5/F0;~$K$h$j>\:Y$K>pJs$rDs6!$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>
	</variablelist>

	<note>
	  <para>$B%V!<%H%U%i%C%0$O$3$NB>$K$b$"$j(B, $B$=$l$i$K$D$$$F$O(B 
	  &man.boot.8;$B$r$*FI$_$/$@$5$$(B. </para>
	</note>
      </sect3>

  <!--    <sect3 id="boot-kernel-userconfig">
	<title>UserConfig: $B%V!<%H;~$N%+!<%M%k%3%s%U%#%.%e%l!<%?(B</title>
	
	<para> </para>
      </sect3> -->
    </sect2>
  
    <sect2 id="boot-init">
      <title>Init: $B%W%m%;%9%3%s%H%m!<%k$N=i4|2=(B</title>
	  
      <para>$B%+!<%M%k$,%V!<%H$5$l$k$H(B, $B@)8f$O%f!<%6%W%m%;%9$G$"$k(B
      <command>init</command>$B$X0\$5$l$^$9(B. $B$3$l$O(B,
      <filename>/sbin/init</filename>, $B$b$7$/$O(B
      <command>loader</command>$B$N(B<envar>init_path</envar>$BJQ?t$G;XDj$5(B
      $B$l$k>l=j$K$"$j$^$9(B. </para>

      <sect3 id="boot-autoreboot">
	<title>$B0lO"$N<+F0%j%V!<%HF0:n(B</title>
	
	<para>$B0lO"$N<+F0%j%V!<%HF0:n$O%7%9%F%`>e$GMxMQ$G$-$k%U%!%$%k%7(B
	$B%9%F%`$N0l47@-$r3NG'$7$^$9(B. $B$b$7LdBj$,$"$j(B,
	<command>fsck</command>$B$,$=$NIT0lCW$r=$I|$G$-$J$1$l$P(B,
	<command>init</command>$B$O4IM}<T$KD>@\$K=hCV$5$;$k$?$a$K%7%9%F(B
	$B%`$r(B<link linkend="boot-singleuser">$B%7%s%0%k%f!<%6%b!<%I(B
	</link>$B$X$H0\9T$5$;$^$9(B.</para>
      </sect3>

                             /* $B6b;R(B $BD>?M(B
				$B7D1~Bg3XM}9)3XIt>pJs9)3X2J(B3$BG/8uJd(B 
				dui@360.cc */







