Contributed by Poul-Henning Kamp <phk@FreeBSD.org>. v1.1, April 26th.
±Ò°Ê FreeBSD »Ýn¤TÓ¨BÆJ¡G ¸ü¤J kernel¡A ´ú©wroot©Ò¦bªºÀɮרt²Î¡A¥H¤Îªì©l¤Æ¤@¨ÇÃö©ó¨Ï¥ÎªÌ¤è±ªºªF¦è¡C
§Ú̲{¦b¤¶²Ð¥H¤U¤TºØ¸ü¤J kernel ªº°ò¥»¤èªk¡G ¥¦Ì¥þ³¡³£·|µ¹ kernel ¤@¨Ç¸ê°T¡AÀ°§U kernel ¨M©w±µ¤U¨Ón°µ¤°»ò¡C
Biosboot ¬O§Ú̪º ``bootblocks''¡C ¥¦¥Ñ¨âÓÀɮײզ¨¡C³o¨âÓÀÉ®×·|³Q¦w¸Ë¦b³nºÐ©ÎµwºÐ¤¤¥Î¨Ó±Ò°Êªº slice ¤§²Ä¤@Ó 8K bytes ªº¦a¤è¡C
Biosboot ¥i¥H±q¤@Ó FreeBSD ªºÀɮרt²Î¸ü¤J kernel¡C
Dosboot ¬O¥Ñ DI. Christian Gusenbauer ¼¶¼gªº¡A ¥i±¤²{¦b«Ü¤£©¯¦a¦³¤@¤p³¡¥÷ªºµ{¦¡½X»P FreeBSD¥»¨¨Ã¤£¬Û®e¡A ¦]¬°³o¨Çµ{¦¡½X¬O¼gµ¹ Microsoft compilers ªº¡C
Dosboot ¥i¥H±q¤@Ó MS-DOS ªºÀɮשάOºÏºÐ¤Wªº¤@Ó FreeBSD file system partiton ¨Ó±Ò°ÊFreeBSD¡C ¥¦¹Á¸Õ¥h§JªAÁôÂæb MS/DOS ¨t²Îªº high memory ¤¤¦hºØ©_©Çªº memory manglers¡Aµ²ªG³q±`³£¯àÄF¹L¥¦Ì¥HÄ~Äò°Ê§@¡C
Netboot ·|¹Á¸Õ¥h´M§ä©Ò¤ä´©ªº Ethernet ºô¸ô¥d¡A ¨Ã¥B¥Î BOOTP¡BTFTP ©M NFS ¥h§ä¨ì kernel ÀÉ®×¨Ó±Ò°Ê FreeBSD¡C
±q kernel ³Q¸ü¤J¡A±Ò°Êµ{¦¡¸õ¨ì kernel¡Akernel´N¶}©lªì©l¤Æ¡A ¹Á¸Õ§P©w²{¦b¦³¤°»ò¼ËªºµwÅéµ¥µ¥¡A ¤§«á¥¦»Ýn§ä¨ì®Ú¥Ø¿ý©Ò¦bªºÀɮרt²Î¡C
§Ú̲{¦³¤ä´©¥H¤U´XºØ root filesystems¡G
³o¬O³Ì´¶³qªº¤@ºØ root filesystem¡C¥¦¥i¥H¥Î¦b³nºÐ©ÎµwºÐ¤W¡C
³o¥u¬O§Þ³N¤W¥i¦æ¡A¹ê»Ú¤W¨Ã¤£¹ê¥Î¡A¦]¬° FAT ªºÀɮרt²Î¤£¯à²£¥Í links¡B device nodes ©M¤@¨Ç ``UNIXisms'' (Ķª`¡G»P UNIX ¬ÛÃöªº²£ª«)¡C
³o¬O¤@Ó³Q½sĶ¦b kernel ¤º³¡ªº UFS Àɮרt²Î¡C¥Nªí¤F kernel ¤£¯u¥¿»Ýn¥ô¦óªºµwºÐ/³nºÐ©Î¬O¨ä¥LªºµwÅé¨Ó°Ê§@¡C
®³ CD-ROM ¨Ó·í§@ root filesystem ®É¥Î¡C
Root filesystem ©ñ¦bÀɮצøªA¾¹¤W¡A °ò¥»¤W¬O¥Î©ó¤@¥x¨S¦³µwºÐªº¾÷¾¹¡C
n¥O¨Ï¥ÎªÌ¤è±ªºªF¦è°õ¦æ¡A¬O¦b kernel µ²§ôªì©l¤Æ«á¡A ¥¦±N·|²£¥Í¤@Ó pid == 1 ªº process¡A ¦b root filesystem ¤W°õ¦æ¤@Óµ{¦¡¡A¤@¯ë³oÓµ{¦¡´N¬O /sbin/init¡C
§A¥i¥H¥H¥ô¦óµ{¦¡¨ú¥N /sbin/init¡A ¥un§A°O¦í¡G
³o¸Ì¨S¦³ stdin/out/err °£«D§A¦Û¤v¥´¶}¡C ¦pªG§AÂ÷¶}¡A¾÷¾¹·| panics¡C¨Ã·|¹ï pid == 1 ²£¥Íªº°T¸¹§@³B²z¡C
¦b¦w¸ËºÏºÐ¤Wªº /stand/sysinstall ´N¬O¤@Ó¨Ò¤l¡C
±Ò°Ê kernel¡A¦b MFS ¸Ì¦³¤@Ó¯S§Oªº /sbin/init ¥¦·|...
§â±zªº C: ±¾¦b /C:
§â C:/freebsd.fs ³]©w¦¨ /dev/vn0
§â /dev/vn0 ±¾¨ì /rootfs
°µ¤@¨Ç symlinks /rootfs/bin -> /bin /rootfs/etc -> /etc /rootfs/sbin -> /sbin (etc...)
²{¦b§A¶] FreeBSD ¦Ó¤£¥Î«·s¤À³Î§AªºµwºÐ...
¥Î NFS §â server:~you/FreeBSD ±¾¦b /nfs¡A§â root ¦ì¸m§ïÅܦ¨ /nfs ¨Ã¦b¨ºùØ°õ¦æ /sbin/init
²{¦b§A¤£¥ÎºÏºÐ¦Ó¥i¥H¶] FreeBSD¡A ´Nºâ§A¨S¦³ NFS server ªº±±¨îÅv...
²{¦b§A¦³¤@Ó X ²×ºÝ¾÷¡A³oÁ`¤ñ§A¦b windows ¤U¶] X µøµ¡¼ÒÀÀ¾¹¦n¡A¤£¦ý³t«×§Ö«Ü¦h¡A¤]¬Ù¤U¤£¤ÖµwÅ骺¿ú¡C
»s§@¤@¥÷ /dev/rwd0 ªº«þ¨©¨Ã¼g¨ì»·ºÝªººÏ±a¾÷©Î¬OÀɮצøªA¾¹¡C
³o¼Ë§A²×©ó¯à°÷°µ¤@¥÷§AÀ³¸Ó¦b¤@¦~¤§«e´N°µ¦nªº³Æ¥÷...
³o¬O¤Q¤À¦³½ìªº¡A·í§A±q¨¾¼gªº³nºÐ±Ò°Ê«á¡A ¤´µM¥i¥H¼g¤J§Aªº root filesystem...