docs/101390: [UPDATE] zh_TW: Update handbook/linuxemu to SVN#963

chinsan chinsan.tw at gmail.com
Sat Aug 5 04:40:33 UTC 2006


>Number:         101390
>Category:       docs
>Synopsis:       [UPDATE] zh_TW: Update handbook/linuxemu to SVN#963
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 05 04:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan2.twbbs.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 2 16:44:35 CST 2006 root at chinsan2.twbbs.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
 - Update handbook/linuxemu to SVN#963
  (patch URL http://chinsan2.twbbs.org/chinsan/zh_TW.Big5.20060805_3.diff)

 - ChangeLog(Trac Timeline)
   https://opensvn.csie.org/traccgi/freebsddoc/timeline

>How-To-Repeat:
	
>Fix:

	

--- zh_TW.Big5.20060805_3.diff begins here ---
diff -ruN zh_TW.Big5.orig/books/handbook/linuxemu/chapter.sgml zh_TW.Big5/books/handbook/linuxemu/chapter.sgml
--- zh_TW.Big5.orig/books/handbook/linuxemu/chapter.sgml	Tue Jan 31 09:31:03 2006
+++ zh_TW.Big5/books/handbook/linuxemu/chapter.sgml	Sat Aug  5 12:26:53 2006
@@ -2,7 +2,7 @@
      The FreeBSD Documentation Project
 
      $FreeBSD: doc/zh_TW.Big5/books/handbook/linuxemu/chapter.sgml,v 1.3 2006/01/31 01:31:03 vanilla Exp $
-     Original revision: 1.127
+     Original revision: 1.132
 -->
 
 <chapter id="linuxemu">
@@ -28,101 +28,85 @@
     </authorgroup>
   </chapterinfo>
 
-  <title>Linux Binary Compatibility</title>
+  <title>»P Linux Binary ªº¬Û®e¤è­±</title>
 
   <sect1 id="linuxemu-synopsis">
-    <title>Synopsis</title>
+    <title>·§­z</title>
     <indexterm><primary>Linux binary compatibility</primary></indexterm>
     <indexterm>
       <primary>binary compatibility</primary>
       <secondary>Linux</secondary>
     </indexterm>
 
-    <para>FreeBSD provides binary compatibility with several other
-      &unix; like operating systems, including Linux.  At this point,
-      you may be asking yourself why exactly, does
-      FreeBSD need to be able to run Linux binaries?  The answer to that
-      question is quite simple.  Many companies and developers develop
-      only for Linux, since it is the latest <quote>hot thing</quote> in
-      the computing world.  That leaves the rest of us FreeBSD users
-      bugging these same companies and developers to put out native
-      FreeBSD versions of their applications.  The problem is, that most
-      of these companies do not really realize how many people would use
-      their product if there were FreeBSD versions too, and most continue
-      to only develop for Linux.  So what is a FreeBSD user to do?  This
-      is where the Linux binary compatibility of FreeBSD comes into
-      play.</para>
-
-    <para>In a nutshell, the compatibility allows FreeBSD users to run
-      about 90% of all Linux applications without modification.  This
-      includes applications such as <application>&staroffice;</application>,
-      the Linux version of <application>&netscape;</application>,
-      <application>&adobe; &acrobat;</application>,
-      <application><trademark class="registered">RealPlayer</trademark></application>,
-      <application><trademark>VMware</trademark></application>,
-      <application>&oracle;</application>,
-      <application><trademark class="registered">WordPerfect</trademark></application>, <application>Doom</application>,
-      <application>Quake</application>, and more.  It is also reported
-      that in some situations, Linux binaries perform better on FreeBSD
-      than they do under Linux.</para>
-
-    <para>There are, however, some Linux-specific operating system
-      features that are not supported under FreeBSD.  Linux binaries will
-      not work on FreeBSD if they overly use &i386; specific
-      calls, such as enabling virtual 8086 mode.</para>
+    <para>FreeBSD ¦³´£¨Ñ¨ä¥L´XºØ &unix; like §@·~¨t²Îªº binary ¬Û®e©Ê¡A¨ä¤¤¥]¬A¤F Linux¡C
+      §A¥i¯à·|¯Ç´e¡G¬°¤°»ò FreeBSD »Ý­n¯à°÷°õ¦æ Linux ±M¥Î°õ¦æÀÉ(binary)©O¡Hµª®×«Ü²³æ¡A
+      ³\¦h¤½¥q¡B¶}µoªÌ¥u·| Linux ¶}µoµ{¦¡¡A¦]¬°³o¬O¥Ø«e¸ê°T¬É <quote>³Ì¼öªù</quote> ªºª±·N¡C
+      ³o¹G±o³\¦h FreeBSD ¨Ï¥ÎªÌ¤£±o¤£¥hÄU»¡³o¨Ç¤H¬O§_´£¨Ñ¥iª½±µ¦b FreeBSD ¤W°õ¦æªºª©¥»¡C
+      ¦ý°ÝÃD¬O¡A¤j¦h¼Æ¤½¥q¨Ã¤£ÁA¸Ñ·|¦³¦h¤Ö¤H·|¥Î FreeBSD ª©¡A¦]¦¹¥L­Ì¤´¥u¶}µo Linux ª©¡C
+      ¨º»ò FreeBSD ¨Ï¥ÎªÌ¸Ó«ç»ò¿ì©O¡Hµª®×´N¬O¥Î FreeBSD ©Ò´£¨Ñªº Linux binary ¬Û®e¡C</para>
+
+    <para>²³æ¨ÓÁ¿¡A³oºØ¬Û®e©Ê¥iÅý FreeBSD ¨Ï¥ÎªÌª½±µ°õ¦æ¬ù 90% ªº Linux µ{¦¡¡A¦Ó¤£¥²°µ¥ô¦ó­×§ï¡C
+      ³o¨Ç¥]¬A¤F¡G <application>&staroffice;</application>¡B
+      <application>&netscape;</application> ªº Linux ª©¡B
+      <application>&adobe; &acrobat;</application>¡B
+      <application><trademark class="registered">RealPlayer</trademark></application>¡B
+      <application><trademark>VMware</trademark></application>¡B
+      <application>&oracle;</application>¡B
+      <application><trademark class="registered">WordPerfect</trademark></application>¡B<application>Doom</application>¡B
+      <application>Quake</application> µ¥µ¥¡C¦¹¥~¡A¤]¦³¤H¦^³ø»¡¦b¬Y¨Ç±¡ªp¤U¡A
+      ³o¨Ç¦b FreeBSD ¤W°õ¦æªº Linux µ{¦¡¡A¬Æ¦Ü¤ñ­ì¥»¦b Linux °õ¦æ±o§ó¦n¡C</para>
+
+    <para>µM¦Ó©O¡AÁÙ¬O¦³¨Ç¥u­­ Linux ¯S©wªº§@·~¨t²Î¥\¯à¡A¦b FreeBSD ¤W¨Ã¥¼¤ä´©¡C
+      ¦pªG Linux µ{¦¡¹L©óÀݥΥu¦³ &i386; ¬[ºc¤W¤~¯à¥Îªº¥\¯à¡A¤ñ¦p¡GµêÀÀ 8086 ¼Ò¦¡¡A
+      «h¥i¯àµLªk¦b FreeBSD ¹B§@¥¿±`¡C</para>
 
-    <para>After reading this chapter, you will know:</para>
+    <para>Ū§¹³o³¹¡A±z±N¤F¸Ñ¡G</para>
     <itemizedlist>
       <listitem>
-	<para>How to enable Linux binary compatibility on your system.</para>
+	<para>¦p¦ó±Ò¥Î Linux ¬Û®e¼Ò¦¡¡C</para>
       </listitem>
 
       <listitem>
-	<para>How to install additional Linux shared
-	  libraries.</para>
+	<para>¦p¦ó¦w¸ËÃB¥~ªº Linux share libraries¡C</para>
 	</listitem>
 
       <listitem>
-	<para>How to install Linux applications on your FreeBSD system.</para>
+	<para>¦p¦ó¦b FreeBSD ¤W¦w¸Ë Linux µ{¦¡¡C</para>
       </listitem>
 
       <listitem>
-	<para>The implementation details of Linux compatibility in FreeBSD.</para>
+	<para>FreeBSD ¤Wªº Linux ¬Û®e¼Ò¦¡ªº¹ê§@²Ó¸`¡C</para>
       </listitem>
     </itemizedlist>
 
-    <para>Before reading this chapter, you should:</para>
+    <para>¦b¾\Ū³o³¹¤§«e¡A±zÀ³·í¤F¸Ñ¡G</para>
 
     <itemizedlist>
       <listitem>
-	<para>Know how to install additional third-party
-        software (<xref linkend="ports">).</para>
+	<para>ª¾¹D¦p¦ó³z¹L port ¾÷¨î¨Ó¦w¸Ë³nÅé(<xref linkend="ports">)¡C</para>
       </listitem>
     </itemizedlist>
 
   </sect1>
 
   <sect1 id="linuxemu-lbc-install">
-    <title>Installation</title>
+    <title>¦w¸Ë</title>
 
     <indexterm><primary>KLD (kernel loadable object)</primary></indexterm>
 
-    <para>Linux binary compatibility is not turned on by default.  The
-      easiest way to enable this functionality is to load the
+    <para>¹w³]¨Ã¤£·|¥´¶} Linux ¬Û®e¼Ò¦¡¡A³Ì²³æªº±Ò¥Î¤è¦¡¡A´N¬O¸ü¤J 
       <literal>linux</literal> KLD object (<quote>Kernel LoaDable
-      object</quote>).  You can load this module by typing the
-      following as <username>root</username>:</para>
+      object</quote>)¡C  ¸ü¤J¤è¦¡¡A½Ð¤Á¬° <username>root</username> 
+      Åv­­¡AµM«á¥´¤U¦C«ü¥O¡G</para>
 
     <screen>&prompt.root; <userinput>kldload linux</userinput></screen>
 
