¥Ç¥£¥¹¥¯Ìµ¤·¤Î X ¥µ¡¼¥Ð: °ì¤Ä¤Î¥¬¥¤¥É

Jerry Kendall


    
  

$FreeBSD: head/ja_JP.eucJP/articles/diskless-x/article.sgml 39544 2012-09-14 17:47:48Z gabor $

1996/12/28

FreeBSD ¤Ï The FreeBSD Foundation ¤ÎÅÐÏ¿¾¦É¸¤Ç¤¹¡£

3Com ¤ª¤è¤Ó HomeConnect ¤Ï 3Com Corporation ¤ÎÅÐÏ¿¾¦É¸¤Ç¤¹¡£

Microsoft, IntelliMouse, MS-DOS, Outlook, Windows, Windows Media ¤ª¤è¤Ó Windows NT ¤Ï ¥¢¥á¥ê¥«¹ç½°¹ñ¤ª¤è¤Ó/¤Þ¤¿¤Ï¤½¤Î¾¤Î¹ñ¤Ë¤ª¤±¤ë Microsoft Corporation ¤ÎÅÐÏ¿¾¦É¸¤Þ¤¿¤Ï¾¦É¸¤Ç¤¹¡£

Sun, Sun Microsystems, Java, Java Virtual Machine, JavaServer Pages, JDK, JSP, JVM, Netra, Solaris, StarOffice, Sun Blade, Sun Enterprise, Sun Fire, SunOS ¤ª¤è¤Ó Ultra ¤Ï ¥¢¥á¥ê¥«¹ç½°¹ñ¤ª¤è¤Ó¤½¤Î¾¤Î¹ñ¤Ë¤ª¤±¤ë Sun Microsystems, Inc. ¤Î ¾¦É¸¤Þ¤¿¤ÏÅÐÏ¿¾¦É¸¤Ç¤¹¡£

À½Â¤¼Ô¤ª¤è¤ÓÈÎÇä¼Ô¤¬À½Éʤò¶èÊ̤¹¤ë¤Î¤Ë ÍѤ¤¤Æ¤¤¤ëɽ¼¨¤Î¿¤¯¤Ï¡¢¾¦É¸¤È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤Îʸ½ñ¤ËÅо줹¤ëɽ¼¨¤Î¤¦¤Á FreeBSD Project ¤¬¤½¤Î¾¦É¸¤ò³Îǧ¤·¤Æ¤¤¤ë¤â¤Î¤Ë¤Ï¡¢¤½¤Îɽ¼¨¤Ë³¤¤¤Æ “™” ¤Þ¤¿¤Ï “®” µ­¹æ¤¬¤ª¤«¤ì¤Æ¤¤¤Þ¤¹¡£

FreeBSD-hackers ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Îͧ¿Í¤¿¤Á¤Î½õ¤±¤Ë¤è¤Ã¤Æ¡¢ ¤ï¤¿¤·¤Ï¥Ç¥£¥¹¥¯¤Î̵¤¤ X üËö¤òºî¤ë¤³¤È¤¬¤Ç¤­¤Þ¤·¤¿¡£ X üËö¤ÎºîÀ®¤Ë¤Ï¡¢NFS ¤Ë¤è¤Ã¤Æ¥Þ¥¦¥ó¥È¤µ¤ì¤¿ºÇ¾®¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò»ý¤Ä ¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤òºî¤é¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£ Ʊ¤¸ÊýË¡¤ò»È¤Ã¤Æ 2 ¤Ä¤ÎÊÌ¡¹¤Ê¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤òºî¤ê¤Þ¤·¤¿¡£ °ì¤ÄÌÜ¤Ï altair.example.com ¤Ç¤¹¡£ ¤½¤ì¤Ï 340M ¤Î¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤¬ÉÕ¤¤¤Æ¤¤¤Þ¤¹¤¬¡¢¸ò´¹¤·¤¿¤¯¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¤½¤Î¤¿¤á¡¢¤½¤Î¥Þ¥·¥ó¤Ï antares.example.com ¤«¤é¥¤¡¼¥µ¥Í¥Ã¥È¤òÄ̤¸¤Æ¥Ö¡¼¥È¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ 2 ¤ÄÌܤΥ·¥¹¥Æ¥à¤Ï 486DX2-66 ¤Ç¤¹¡£ ¤ï¤¿¤·¤ÏÁ´¤¯¥í¡¼¥«¥ë¥Ç¥£¥¹¥¯¤Î¤Ê¤¤¥Ç¥£¥¹¥¯Ìµ¤·¤Î FreeBSD ¤ò (´°àú¤Ë) ¥»¥Ã¥È¥¢¥Ã¥×¤·¤Þ¤·¤¿¡£ ¤½¤Î¾ì¹ç¤Î¥µ¡¼¥Ð¤Ï SunOS™ 4.1.3 ¤¬Æ°¤¤¤Æ¤¤¤ë Sun 670MP ¤Ç¤¹¡£ ¥»¥Ã¥È¥¢¥Ã¥×¤ÎÀßÄê¤ÏξÊý¤ËƱ¤¸¤â¤Î¤¬É¬ÍפǤ·¤¿¡£

