\documentclass[letterpaper]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{Linux+FreeBSD mini-HOWTO ¤¤Ä¶ª©}
\author{§@ªÌ: Niels Kristian Bech Jensen, {\ttfamily \onlynameurl{nkbj@image.dk}} \\ 
Ä¶ªÌ: \onlynameurl{¶À«hºa} {\ttfamily \onlynameurl{tjhuang@technologist.com}}}
\date{v1.4, 23 January 1998
Â½Ä¶¤é´Á: 17 March 1998}
\abstract{³o¥÷¤å¥ó³~­z¦p¦ó¦b¤@­Ó¨t²Î¤¤¨Ï¥Î Linux ©M FreeBSD. ¥¦¤¶²Ð FreeBSD, ¨Ã°Q½×³o¨â­Ó¨t²Î¦p¦ó¤¬¬Û¼vÅT, ¦p¤@°_¤À¨É swap ªÅ¶¡. §A¦bÅª³o¥÷¤å¥ó¤§«e, À³¸Ó­n¦³¨Ï¥Î Linux »P°µµwºÐ¤À³Îªº¸gÅç. ¦pªG§A¹ï³o½g¤å¥ó¦³¥ô¦óªºµû½×, °ÝÃD, »P«ØÄ³, ½Ð¤£­nµS¿Ý,
¼g«Ê¹q¤l¶l¥óµ¹§Ú.   §Ú¤]§Æ±æÅ¥Å¥¦³¦P®É¨Ï¥Î Linux ©M NetBSD ©Î OpenBSD ¸gÅçªº¤H»¡»¡. }


\begin{document}
\maketitle
\tableofcontents

\section{¤°»ò¬O FreeBSD? }