-    <para>If you would like Linux compatibility to always be enabled,
-      then you should add the following line to
-      <filename>/etc/rc.conf</filename>:</para>
+    <para>­Y­n¨C¦¸¶}¾÷³£±Ò¥Îªº¸Ü¡A½Ð§â¤U¦C¤º®e¥[¨ì 
+      <filename>/etc/rc.conf</filename> ÀÉ¡G</para>
 
     <programlisting>linux_enable="YES"</programlisting>
 
-    <para>The &man.kldstat.8; command can be used to verify that the
-      KLD is loaded:</para>
+    <para>¥t¥~¥i¥H¥Î &man.kldstat.8; «ü¥O¡A¨Ó½T»{¦³­þ¨Ç KLD ¦³¸ü¤J¡G</para>
 
     <screen>&prompt.user; <userinput>kldstat</userinput>
 Id Refs Address    Size     Name
@@ -130,7 +114,7 @@
  7    1 0xc24db000 d000     linux.ko</screen>
     <indexterm>
       <primary>kernel options</primary>
-      <secondary>LINUX</secondary>
+      <secondary>COMPAT_LINUX</secondary>
     </indexterm>
 
     <para>If for some reason you do not want to or cannot load the KLD,
@@ -160,7 +144,7 @@
 	  from the <ulink type="html" url="file://localhost/usr/ports/">Ports Collection</ulink>.
 	  Simply do the following:</para>
 
-	<screen>&prompt.root; <userinput>cd /usr/ports/emulators/linux_base</userinput>
+	<screen>&prompt.root; <userinput>cd /usr/ports/emulators/linux_base-fc4</userinput>
 &prompt.root; <userinput>make install distclean</userinput></screen>
 
 	<para>You should now have working Linux binary compatibility.
@@ -1563,8 +1547,7 @@
       <title>Installation of FreeBSD</title>
 
       <para>First you have to install FreeBSD. There are several ways to do
-	this (FreeBSD 4.3 was installed via FTP, FreeBSD 4.5 directly from
-	the RELEASE CD) for more information read the <xref
+	this, for more information read the <xref
 	linkend="install-diff-media">.</para>
 
       <sect3 id="disk-layout">
@@ -2066,7 +2049,7 @@
 	  and <application>&oracle;</application>, therefore choose a larger
 	  number of shared memory pages.</para>
 
-	<note><para>With the default installation of FreeBSD 4.5 on &i386;,
+	<note><para>With the default installation of FreeBSD on &i386;,
 	  leave <literal>MAXDSIZ</literal> and <literal>DFLDSIZ</literal> at 1 GB maximum. Otherwise, strange 
 	  errors like <errorname>ORA-27102: out of memory</errorname> and 
           <errorname>Linux Error: 12: Cannot allocate memory</errorname>
@@ -3037,7 +3020,7 @@
       <sect3 id="ora-00001">
 	<title><errorcode>ORA-00001</errorcode></title>
 	<para>This error only happened with 
-	  <application>&oracle; 8.1.7</application> on FreeBSD 4.5.
+	  <application>&oracle; 8.1.7</application> on FreeBSD.
 	  The reason was that the <application>&oracle;</application> database could not initialize itself
 	  properly and crashed, leaving semaphores and shared memory on the
 	  system. The next try to start the database then returned
--- zh_TW.Big5.20060805_3.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list