From owner-doc-jp@jp.freebsd.org  Fri Mar 10 17:42:01 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA17688;
	Fri, 10 Mar 2000 17:42:01 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from thumb.nail.or.jp (ppp135.dialup.st.keio.ac.jp [131.113.27.135])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA17668
	for <doc-jp@jp.freebsd.org>; Fri, 10 Mar 2000 17:41:58 +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 RAA00569
	for <doc-jp@jp.freebsd.org>; Fri, 10 Mar 2000 17:41:38 +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:29 +0900"
	<200003081607.BAA22746@mail.geocities.co.jp>
References: <200003081607.BAA22746@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: <20000310174137K.dui@360.cc>
Date: Fri, 10 Mar 2000 17:41:37 +0900
From: Naoto Kaneko <dui@360.cc>
X-Dispatcher: imput version 980905(IM100)
Lines: 351
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 7152
Subject: [doc-jp 7152] Re: books/handbook/internals/chapter.sgml #4
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

$B$3$ND4;R$G9T$1$P!";D$j$NFs$D$b$"$H?t;~4V$NFb$K$G$-$=$&$G$9!#(B
$B:n6H$r?J$a$kFb$K(B

$B;H$$0W$$(B -> $B4J0W(B
$BAH$_9~$_(B -> $B%S%k%H%$%s(B

$B$KD>$7$?$/$J$C$?$N$G$9$,!"4{$KEj9F$7$?J,$N=$@5$O$I$N$h$&$K$9$l$P!#(B
$B?t=54VA0$K;22C$7$?$b$N$G!"@5D>$h$/>u67$,$o$+$C$F$*$j$^$;$s!#(B

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

> $B$5$i$KB3$-$G$9!#(B
> 
> (books/handbook/internals/chapter.sgml 1.15 -> 1.16 #4)
>       
>       <sect3 id="boot-loader-commands">
> 	<title>loader built-in commands</title>
> 	
> 	<para>The easy-to-use command set comprises of:</para>
> 
> 	<variablelist>
> 	  <varlistentry>
> 	    <term>autoboot <replaceable>seconds</replaceable></term>
> 
> 	    <listitem>
> 	      <para>Proceeds to boot the kernel if not interrupted
> 		within the time span given, in seconds.  It displays a
> 		countdown, and the default timespan is 10
> 		seconds.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>boot
> 	      <optional><replaceable>-options</replaceable></optional>
> 	      <optional><replaceable>kernelname</replaceable></optional></term>
> 
> 	    <listitem>
> 	      <para>Immediately proceeds to boot the kernel, with the
> 		given options, if any, and with the kernel name given,
> 		if it is.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>help
> 	      <optional><replaceable>topic</replaceable></optional></term>
> 
> 	    <listitem>
> 	      <para>Shows help messages read from
> 		<filename>/boot/loader.help</filename>.  If the topic
> 		given is <literal>index</literal>, then the list of
> 		available topics is given.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>include <replaceable>filename</replaceable>
> 	      &hellip;</term>
> 
> 	    <listitem>
> 	      <para>Processes the file with the given filename.  The
> 		file is read in, and interpreted line by line.  An
> 		error immediately stops the include command.</para>
> 	    </listitem>
> 	  </varlistentry>
> 	  <varlistentry>
> 	    <term>load <optional><option>-t</option>
> 	      <replaceable>type</replaceable></optional>
> 	      <replaceable>filename</replaceable></term>
> 
> 	    <listitem>
> 	      <para>Loads the kernel, kernel module, or file of the
> 		type given, with the filename given.  Any arguments
> 		after filename are passed to the file.</para>
> 	    </listitem>
> 	  </varlistentry>
> 	  <varlistentry>
> 	    <term>ls <optional><option>-l</option></optional>
> 	      <optional><replaceable>path</replaceable></optional></term>
> 
> 	    <listitem>
> 	      <para>Displays a listing of files in the given path, or
> 		the root directory, if the path is not specified.  If
> 		<option>-l</option> is specified, file sizes will be
> 		shown too.</para>
> 	    </listitem>
> 	  </varlistentry>
> 	  <varlistentry>
> 	    <term>lsdev <optional><option>-v</option></optional></term>
> 
> 	    <listitem>
> 	      <para>Lists all of the devices from which it may be
> 		possible to load modules. If <option>-v</option> is
> 		specified, more details are printed.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>lsmod <optional><option>-v</option></optional></term>
> 
> 	    <listitem>
> 	      <para>Displays loaded modules. If <option>-v</option> is
> 		specified, more details are shown.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>more <replaceable>filename</replaceable></term>
> 
> 	    <listitem>
> 	      <para>Display the files specified, with a pause at each
> 		<varname>LINES</varname> displayed.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>reboot</term>
> 
> 	    <listitem>
> 	      <para>Immediately reboots the system.</para>
> 	    </listitem>
> 	  </varlistentry>
> 
> 	  <varlistentry>
> 	    <term>set <replaceable>variable</replaceable></term>
> 	    <term>set
> 	      <replaceable>variable</replaceable>=<replaceable>value</replaceable></term>
> 
> 	    <listitem>
> 	      <para>Set loader's environment variables.</para>
> 	    </listitem>
> 	  </varlistentry>
> 	</variablelist>
>       </sect3>
> 
>       <sect3 id="boot-loader-examples">
> 	<title>loader examples</title>
> 
> 	<para>Here are some practical examples of loader usage.</para>
> 
> 	<itemizedlist>
> 	  <listitem>
> 	    <para>To simply boot your usual kernel, but in single-user
> 	      mode:</para>
> 
> 	    <screen><userinput>boot -s</userinput></screen>
> 	  </listitem>
> 
> 	  <listitem>
> 	    <para>To unload your usual kernel and modules, and then
> 	      load your old (or another) kernel:</para>
> 
> 	    <screen><userinput>unload</userinput>
>   <userinput>load kernel.old</userinput></screen>
> 
> 	    <para>You can use <filename>kernel.GENERIC</filename> to
> 	      refer to the generic kernel that comes on the install
> 	      disk, or <filename>kernel.old</filename> to refer to
> 	      your previously installed kernel (when you've upgraded
> 	      or configured your own kernel, for example).</para>
> 	  </listitem>
> 
> 	  <listitem>
> 	    <para>To load a kernel configuration script (an automated
> 	      script which does the things you'd normally do in the
> 	      kernel boot-time configurator):</para>
> 
> 	    <screen><userinput>load -t userconfig_script
> 	      <replaceable>/boot/kernel.conf</replaceable></userinput></screen>
> 	  </listitem>
> 	</itemizedlist>
>       </sect3>
>     </sect2>

(books/handbook/internals/chapter.sgml 1.15 -> 1.16 #4)
      
      <sect3 id="boot-loader-commands">
	<title>$B%m!<%@$N%S%k%H%$%s%3%^%s%I(B</title>
	
	<para>$B4J0W%3%^%s%I%;%C%H$N9=@.$O(B:</para>

	<variablelist>
	  <varlistentry>
	    <term>autoboot <replaceable>seconds</replaceable></term>

	    <listitem>
	      <para>$BIC$GM?$($i$l$?;~4VFb$KF~NO$,$J$1$l$P%+!<%M%k$N%V!<(B
	      $B%H$X$H?J$_$^$9(B. $B%+%&%s%H%@%&%s$rI=<($7(B, $B%G%U%)%k%H$G(B10$BIC(B
	      $B4V$G$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>boot
	      <optional><replaceable>-options</replaceable></optional>
	      <optional><replaceable>kernelname</replaceable></optional></term>

	    <listitem>
	      <para>$BB(:B$K%+!<%M%k$N%V!<%H$X$H?J$_$^$9(B. $B$b$7$"$l$P(B, $BM?(B
	      $B$($i$l$?%*%W%7%g%s$H%+!<%M%k$NL>A0$r;H$$$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>help
	      <optional><replaceable>topic</replaceable></optional></term>

	    <listitem>
	      <para><filename>/boot/loader.help</filename>$B$+$iFI$_9~$^(B
	      $B$l$?%X%k%W%a%;%C%8$rI=<($7$^$9(B. $BM?$($i$l$?(Btopic$B$,(B
	      <literal>index</literal>$B$J$i$PM-8z$J(Btopic$B$rNs5s$7$^(B
	      $B$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>include <replaceable>filename</replaceable>
	      &hellip;</term>

	    <listitem>
	      <para>$BM?$($i$l$?%U%!%$%kL>$N%U%!%$%k$r=hM}$7$^$9(B. $B%U%!%$(B
	      $B%k$OFI$_9~$^$l(B, $B9TKh$K2r<a$5$l$F$f$-$^$9(B. $B%(%i!<$OB(:B$K(B
	      include$B%3%^%s%I$N<B9T$rDd;_$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>
	  <varlistentry>
	    <term>load <optional><option>-t</option>
	      <replaceable>type</replaceable></optional>
	      <replaceable>filename</replaceable></term>

	    <listitem>
	      <para>$BM?$($i$l$?%U%!%$%kL>$N%+!<%M%k(B, $B%+!<%M%k%b%8%e!<%k(B, 
	      $B$"$k$$$O;XDj$5$l$?(Btype$B$N%U%!%$%k$r%m!<%I$7$^$9(B. $B%U%!%$%k(B
	      $BL>0J9_$N0z?t$O%U%!%$%k$X$HEO$5$l$^$9(B. </para>
	    </listitem>
	  </varlistentry>
	  <varlistentry>
	    <term>ls <optional><option>-l</option></optional>
	      <optional><replaceable>path</replaceable></optional></term>

	    <listitem>
	      <para>$BM?$($i$l$?(Bpath$B$K$"$k%U%!%$%k(B, $B$"$k$$$O(Bpath$B$,;XDj$5(B
	      $B$l$F$$$J$1$l$P%k!<%H%G%#%l%/%H%j$rI=<($7$^(B
	      $B$9(B. <option>-l</option>$B$,;XDj$5$l$F$$$l$P%U%!%$%k%5%$%:(B
	      $B$bI=<($5$l$^$9(B. </para>
	    </listitem>
	  </varlistentry>
	  <varlistentry>
	    <term>lsdev <optional><option>-v</option></optional></term>

	    <listitem>
	      <para>$B%b%8%e!<%k$r%m!<%I2DG=$J%G%P%$%9$NA4$F$rNs5s$7$^$9(B. 
	      $B$b$7(B<option>-v</option>$B$,;XDj$5$l$F$$$l$P(B, $B$h$j>\:Y$J=P(B
	      $BNO$,$5$l$^$9(B. </para>
	    </listitem>
	  </varlistentry>

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

	    <listitem>
	      <para>$B%m!<%I$5$l$?%b%8%e!<%k$rI=<($7$^$9(B. $B$b$7(B
	      <option>-v</option>$B$,;XDj$5$l$F$$$l$P(B, $B$h$j>\:Y$J=PNO$,(B
	      $B$5$l$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>more <replaceable>filename</replaceable></term>

	    <listitem>
	      <para><varname>LINES</varname>$BKh$KDd;_$7$J$,$i;XDj$5$l$?(B
	      $B%U%!%$%k$rI=<($7$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>reboot</term>

	    <listitem>
	      <para>$BB(:B$K%7%9%F%`$r%j%V!<%H$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>set <replaceable>variable</replaceable></term>
	    <term>set
	      <replaceable>variable</replaceable>=<replaceable>value</replaceable></term>

	    <listitem>
	      <para>$B%m!<%@$N4D6-JQ?t$r@_Dj$7$^$9(B. </para>
	    </listitem>
	  </varlistentry>
	</variablelist>
      </sect3>

      <sect3 id="boot-loader-examples">
	<title>$B%m!<%@$NNc(B</title>

	<para>$B%m!<%@$N$$$/$D$+$N<BA)E*$J;HMQNc$G$9(B. </para>

	<itemizedlist>
	  <listitem>
	    <para>$BC1=c$KDL>o$N%+!<%M%k$r(B, $B$?$@$7%7%s%0%k%f!<%6%b!<%I$G(B, 
	    $B%V!<%H$7$^$9(B:</para>

	    <screen><userinput>boot -s</userinput></screen>
	  </listitem>

	  <listitem>
	    <para>$BDL>o$N%+!<%M%k$H%b%8%e!<%k$r%"%s%m!<%I$7(B, $B8E$$(B($B$b$7(B
	    $B$/$OJL$N(B)$B%+!<%M%k$r%m!<%I$7$^$9(B:</para>

	    <screen><userinput>unload</userinput>
  <userinput>load kernel.old</userinput></screen>

	    <para>$B%$%s%9%H!<%k%G%#%9%/$KF~$C$F$$$?(Bgeneric$B%+!<%M%k$r;2(B
	    $B>H$9$k$?$a$K$O(B<filename>kernel.GENERIC</filename>, $B$"$k$$(B
	    $B$OD>A0$K%$%s%9%H!<%k$5$l$F$$$?%+!<%M%k(B($BNc$($P(B, $B%+!<%M%k$r(B
	    $B<+J,$G@_Dj$7$?$j(B, $B%"%C%W%0%l!<%I$7$?$j$7$F(B)$B$r;2>H$9$k$K$O(B
	    <filename>kernel.old</filename>$B$,;H$($^$9(B. </para>
	  </listitem>

	  <listitem>
	    <para>$B%+!<%M%k$N@_Dj%9%/%j%W%H(B($BDL>o%+!<%M%k%V!<%H;~$K@_Dj(B
	    $B$9$k$G$"$m$&;v$r<+F02=$9$k%9%/%j%W%H(B)$B$r%m!<%I$7$^$9(B:
	    </para>

	    <screen><userinput>load -t userconfig_script
	      <replaceable>/boot/kernel.conf</replaceable></userinput></screen>
	  </listitem>
	</itemizedlist>
      </sect3>
    </sect2>

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