FreeBSD ©M Linux ¤@¼Ë¬O­Ó§K¶Oªº, ¦p¦P unix ¯ëªº§@·~¨t²Î. 
³Ì¥D­nªº®t²§¬O, Linux ¬O¦Û­º¨ì§À±q·sµo®iªº, ¦Ó FreeBSD ¬O°ò©ó 4.4BSD (¬f§J¨Ó¤j¾Ç³nÊ^ Distribution) ¦Û¥Ñ redistribution ªº¨º¤@­Ó³¡¥÷¦Ó¨Ó. 
³o­Ó³¡¥÷¤]³QºÙ¬° 4.4BSD-lite.  ³o­Ó¨Æ¹ê¤]³\·|¨Ï¤H³o»ò·Q: FreeBSD ¤ñ Linux §óªñ©ó'¯u¥¿'ªºunix.
FreeBSD ¥u¯à¦b Intel PC ¥­¥x¤W(i386©Î§ó°ª)°õ¦æ. ¦Ó²¾´Ó¨ì DEC Alpha ¥­¥xªºª©¥»¥Ø«e¥¿¦b³Q°Q½×.
FreeBSD ¹ïµwÊ^ªº»Ý¨D»P Linux «D±`ªº¬Û¹³.

FreeBSD ªºµo®i»P Linux ¤ñ¸û°_¨Ó¬O¤ñ¸û«Ê³¬ªº. ¥D­nªº¨M©w¬O¥Ñ¤@­Ó¶}µo¤H­û©Ò¦¨¥ßªº¤¤¤ß¹Î¶¤­t³d. 
¤jªº§ïÅÜ¥ý¦bmail-list ¤W¨Æ¥ý°µ°Q½×. 
FreeBSD ¦³¨â­Óµo®i¾ð, (¦p¦P Linux ¤@¯ë) : {\itshape ``-current''\/} ©M {\itshape ``-stable"\/}.  
·s¥\¯àªºµo®i¦b``-current"µo®i¾ð¤¤, ¦Ó``-stable"¾ð¤¤ªº§ïÅÜ¥D­n³£¬O¤v°£¥h bug ªº¤F.

FreeBSD ¦p¦P Linux¤@¯ë¥i¦Û¥Ñ§K¶Oªº¨Ï¥Î»P(re-)´²µo.  ¨t²Îªº¤j³¡¥÷¬O¦bBSD ª©Åv¤Uµo¦æ, ¦Ó¨ä¥Lªº«h¬O¦b GNU GPL ©Î GNU LPGL ¤U.

§A¥i¥H¦b \nameurl{http://www.freebsd.org/}{FreeBSD Inc.} ¤U§ä¨ì§ó¦hªº¸ê°T©Î¬O¤U¸ü¾ã­Ó¨t²Î.  ³Ì·s ``-stable"ªºª©¥»©M
``-current"µo®iµ{¦¡½X¥i¥H¦b \nameurl{http://www.cdrom.com/}{Walnut Creek CDROM} ÁÊ±o. (¥L­Ì¬O¨Ï¥Î FreeBSD ¨Ó´£¨Ñ web ©M ftp ªA°È)




\section{FreeBSD ¼Ð¥ÜµwºÐªº¤è¦¡}

Linux ©M FreeBSD ¨Ï¥Î¨âºØ¤£¦Pªº¤è¦¡¨Ó¼Ð¥Ü»P¤Á³ÎµwºÐ. 


\subsection{FreeBSD ``slices'' ©M ``partitions''}

FreeBSD ¥u»Ý­n¥ÎµwºÐ¤Wªº¤@­Ó¥DµwºÐ¤Á³Î°Ï.  
³o­Ó¥D¤Á³Î°Ï¦b FreeBSD ªº³N»y¤¤³QºÙ¬° {\itshape ``slice''\/}.
µM«á¥¦¥Î {\ttfamily disklabel} ³o­Óµ{¦¡¦b³o­Ó¥DµwºÐ¤Á³Î°Ï¤¤»s³yÅÞ¿è¤Á³Î°Ï.
³o¨ÇÅÞ¿è¤Á³Î°Ï¦b FreeBSD ªº³N»y¤¤³QºÙ¬°{\itshape ``partitions''\/}. 
³o­ÓÆ[©À»P Linux (©M DOS) ³B²z¬A¥R¤Á³Î°Ï¤¤ªºÅÞ¿è¤Á³Î°Ï¬O«D±`¬Û¹³ªº.
ª`·N: Linux {\ttfamily fdisk} µ{¦¡ªº¥D¥\¯àªí¤¤¨Ã¤£·|±N FreeBSD slice ¤¤ªº partitions Åã¥Ü¥X¨Ó, ¦ý¬O§A¥i¥H¨Ï¥Î©R¥O 'b' ¨ÓÅã¥Ü BSD ºÏºÐ¼ÐÅÒªº°T®§.
¥¦ªº¿é¥X±N¦p³o¼Ë : ({\ttfamily /dev/hda4} ¬O FreeBSD ªº slice): 

\begin{tscreen}
\begin{verbatim}
# fdisk /dev/hda 
 
Command (m for help): p
Disk /dev/hda: 64 heads, 63 sectors, 621 cylinders
Units = cylinders of 4032 * 512 bytes 
   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1   *        1        1       27    54400+  83  Linux native
/dev/hda2           28       28       55    56448   83  Linux native
/dev/hda3           56       56      403   701568   83  Linux native
/dev/hda4          404      404      621   439488   a5  BSD/386 
Command (m for help): b
Reading disklabel of /dev/hda4 at sector 1624897. 
BSD disklabel command (m for help): p
8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    64512  1624896    4.2BSD        0     0     0   # (Cyl.  404 - 419)
  b:   104832  1689408      swap                        # (Cyl.  420 - 445)
  c:   878976  1624896    unused        0     0         # (Cyl.  404 - 621)
  e:    64512  1794240    4.2BSD        0     0     0   # (Cyl.  446 - 461)
  f:   645120  1858752    4.2BSD        0     0     0   # (Cyl.  462 - 621) 
BSD disklabel command (m for help): q
#
\end{verbatim}
\end{tscreen}

¦b²Ä¤@­ÓÄæ¦ì¤¤ªº¦r¥À `a'...`f' »P¤U­± FreeBSD slice ªº¨Ò¤l¤¤ªº¬O¬Û¦Pªº.
¦r¥À`b'«üªº¬O swap partition, ¦Ó`c'«üªº¬O¾ã­Ó slice.
¾\Åª FreeBSD ¤å¥ó¥H«KÀò¨ú«ü©w³o¨Ç¦r¥Àµ¹¤£¦P¤Á³Î«¬ºAªº``¼Ð·Ç¤èªk" ªº§ó¦h¸ê°T. 




\subsection{Linux ©M FreeBSD ¤¤ªºµwºÐ»P¤Á³Î°Ï¼Ð¥Ü.}