¤ï¤¿¤·¤Ï¤³¤Îʸ½ñ¤Ë²Ã¤¨¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤ÆâÍƤ¬¤Þ¤À¤¢¤ë¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤É¤ó¤Ê¤³¤È¤Ç¤â¤´°Õ¸«¤¬¤¢¤ê¤Þ¤·¤¿¤éÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£


1. ¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤òºî¤ë (¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¾å¤Ç)

¥Í¥Ã¥È¥ï¡¼¥¯¥í¡¼¥À¤Ï TSR ¤Ê¤É¤Î MS-DOS® ¤¬»È¤¦¤â¤Î¤¬¤¢¤ë¤È¤¦¤Þ¤¯Æ¯¤«¤Ê¤¤¤³¤È¤¬¤¢¤ë¤Î¤Ç¡¢ ºÇ¤âÎɤ¤ÊýË¡¤ÏÀìÍѤΥ֡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤òºî¤ë¤«¡¢ ¤â¤·¤Ç¤­¤ì¤Ð¡¢MS-DOS ¤Î¥á¥Ë¥å¡¼¤òºî¤Ã¤Æ¥·¥¹¥Æ¥à¤¬µ¯Æ°¤¹¤ë¤È¤­¤Ë¤É¤ÎÀßÄê¤òÍ­¸ú¤Ë¤¹¤ë¤«¤òʹ¤¤¤Æ¤¯¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ç¤¹¡£ (config.sys/autoexec.bat ¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ) ¼¡¤Ëµó¤²¤ë¤Î¤Ï¤ï¤¿¤·¤¬»È¤Ã¤Æ¤¤¤ë¤â¤Î¤Ç¡¢¤Á¤ã¤ó¤ÈÆ°ºî¤·¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£ ¤ï¤¿¤·¤Î MS-DOS (6.x) ¥á¥Ë¥å¡¼¤ò²¼¤ËºÜ¤»¤Þ¤¹¡£

例 1. config.sys

[menu]
menuitem=normal, normal
menuitem=unix, unix
[normal]
....
normal config.sys stuff
...
[unix]

例 2. autoexec.bat

@ECHO OFF
goto %config%

:normal
...
normal autoexec.bat stuff
...
goto end

:unix
cd \netboot
nb8390.com

:end

2. ¥Í¥Ã¥È¥ï¡¼¥¯¥Ö¡¼¥È¤Î¥×¥í¥°¥é¥à¤ò¼ê¤ËÆþ¤ì¤ë (¥µ¡¼¥Ð¾å¤Ç)