Linux ©M FreeBSD ¤¤ªºµwºÐ¬O¦p¤U¦C¤èªk¼Ð¥Üªº:
\begin{tscreen}
\begin{verbatim}
Linux FreeBSD
First IDE drive /dev/hda /dev/wd0
Second IDE drive /dev/hdb /dev/wd1
First SCSI drive /dev/sda /dev/sd0
Second SCSI drive /dev/sdb /dev/sd1
\end{verbatim}
\end{tscreen}
 
FreeBSD slice ¬O¦p¤U¤èªk¼Ð¥Ü:
({\ttfamily /dev/hda} ¬°½d¨Ò):
\begin{tscreen}
\begin{verbatim}
Linux FreeBSD
First primary partition /dev/hda1 /dev/wd0s1
Second primary partition /dev/hda2 /dev/wd0s2
Third primary partition /dev/hda3 /dev/wd0s3
Fourth primary partition /dev/hda4 /dev/wd0s4
\end{verbatim}
\end{tscreen}
 
FreeBSD slice ¤¤ªº partitions ¦p¤U­z¤èªk¼Ð¥Ü
({\ttfamily /dev/hda4} ¬O¨Ò¤l¤¤ªº FreeBSD slice ):
\begin{tscreen}
\begin{verbatim}
Linux label FreeBSD label Default FreeBSD mount point 
/dev/hda5 /dev/wd0s4a /
/dev/hda6 /dev/wd0s4b swap
/dev/hda7 /dev/wd0s4e /var
/dev/hda8 /dev/wd0s4f /usr
\end{verbatim}
\end{tscreen}
 
¦pªG§A¦b Linux¤¤°õ¦æ {\ttfamily dmesg} §A±N·|¬Ý¨ì¦p¤U (Linux ªº kernel ¥²¶·¦³  {\bfseries UFS} ¤ä´©¤~¯à«µ®Ä. ¬Ý \ref{installlinux} {(¦w¸Ë¨Ã·Ç³Æ Linux)}) ³¡¥÷:
\begin{tscreen}
\begin{verbatim}
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
\end{verbatim}
\end{tscreen}
 
¦pªG§A¦b {\ttfamily /dev/sdb3} slice ¤¤¦w¸Ë FreeBSD, ¦Ó¥B {\ttfamily /dev/sdb2} ¬O¤@­Ó§t¦³¨â­ÓÅÞ¿è¤Á³Îªº Linux ÂX¥R¤Á³Î ({\ttfamily /dev/sdb5} ¤Î {\ttfamily /dev/sdb6}), ¤§«eªº¨Ò¤l¬Ý°_¨Ó±N¦p¦P³o¼Ë:
\begin{tscreen}
\begin{verbatim}
Linux label FreeBSD label Default FreeBSD mount point 
/dev/sdb7 /dev/sd1s3a /
/dev/sdb8 /dev/sd1s3b swap
/dev/sdb9 /dev/sd1s3e /var
/dev/sdb10 /dev/sd1s3f /usr
\end{verbatim}
\end{tscreen}
 
¦b {\ttfamily dmesg} ªº¿é¥X¤¤¬Ý°_¨Ó±N¦p
\begin{tscreen}
\begin{verbatim}
Partition check:
sdb: sdb1 sdb2 < sdb5 sdb6 > sdb3 < sdb7 sdb8 sdb9 sdb10 >
\end{verbatim}
\end{tscreen}
 