/usr/src/sys/i386/boot/netboot ¤Ë¤¢¤ë “net-boot” ¥×¥í¥°¥é¥à¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤Î¤È¤­¤Ë¤Ï Makefile ¤ÎÀèƬ¤Ë¤¢¤ë¥³¥á¥ó¥È¤òÆɤó¤Ç¤ª¤­¤Þ¤·¤ç¤¦¡£ Í׵ᤵ¤ì¤ë¤è¤¦¤ËÄ´À°¤·¤Æ¤¯¤À¤µ¤¤¡£ Ç°¤Î¤¿¤á¤Ë¡¢¥ª¥ê¥¸¥Ê¥ë¤Î¥Õ¥¡¥¤¥ë¤Ï¤É¤³¤«¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¼è¤Ã¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ ¥Ó¥ë¥É¤¬½ª¤ï¤Ã¤¿¤é¡¢2 ¤Ä¤Î MS-DOS ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ë nb8390.com ¤È nb3c509.com ¤¬¤Ç¤­¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£ ¤³¤ì¤é¤Î 2 ¤Ä¤Î¥×¥í¥°¥é¥à¤Î 1 ¤Ä¤Ï¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥µ¡¼¥Ð¾å¤ÇÆ°¤«¤¹¤Î¤ËɬÍפˤʤë¤â¤Î¤Ç¤¹¡£ ¤½¤ì¤Ï¥Ö¡¼¥È¥µ¡¼¥Ð¤«¤é¥«¡¼¥Í¥ë¤ò¥í¡¼¥É¤¹¤ë¤â¤Î¤Ç¤¹¡£ ¤³¤³¤Ç¤ÏξÊý¤Î¥×¥í¥°¥é¥à¤òÀèÄøºî¤Ã¤¿ MS-DOS ¤Î¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤ËÆþ¤ì¤Æ¤ª¤­¤Þ¤¹¡£


3. ¤É¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ë¤«¤òÄ´¤Ù¤ë (¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¾å¤Ç)

¤â¤·¤¢¤Ê¤¿¤Î¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥À¥×¥¿¤¬»È¤Ã¤Æ¤¤¤ë¥Á¥Ã¥×¥»¥Ã¥È¤òÃΤäƤ¤¤ë¤Ê¤é¡¢ ¤³¤ì¤Ï´Êñ¤Ê¤³¤È¤Ç¤¹¡£¤â¤·¤½¤ì¤¬ NS8390 ¥Á¥Ã¥×¥»¥Ã¥È¤«¡¢ NS8390 ¤ò¥Ù¡¼¥¹¤È¤¹¤ë¥Á¥Ã¥×¥»¥Ã¥È¤Ç¤¢¤ì¤Ð¡¢nb8390.com ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£¤â¤· 3Com® 509 ¤ò¥Ù¡¼¥¹¤È¤¹¤ë¥Á¥Ã¥×¥»¥Ã¥È¤Ê¤é¡¢ nb3C509.com ¥Ö¡¼¥È¥×¥í¥°¥é¥à¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤·¤¢¤Ê¤¿¤Î»ý¤Ã¤Æ¤¤¤ë¤â¤Î¤¬¤è¤¯¤ï¤«¤é¤Ê¤±¤ì¤Ð¡¢°ì¤Ä»î¤·¤Æ¤ß¤Æ¡¢¤½¤³¤Ç “No adapter found” ¤È¸À¤ï¤ì¤¿¤é¤Þ¤¿Â¾¤Î¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤Ç¤â¤À¤á¤À¤Ã¤¿¤é¡¢ ¤¢¤Ê¤¿¤Î¤â¤Î¤Ï¤È¤Æ¤âÄÁ¤·¤¤¤È¤¤¤¦¤³¤È¤Ç¤¹¡£


4. ¥Í¥Ã¥È¥ï¡¼¥¯¤ÈÄ̤¸¤Æ¥Ö¡¼¥È¤¹¤ë

config.sys/autoexec.bat ¥Õ¥¡¥¤¥ë¤â»È¤ï¤º¤Ë¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤òΩ¤Á¾å¤²¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤¢¤Ê¤¿¤Î¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥À¥×¥¿¤Î¤¿¤á¤Î¥Ö¡¼¥È¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£

¤ï¤¿¤·¤Î¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥À¥×¥¿¤Ï WD8013 16bit ¥â¡¼¥É¤ÇÆ°¤¤¤Æ¤¤¤ë¤Î¤Ç nb8390.com ¤ò¼Â¹Ô¤·¤Þ¤¹¡£

C:> cd \netboot
C:> nb8390

Boot from Network (Y/N) ?  Y

BOOTP/TFTP/NFS bootstrap loader     ESC for menu

Searching for adapter..
WD8013EBT base 0x0300, memory 0x000D8000, addr 00:40:01:43:26:66

Searching for server...

¤³¤³¤Ç¤Ï¡¢ ¤ï¤¿¤·¤Î¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤Ï¥Ö¡¼¥È¥µ¡¼¥Ð¤È¤·¤Æ¿¶¤ëÉñ¤¦¤è¤¦¤Ê¥Þ¥·¥ó¤òõ¤·¤Ë¤¤¤³¤¦¤È¤·¤Þ¤¹¡£ ¾å¤Î addr ¹Ô¤òµ­Ï¿¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ ¤¢¤È¤«¤é¤½¤Î¿ô¤¬É¬Íפˤʤê¤Þ¤¹¡£¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Æ¡¢ ¤¢¤Ê¤¿¤Î config.sys ¤ä autoexec.bat ¥Õ¥¡¥¤¥ë¤ò½¤Àµ¤·¤Æ ¤³¤ì¤é¤ÎÁàºî¤¬¼«Æ°¤Ç¹Ô¤ï¤ì¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤ª¤½¤é¤¯¥á¥Ë¥å¡¼¤ÎÉôʬ¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£ ¤â¤· nb3c509.com ¤ò nb8390.com ¤ÎÂå¤ï¤ê¤Ë»È¤ï¤Ê¤¯¤Æ¤Ï¤¤¤±¤Ê¤«¤Ã¤¿¤È¤·¤Æ¤â¡¢½ÐÎϤϾå¤ÈƱ¤¸¤Ç¤¹¡£ ¤â¤· Searching for adapter.. ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½Ð¤ë¤È¤­¤Ë “No adapter found” ¤È¤¤¤¦¤³¤È¤ò¸À¤ï¤ì¤¿¤é¡¢ Makefile ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥³¥ó¥Ñ¥¤¥ë»þ´Ö¤¬Àµ¤·¤¯¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò³Îǧ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£


5. ¥·¥¹¥Æ¥à¤¬¥Í¥Ã¥È¥ï¡¼¥¯±Û¤·¤Ë¥Ö¡¼¥È¤¹¤ë¤³¤È¤òµö²Ä¤¹¤ë (¥µ¡¼¥Ð¾å¤Ç)

/etc/inetd.conf ¥Õ¥¡¥¤¥ë¤¬ tftp ¤ä bootps ¤Ë¤Ä¤¤¤Æ¤Î¥¨¥ó¥È¥ê¤ò»ý¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤ï¤¿¤·¤Î¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

tftp	dgram	udp	wait	nobody	/usr/libexec/tftpd	tftpd /tftpboot
#
# Additions by who ever you are
bootps  dgram  udp  wait  root  /usr/libexec/bootpd bootpd /etc/bootptab

¤â¤· /etc/inetd.conf ¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤¿¤È¤­¤Ë¤Ï¡¢ inetd(8) ¤Ë HUP ¥·¥°¥Ê¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤ò¤¹¤ë¤Ë¤Ï¡¢inetd ¤Î¥×¥í¥»¥¹ ID ¤ò ps -ax | grep inetd | grep -v grep ¤·¤Æ ¼èÆÀ¤·¤Æ¤¯¤À¤µ¤¤¡£¥×¥í¥»¥¹ ID ¤¬¤ï¤«¤Ã¤¿¤é¡¢ ¤½¤ì¤Ë¸þ¤±¤Æ HUP ¥·¥°¥Ê¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤Ï kill -HUP <pid> ¤È¤·¤Æ¹Ô¤¤¤Þ¤¹¡£ ¤³¤ì¤Ë¤è¤Ã¤Æ inetd ¤Ï¤½¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤßľ¤·¤Þ¤¹¡£

¥Ç¥£¥¹¥¯Ìµ¤·¥·¥¹¥Æ¥à¾å¤Ç¥Ö¡¼¥È¥í¡¼¥À¤¬½ÐÎϤ·¤¿ addr ¤Î½ÐÎϤò³Ð¤¨¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¤«? ¤³¤³¤Ç¤½¤ì¤¬É¬ÍפȤʤë¤Î¤Ç¤¹¡£

/etc/bootptab (¤ª¤½¤é¤¯¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Æ) ¤Ë ¥¨¥ó¥È¥ê¤ò²Ã¤¨¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤Ï¤³¤ì¤ÈƱÍͤνñ¼°¤Ç½ñ¤­¤Þ¤·¤ç¤¦¡£

altair:\
        :ht=ether:\
        :ha=004001432666:\
        :sm=255.255.255.0:\
        :hn:\
        :ds=199.246.76.1:\
        :ip=199.246.76.2:\
        :gw=199.246.76.1:\
        :vm=rfc1048:

¤³¤ì¤é¤Î¹Ô¤Ï¼¡¤Î¤è¤¦¤Ê°ÕÌ£¤Ç¤¹¡£