¦pªG§A¦³¤@­Ó Linux ©µ¦ùºÏ°Ï¦b FreeBSD slice {\itshape ¤§«á\/}, §A«K¦³¤F³Â·Ð.
¦]¬°¤j¦h¼Æªº Linux ®Ö¤ß¦w¸ËºÏ¤ù¨S¦³¤º§t{\bfseries UFS} ¤ä´©, 
¥¦­Ì»{¤£±o FreeBSD slice ¤¤ªº partitions.
¬Ý¨ìªº({\ttfamily /dev/hda3} ¬O FreeBSD slice ¦Ó {\ttfamily /dev/hda4} ¬O Linux ©µ¦ù¤Á³Î)

\begin{tscreen}
\begin{verbatim}
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 > hda4 < hda9 hda10 >
\end{verbatim}
\end{tscreen}

¥X²{¦¨:
\begin{tscreen}
\begin{verbatim}
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
\end{verbatim}
\end{tscreen}
 

³o·|¾É­P¿ù»~ªº³]¬I«ü©w, ¨Ã·|¥O¸ê®Æ¿ò¥¢. 
§Úªº«ØÄ³¬O {\itshape ¥Ã»·§â§Aªº FreeBSD slice ©ñ¦b¥ô¦ó Linux ©µ¦ù¤Á³Î¤§«á, ¨Ã¥B¤£­n¦b¦w¸Ë FreeBSD «á, §ïÅÜ Linux ©µ¦ù¤Á³Î¤¤ªº¥ô¦óÅÞ¿è¤Á³Î\/}. 




\section{¦b Linux ©M FreeBSD¶¡¤À¨É Swap ªÅ¶¡}

³o¤@­Ó½g´T´y­z§Ú¦p¦óÅý Linux ©M FreeBSD ¦@¥Î¤@­Ó Swap ¤Á³Î. ¥i¯àÁÙ¦³§Oªº¤èªk¥i¥H°µ¨ì¬Û¦Pªºµ²ªG.
³o¸Ì©Ò¥Îªº Linux ¬O Red Hat 4.1 ©M 4.2 (Linux ®Ö¤ß 2.0.29 ©M 2.0.30) »P FreeBSD 2.2.2.
¦pªG§AÄ@·N, §A¥i¥H¦b¦w¸Ë  Linux ¤§«e¥ý¦w¸Ë FreeBSD, ¦ý­nª`·N FreeBSD slice ¤¤ partition ªº¶¶§Ç.




\subsection{¦w¸Ë©M·Ç³Æ Linux\label{installlinux}}

²Ä¤@¨B¬O¦p¥­±`¤@¼Ëªº¦w¸Ë Linux. §A¥²¶·¦b§AªºµwºÐ¤¤¯d¤Uµ¹ FreeBSD slice ªºªÅ¶¡.
§A¤£¥Î§@ Linux ªº Swap ¤Á³Î, ¦ý¦pªG§A­n³o¼Ë¤@­Ó¤Á³Î, ´N§â¥¦©ñ¦b§A­nµ¹ FreeBSD ªºªÅ¶¡¤¤. 
³o¼Ë, §A«K¥i¥H¦bµy«á§R°£³o­Ó¤Á³Î, ¨Ã§â¥¦®³¨Óµ¹ FreeBSD ¥Î . 

¦b§¹¦¨ Linux ªº¦w¸Ë«á, §A¥²¶·­n­«·s½sÄ¶ kernel. ¦pªG§A¹ï³o¤£²M·¡, ¥i¥H°Ñ¦Ò {\bfseries The Linux Kernel HOWTO}.
§A {\itshape ¥²¶·\/} ¥[¤J¹ï {\bfseries UFS ÀÉ®×¨t²Î} ªº¤ä´©, »P¹ï {\bfseries BSD disklabel (FreeBSD partition tables)} ªº¤ä´©.
\begin{tscreen}
\begin{verbatim}
UFS filesystem support (read only) (CONFIG_UFS_FS) [N/y/m/?] y
BSD disklabel (FreeBSD partition tables) support (CONFIG_BSD_DISKLABEL) [N/y/?]
(NEW) y
\end{verbatim}
\end{tscreen}
 
¦w¸Ë·sªº®Ö¤ß¨Ã­«·s¶}¾÷. ¦pªG§A¦³«Øºc Linux Swap ¤Á³Î, §â¦b{\ttfamily /etc/fstab} ÀÉ¤¤¥ô¦ó§t¦³ {\itshape swap\/}  ªº¨º´X¦æ§R¥h. 
{\itshape ½T©w§A¦³¥i¥Îªº·s®Ö¤ß¶}¾÷¤ù\/} §A«K¥i¥H¶}©l¨Ó¦w¸Ë FreeBSD ¤F.


\subsection{¦w¸Ë FreeBSD}