altair ¥É¥á¥¤¥ó̾¤ò½ü¤¤¤¿¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤Î̾Á°
ht=ether “¥¤¡¼¥µ¥Í¥Ã¥È”¥Ï¡¼¥É¥¦¥§¥¢¥¿¥¤¥×
ha=004001432666 (Àè¤Ëµ­Ï¿¤·¤¿) ¥Ï¡¼¥É¥¦¥§¥¢¤Î¥¢¥É¥ì¥¹
sm=255.255.255.0 ¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯
hn ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥¯¥é¥¤¥¢¥ó¥È¤Î¥Û¥¹¥È̾¤òÁ÷¤ë¤è¤¦¡¢ ¥µ¡¼¥Ð¤ËÅÁ¤¨¤Þ¤¹
ds=199.246.76.1 ¥É¥á¥¤¥ó¥µ¡¼¥Ð¤¬¤É¤ì¤Ê¤Î¤«¤ò¥¯¥é¥¤¥¢¥ó¥È¤ËÅÁ¤¨¤Þ¤¹
ip=199.246.76.2 ¥¯¥é¥¤¥¢¥ó¥È¤Î IP ¥¢¥É¥ì¥¹¤¬²¿¤Ê¤Î¤«¤ò ¥¯¥é¥¤¥¢¥ó¥È¤ËÅÁ¤¨¤Þ¤¹
gw=199.246.76.1 ¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤¬¤É¤ì¤Ê¤Î¤«¤ò ¥¯¥é¥¤¥¢¥ó¥È¤ËÅÁ¤¨¤Þ¤¹
vm=... ¤³¤ì¤Ï¤½¤Î¤Þ¤Þ¤Ë¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤

注意: IP ¥¢¥É¥ì¥¹¤ÏÀµ¤·¤¯ÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ ¾å¤Î¥¢¥É¥ì¥¹¤Ï¤ï¤¿¤·¤À¤±¤Î¤â¤Î¤Ç¤¹¡£

/tftpboot ¥Ç¥£¥ì¥¯¥È¥ê¤ò¥µ¡¼¥Ð¤ËºîÀ®¤·¤Æ¡¢ ¥µ¡¼¥Ð¤¬¥µ¡¼¥Ó¥¹¤ò¹Ô¤¦¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤Î¤¿¤á¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤ò¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÆþ¤ì¤Æ¤ª¤­¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï cfg.ip ¤È¤¤¤¦Ì¾Á°¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢ip ¤Ï¥Ç¥£¥¹¥¯Ìµ¤·¥·¥¹¥Æ¥à¤Î IP ¥¢¥É¥ì¥¹¤òɽ¤·¤Æ¤¤¤Þ¤¹¡£ altair ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ï /tftpboot/cfg.199.246.76.2 ¤È¤Ê¤ê¤Þ¤¹¡£¤³¤ÎÃæ¿È¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹:

rootfs 199.246.76.1:/DiskLess/rootfs/altair
hostname altair.example.com

hostname altair.example.com ¤Î¹Ô¤Ïñ¤Ë¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤¬¤É¤Î¤è¤¦¤Ê´°Á´¤Ê¥É¥á¥¤¥ó̾¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤«¤òɽ¤·¤Æ¤¤¤Þ¤¹¡£

rootfs 199.246.76.1:/DiskLess/rootfs/altair ¤Î¹Ô¤Ï¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤¬ NFS ¤Ç¥Þ¥¦¥ó¥È¤Ç¤­¤ë¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¾ì½ê¤òɽ¤·¤Æ¤¤¤Þ¤¹¡£

注意: NFS ¤Ç¥Þ¥¦¥ó¥È¤µ¤ì¤¿¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ï Æɤ߽Ф·µö²Ä¤À¤±¤Ç ¥Þ¥¦¥ó¥È¤µ¤ì¤Þ¤¹¡£

¥Ç¥£¥¹¥¯Ìµ¤·¤Î¥·¥¹¥Æ¥à¤Î³¬ÁؤÏÍ׵ᤵ¤ì¤ì¤ÐÆɤ߽ñ¤­²Äǽ¤Ë¤·¤Æ¡¢ ¥Þ¥¦¥ó¥È¤·Ä¾¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤ï¤¿¤·¤ÏͽÈ÷¤Î 386DX-40 ¤òÀìÍѤΠX üËö¤È¤·¤Æ»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£

altair ¤Î³¬Áؤϼ¡¤ÎÄ̤ê¤Ç¤¹¡£

/
/bin
/etc
/tmp
/sbin
/dev
/dev/fd
/usr
/var
/var/run

¼ÂºÝ¤Î¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡£

-r-xr-xr-x  1 root  wheel  779984 Dec 11 23:44 ./kernel
-r-xr-xr-x  1 root    bin  299008 Dec 12 00:22 ./bin/sh
-rw-r--r--  1 root  wheel     499 Dec 15 15:54 ./etc/rc
-rw-r--r--  1 root  wheel    1411 Dec 11 23:19 ./etc/ttys
-rw-r--r--  1 root  wheel     157 Dec 15 15:42 ./etc/hosts
-rw-r--r--  1 root    bin    1569 Dec 15 15:26 ./etc/XF86Config.altair
-r-x------  1 bin     bin  151552 Jun 10  1995 ./sbin/init
-r-xr-xr-x  1 bin     bin  176128 Jun 10  1995 ./sbin/ifconfig
-r-xr-xr-x  1 bin     bin  110592 Jun 10  1995 ./sbin/mount_nfs
-r-xr-xr-x  1 bin     bin  135168 Jun 10  1995 ./sbin/reboot
-r-xr-xr-x  1 root    bin   73728 Dec 13 22:38 ./sbin/mount
-r-xr-xr-x  1 root  wheel    1992 Jun 10  1995 ./dev/MAKEDEV.local
-r-xr-xr-x  1 root  wheel   24419 Jun 10  1995 ./dev/MAKEDEV

(FreeBSD 5.X ¤Ë¤ª¤¤¤Æ½é´ü¾õÂÖ¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë) devfs(5) ¤òÍøÍѤ·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢dev ¥Ç¥£¥ì¥¯¥È¥ê¤Ç MAKEDEV all ¤¹¤ë¤Î¤ò˺¤ì¤º¤Ë¡£

altair ¤Î /etc/rc ¤Ï ¼¡¤ÎÄ̤ê¤Ç¤¹¡£

#!/bin/sh
#
PATH=/bin:/
export PATH
#
# localhost ¤ÎÀßÄê
/sbin/ifconfig lo0 127.0.0.1
#
# ¥¤¡¼¥µ¥Í¥Ã¥È¥«¡¼¥É¤ÎÀßÄê
/sbin/ifconfig ed0 199.246.76.2 netmask 0xffffff00
#
# NFS ¤Ç root ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤¹¤ë
/sbin/mount antares:/DiskLess/rootfs/altair /
#
# NFS ¤Ç /usr ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤¹¤ë
/sbin/mount antares:/DiskLess/usr /usr
#
/usr/X11R6/bin/XF86_SVGA -query antares -xf86config /etc/XF86Config.altair > /dev/null 2>&1
#
# X ¤ò½ªÎ»¤¹¤ë¤ÈºÆµ¯Æ°
/sbin/reboot
#
# ¤¦¤Þ¤¯¹Ô¤«¤Ê¤¤¤È¤­¤Ë¤Ï....
exit 1

¥³¥á¥ó¥È¤ä¼ÁÌä¤Ï¤É¤ó¤Ê¤â¤Î¤Ç¤â´¿·Þ¤·¤Þ¤¹¡£


ËÜʸ½ñ¡¢¤ª¤è¤Ó¾¤Îʸ½ñ¤Ï ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/ ¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ç¤­¤Þ¤¹¡£

FreeBSD ¤Ë´Ø¤¹¤ë¼ÁÌ䤬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¥É¥­¥å¥á¥ó¥È ¤òÆɤó¤À¾å¤Ç <questions@FreeBSD.org> ¤Þ¤Ç (±Ñ¸ì¤Ç) Ï¢Íí¤·¤Æ¤¯¤À¤µ¤¤¡£
ËÜʸ½ñ¤Ë´Ø¤¹¤ë¼ÁÌä¤Ë¤Ä¤¤¤Æ¤Ï¡¢<doc@FreeBSD.org> ¤Þ¤ÇÅŻҥ᡼¥ë¤ò (±Ñ¸ì¤Ç) Á÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£