¨Ì FreeBSD ¤å¥ó¤¤©Ò´y­zªº¤è¦¡¨Ó¦w¸Ë§Aªº FreeBSD.
¦pªG§A¦³«Øºc Linux swap ¤Á³Î, §â¥¦§R°£, (§A¥i¥H¨Ï¥Î FreeBSD ªº{\ttfamily fdisk} µ{¦¡.)
ª`·N¤@¤U FreeBSD slice ¤¤ partitions ªº¶¶§Ç. 
¦pªG§A¨Ï¥Î¹w³]ªº¼ÐÅÒ½s½X, ²Ä¤G­Ó partition ±N¬Oswap ¤Á³Î. §¹¦¨ FreeBSD ªº¦w¸Ë,
¨Ã{\itshape ¨Ï¥ÎLinuxªº¶}¾÷¤ù\/} ­«·s¶}¾÷¶i¤J Linux.




\subsection{¦b Linux ¤¤³]©w FreeBSD ªº swap ¤Á³Î}

¦b¶i¤J Linux «á°õ¦æ {\ttfamily dmesg}. ¦b¥¦ªº¿é¥X§AÀ³¸Ó·|¬Ý¨ìÃþ¦ü³o¼ËªºªF¦è: 
\begin{tscreen}
\begin{verbatim}
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
\end{verbatim}
\end{tscreen}
 
³oªí¥Ü {\ttfamily /dev/hda4} ¬O§Aªº FreeBSD slice, ¦Ó {\ttfamily /dev/hda5}, {\ttfamily /dev/hda6}, {\ttfamily /dev/hda7} ©M {\ttfamily /dev/hda8} ¬O
FreeBSD ¤Á³Î. ¦pªG§Aªº swap ¤Á³Î¬O¦b slice ¤¤ªº²Ä¤G­Ó¤Á³Î, ¨º±N·|¬O {\ttfamily /dev/hda6}.
§A¥²¶·§â¤U­±ªº³o´X¦æ©ñ¨ì§Aªº {\ttfamily /etc/fstab} ÀÉ¤¤¨Ó¶}±Ò swap partition ªº¥\¯à.
\begin{tscreen}
\begin{verbatim}
/dev/hda6 none swap sw 0 0
\end{verbatim}
\end{tscreen}
 
FreeBSD ¥i¥H¥Î¥ô¦ó«¬ºAªº¤Á³Î¨Ó·í§@ swap ¤Á³Î, ¦ý Linux ªº swap ¤Á³Î»Ý­n¯S§OªºÃ±¦W. 
³o­ÓÃ±¦W¬O¥Î {\ttfamily mkswap} ¨Ó«Øºcªº.
FreeBSD ¨Ï¥Î³o­Ó¦@¥Îªº swap ¤Á³Î®É·|¹ï³o­ÓÃ±¦W³y¦¨¯}Ãa, ©Ò¥H§A¥²¶·¦b¨C¦¸¶i¤J Linux ªº®É«á°õ¦æ {\ttfamily mkswap}.
­nÅý³o­Ó°Ê§@¦Û°Ê°õ¦æ, §A¥²¶·§ä¥X°õ¦æ {\ttfamily swapon} ªº script ¨Ã¦b¶}¾÷®É°õ¦æ.
¥H Red Hat ¦Ó¨¥, ³o¬O {\ttfamily /etc/rc.d/rc.sysinit}. §â¤U­±³o¤@¦æ©ñ¨ì {\ttfamily swapon -a} {\itshape «e\/}:  
\begin{tscreen}
\begin{verbatim}
awk -- '/swap/ && ($1 !~ /#/) { system("mkswap "$1"") }' /etc/fstab
\end{verbatim}
\end{tscreen}
 
³o±N·|¦b¨C¦¸¶}¾÷®É, ¦b {\ttfamily /etc/fstab} ¤¤ªº¥ô¦ó swap ¤Á³Î¤W°õ¦æ {\ttfamily mkswap}, °£«D§A§â¥¦¨ú®ø (¨Ï¥Î ``\#'' ·í¤@¦æªº²Ä¤@­Ó¦r¤¸)

¦b§A­«·s¶}¾÷¶i¤J Linux «á, ¨Ï¥Î {\ttfamily free} ¨ÓÀË¬d swap ªÅ¶¡ªº¤j¤p. 
§A¤]¥²¶·­«·s¶}¾÷¶i¤J FreeBSD ¨Ó½T»{¤@¤Á³£¦p¹w´Áªº¹B§@.  
¦pªG¨S¦³, ¨º§A¥i¯à¨Ï¥Î¤F¿ù»~ªº¤Á³Î¨Ó·í§@ swap ¤Á³Î. 
°ß¤@ªº¸Ñ¨M¿ìªk, «K¬O­«·s¦A¦w¸Ë FreeBSD, ¨Ã¦A¸Õ¤@¦¸. ¸gÅç¬O¦nªº¾É®v. :-)




\section{¨Ï¥Î LILO ¨Ó±Ò°Ê FreeBSD }

§A¥i¥H«D±`®e©öªº¨Ï¥Î LILO ¨Ó±Ò°Ê FreeBSD. ¦pªG§A­n¨Ï¥Î LILO, ¤£­n¦w¸Ë FreeBSD ªº boot loader ({\ttfamily Booteasy}).
¦b§Aªº{\ttfamily /etc/lilo.conf} ÀÉ¤¤¥[¤J¤U¦C³o´X¦æ, ¨Ã°õ¦æ  {\ttfamily lilo} ( FreeBSD slice ¬O¦b {\ttfamily /dev/hda4}):

\begin{tscreen}
\begin{verbatim}
other=/dev/hda4
table=/dev/hda
label=FreeBSD
\end{verbatim}
\end{tscreen}
 
¦pªG§A§â FreeBSD ¦w¸Ë¦b²Ä¤GÁû SCSI µwºÐ¤¤, ¨Ï¥ÎÃþ¦ü³o¼Ëªº³]©w(FreeBSD slice ¦b {\ttfamily /dev/sdb2}):
\begin{tscreen}
\begin{verbatim}
other=/dev/sdb2
table=/dev/sdb
loader=/boot/chain.b
label=FreeBSD
\end{verbatim}
\end{tscreen}
 




\section{¬[ºcÀÉ®×¨t²Î}


\subsection{¦b Linux ¤¤¬[ºc UFS ÀÉ®×¨t²Î}

¤£©¯ªº, Linux ®Ö¤ß¹ï UFS ªº¤ä´©¦³°ÝÃD. ·í§A¸ÕµÛ¥h¬[ºc UFS ÀÉ®×¨t²Î®É, ¥u·|±o¨ì¤@¨Ç¿ù»~°T®§(ÀÉ®×¨t²Î¨Æ¹ê¤W¤w¸g³Q¬[¤W¥h¤F, ¦ý§A«o¤£¯àÅª¨ì¥ô¦óªF¦è).
©Ò©¯ Linux 2.0.xx  ®Ö¤ß (xx{$<$}30) ¦³¤@­Ó·s (ALPHA) ª©¥»ªº UFS ÀÉ®×¨t²Î¤ä´©, ¦b \nameurl{ftp://sunsite.unc.edu/pub/Linux/ALPHA/ufs/}{SunSite}.
³o³QºÙ¬° {\bfseries U2FS}, ¦Ó¥Ø«eªºª©¥»¬O {\ttfamily u2fs-0.4.3.tar.gz}. 
{\bfseries U2FS} ¬O¥Î¤U¦Cªº¤è¦¡¨Ó¦w¸Ë(°²³]{\ttfamily u2fs-0.4.3.tar.gz} ¬O¦s©ñ¦b{\ttfamily /usr/src}): 
\begin{tscreen}
\begin{verbatim}
cd /usr/src
tar xvzf u2fs-0.4.3.tar.gz
patch -p0 -E < u2fs-0.4.3.patch
\end{verbatim}
\end{tscreen}
 

Linux  2.0.31 ©Î§ó·sªº®Ö¤ß({\ttfamily u2fs-0.4.4.tar.gz}), »P³Ì·sªº 2.1.xx ®Ö¤ß¾A¥Îªº {\bfseries U2FS}ª©¥», ¥i¥H¦b \nameurl{http://www.image.dk/~nkbj/u2fs/}{³o­Óºô¯¸} §ä¨ì.
²{¦b§A¥²¶·­«·s«Ø¥ß¤ä´© {\bfseries U2FS ÀÉ®×¨t²Î} ©M {\bfseries BSD disklabel} ªº®Ö¤ß. 
°Ñ¦Ò \ref{installlinux} {(¦w¸Ë©M·Ç³Æ Linux)} ¨Ó±o¨ì§ó¦hªº¸ê®Æ. ·í¨Ï¥Î{\bfseries U2FS}®É, §A¥i¥H©¿²¤®Ö¤ßªº {\bfseries UFS ÀÉ®×¨t²Î} ¤ä´©. 
·í§¹¦¨·sªº®Ö¤ß¦w¸Ë«á, §A¥i¥H¨Ï¥Î¦p¤U¦Cªº«ü¥O¨Ó¬[ºc§Aªº UFS ÀÉ®×¨t²Î(©Ò¦³¦b FreeBSD slice ¤¤ªº¤Á³Î, °£¤F swap ¤Á³Î.
\begin{tscreen}
\begin{verbatim}
mount -t u2fs /dev/hda8 /mnt
\end{verbatim}
\end{tscreen}
 
³o­Ó UFS ¤ä´©¬O°ßÅªªº. ¨º§Y¬O§A¥i¥H¦ÛUFS ÀÉ®×¨t²Î¤¤Åª¨ú,¦ý§A¤£¯à¹ï¨ä§@¼g¤J.


\subsection{¦b FreeBSD¤W¬[ºc ext2fs ÀÉ®×¨t²Î\label{ext2fs}}

­n¦b FreeBSD ¤¤¬[ºc ext2fs ÀÉ®×¨t²Î, §A­n¥ý«Ø¥ß¤@­Ó¤ä´© ext2f ªº®Ö¤ß. 
½Ð°Ñ·Ó FreeBSD ªº¤å¥ó¨Ó©ú¥Õ¦p¦ó¶i¦æ. 
©ñ³o´X¦æ 
\begin{tscreen}
\begin{verbatim}
options "EXT2FS"
\end{verbatim}
\end{tscreen}
 
¦b§A·s®Ö¤ßªº³]©wÀÉ¤¤.
¦b§¹¦¨¨Ï¥Î·sªº®Ö¤ß¨Ó¶}¾÷«á, §A¥i¥H¥Î¤U¦C³o´X¦æ¨Ó¬[ºc§Aªº ext2fs ÀÉ®×¨t²Î
\begin{tscreen}
\begin{verbatim}
mount -t ext2fs /dev/wd0s3 /mnt
\end{verbatim}
\end{tscreen}
 
ª`·N: §A¤£¯à§â ext2fs ÀÉ®×¨t²Î¬[ºc¦b FreeBSD ªº©µ¦ù¤Á³Î¤¤.

°ò©ó FreeBSD ªº¬Y¨Ç¿ù»~, §A¥²¶·¦bÃö³¬ FreeBSD {\itshape «e\/}¨ø¤U©Ò¦³ªº ext2fs ÀÉ®×¨t²Î.
¦pªG§A¦b¦³ ext2fs ÀÉ®×¨t²Î¥¼¨ø¤U«e´NÃö³¬ FreeBSD, FreeBSD «K¤£¯à sync UFS ÀÉ®×¨t²Î.
³o·|¾É­PFreeBSD¤U¦¸±Ò°Ê®É {\ttfamily fsck} ³Q°õ¦æ. ³o­Ó¿ù»~¾Ú³ø§i»¡¤w¦b``-current" µo®i¾ð¤¤³Q­×¥¿. 




\section{°õ¦æ¥~¨Óªº°õ¦æÀÉ}


\subsection{¦b Linux ¤U°õ¦æ FreeSBD ªº°õ¦æÀÉ}

{\ttfamily iBCS} package ¦³´£¨Ñ¦b Linux ¤U°õ¦æ FreeBSD °õ¦æÀÉªº¤ä´©; ¦ý¥¦¤w¤Ó¦ÑÂÂ¥B¨S¦³¤HºûÅ@. §Ú¤£¯à¦¨¥\Åý¥¦°Ê§@.
¦pªG§A©¯¹B¦a¥s¥¦°Ê°_¨Ó, ½Ð§A§i¶D§Ú. 




\subsection{¦b FreeBSD ¤U°õ¦æ Linux ªº°õ¦æÀÉ}

FreeBSD ¦³¯à¤O¨Ó°õ¦æ Linux ªº°õ¦æÀÉ, ¥]¬A a.out ©MELF «¬¦¡.
­n³o»ò°µ, §A¥²¶·­n±Ä¨ú¤U¦C¤T­Ó¨BÆJ: 
\begin{enumerate}
\item §A¥²¶·¶}±Ò»P Linux ¬Û®eªº¾÷¨î. ­n³o»ò°µ (in FreeBSD 2.2.2 ---
¨ä¥Lª©¥»ªº²Ó¸`¥i¯à¤£¦P) §A­n­×§ï§Aªº{\ttfamily /etc/rc.conf}
ÀÉ®×, ¨Ã­×§ï 
\begin{tscreen}
\begin{verbatim}
linux_enable="NO"
\end{verbatim}
\end{tscreen}

¦¨
\begin{tscreen}
\begin{verbatim}
linux_enable="YES"
\end{verbatim}
\end{tscreen}
\item §A¥²¶·¦w¸Ë Linux ¦@¨Éªºµ{¦¡®w. ¥¦­Ì¦b FreeBSD 2.2.2 ¤¤³Q¥]§t¦¨¬° package{\ttfamily linux\_lib-2.4.tgz}
(§ó·sªºª©¥»¥i¯à¤w¸g¥X¨Ó¤F.) °õ¦æ³o­Ó©R¥O
\begin{tscreen}
\begin{verbatim}
pkg_add <path_to_package>/linux_lib-2.4.tgz
\end{verbatim}
\end{tscreen}

¨Ó¦w¸Ë³o­Ópackage. $<$path\_to\_package$>$ ¬O³o­Ópackage¦s©ñªº¥Ø¿ý.
\item ¦w¸Ë§A­n°õ¦æªº Linux µ{¦¡. ³o¨Çµ{¦¡¥i¥ô·N¦w¸Ë¦b UFS ©Î ext2fs ÀÉ®×¨t²Î¤¤. 
¬Ý³¹¸` \ref{ext2fs} {(¦b FreeBSD ¤W¬[ºc ext2fs ÀÉ®×¨t²Î)} ¨ÓÀò¨ú¦b FreeBSD ¤¤¨Ï¥Î ext2fs ÀÉ®×¨t²Îªº§ó¦h¸ê°T.
\end{enumerate}
 
§Ú¤w¦¨¥\¦a¨Ï¥Î³o¨Ç¤èªk¦b FreeBSD 2.2.2 °õ¦æ Linux ª©ªº Applixware 4.3 ©M Netscape 3.01 
(¨â­Ó³£¬O ELF ®æ¦¡), (¬Oªº, §Úª¾¹D¦³ FreeBSD ª©ªº Netscape 4.) Åª FreeBSD ªº¤å¥ó¨Ó¤F¸Ñ¦³Ãö³o­Ó¥DÃD. 


\section{°Ñ¦Ò¤åÄm©ó¨ä¥L¦³½ìªº¤å¥ó}

³Ì·sª©ªº³o¥÷ mini-HOWTO ¯à°÷¦b \nameurl{http://www.image.dk/nkbj/}{§Úªº homepage} ¤¤§äµÛ, ¦³¼ÆºØ®æ¦¡ (¥]¬A SGML »P PostScript.) 
³o¥÷¤å¥ó¤w³Q Mr. Teruyoshi Fujiwara Â½Ä¶¦¨¤é¤å, ¦¨¬° \nameurl{ftp://jf.linux.or.jp/pub/JF/other-formats/}{JF project} ªº¤@³¡¥÷. 

FreeBSD ¤â¥U»P FreeBSD FAQ ³Q»P FreeBSD ¤@°_´²µo. ¥¦­Ì¤]¥i¥H¦b\nameurl{http://www.freebsd.org/}{FreeBSD Inc.} ¤¤³Q§äµÛ.
³o­Óºô¯¸¤]¦³«Ü¦hÃö©ó FreeBSD ªº¨ä¥L¸ê°T. 

Linux Kernel HOWTO ³Q´²µo¦¨¬° \nameurl{http://sunsite.unc.edu/LDP/}{The Linux Documentation Project} ªº¤@³¡¥÷.




\section{·PÁÂ©Mª©Åv}

·PÁÂ\nameurl{http://hotel.prosa.dk/bsd-dk/}{*BSD ¤¦³Á¨Ï¥ÎªÌ¸s}¦¨­ûªº¦^µª¤@¦ì FreeBSD ·s¤âªº°ÝÃD, ¤]·PÁÂ Mr. Takeshi
Okazaki Åý§Úª`·N¨ì{\bfseries U2FS} ªº¦s¦b. 


\subsection{Disclaimer}

ÁöµM³o¤å¥ó¤º®e©Ò´£¨Ñªº°T®§¬O³Q¬Û«H¥¿½Tªº, §@ªÌ¥»¤H±N¤£¬°¤å¥ó¤¤ªº¤º®e­t³d. 
½Ð¦Û¤v©Ó¾á¨Ï¥Î³o¨Ç§Þ¥©©M½d¨Òªº­·ÀI.




\subsection{Copyright }

Copyright (c) 1997, 1998 by Niels Kristian Bech Jensen. This document may
be distributed only subject to the terms and conditions set forth in \nameurl{http://sunsite.unc.edu/LDP/LICENSE.html}{the LDP license}. 
ª©Åv Copyright (c) 1997, 1998 by Niels Kristian Bech Jensen.  
³o¥÷¤å¥ó¥u¥i¦b¿í¦u \nameurl{http://sunsite.unc.edu/LDP/LICENSE.html}{the LDP license} ªº±ø¤å©M±ø¥ó¤U³Q´²µo. 

\end{document}
