FreeBSD 2.X¡¢3.X¡¢4.X ¤Ë¤Ä¤¤¤Æ¤Î FAQ (¤è¤¯¤¢¤ë¼ÁÌä¤È¤½¤ÎÅú¤¨)

FreeBSD ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È

¤³¤Îʸ½ñ¤Ï FreeBSD ¥·¥¹¥Æ¥à¡¦¥Ð¡¼¥¸¥ç¥ó 2.X¡¢3.X¡¢4.X ¤Ë¤Ä¤¤¤Æ¤Î FAQ ¤Ç¤¹¡£ ÆäËÃǤï¤ê¤¬¤Ê¤¤¸Â¤ê¡¢¤É¤Î¹àÌܤâ FreeBSD 2.0.5 °Ê¹ß¤Î¤â¤Î¤òÁÛÄꤷ¤Æ¤¤¤Þ¤¹¡£ <XXX> ¤Î¤Ä¤¤¤Æ¤¤¤ë¹àÌܤϤޤÀºî¶ÈÃæ¤Î¤â¤Î¤Ç¤¹¡£ ¤³¤Î FreeBSD ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È¤Ë¶¨ÎϤ·¤¿¤¤¤È»×¤ï¤ì¤ëÊý¤Ï¡¢ FreeBSD documentation project ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤Þ¤Ç (±Ñ¸ì¤Ç) ÅŻҥ᡼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Îʸ½ñ¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢¤¤¤Ä¤Ç¤â ÆüËܹñÆâÈÇ FreeBSD World Wide Web ¥µ¡¼¥Ð¤ä FreeBSD World Wide Web ¥µ¡¼¥Ð¤Ç ¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢¤Ò¤È¤Ä¤ÎµðÂç¤Ê HTML ¥Õ¥¡¥¤¥ë¤È¤·¤Æ HTTP ¤Ç¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¥×¥ì¡¼¥ó¥Æ¥­¥¹¥È¡¢PostScript¡¢PDF¡¢¤ª¤è¤Ó¤½¤Î¾¤Î·Á¼°¤Î¤â¤Î¤Ï FreeBSD FTP ¥µ¡¼¥Ð¤ËÃÖ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ¤Þ¤¿¡¢FAQ ¤Î¸¡º÷¤â²Äǽ¤Ç¤¹¡£

注意: 2005 ǯ 6 ·î¸½ºß¡¢HTML Èǰʳ°¤ÎÆüËܸì FAQ ¤ÏÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£



ÆüËܸìÈǤκîÀ®¤Ï FreeBSD ÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È¤¬ ¥ª¥ê¥¸¥Ê¥ë¤Î±Ñ¸ìÈǤò¤â¤È¤Ë¤·¤Æ¹Ô¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ FreeBSD FAQ ÆüËܸìÌõ¤ª¤è¤Ó¡¢ FreeBSD FAQ ÆüËܸìÈǤΤߤ˴ØÏ¢¤¹¤ë¤³¤È¤Ï¡¢ ÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È ¤Ë¤ª¤¤¤ÆÆüËܸì¤ÇµÄÏÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ɬÍפ˱þ¤¸¤ÆÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È¤«¤é¡¢ FreeBSD Documentation Project ¤ËÂФ·¤Æ¥Õ¥£¡¼¥É¥Ð¥Ã¥¯¤ò¹Ô¤Ê¤¤¤Þ¤¹¤Î¤Ç¡¢ ±Ñ¸ì¤¬ÆÀ°Õ¤Ç¤Ê¤¤Êý¤Ï ÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È ¤Þ¤ÇÆüËܸì¤Ç¥³¥á¥ó¥È¤ò¤ª´ó¤»¤¯¤À¤µ¤¤¡£

¤Þ¤¿¡¢¤³¤Î FreeBSD FAQ ¤È¤ÏÊ̤ˡ¢ÆüËܤΠFreeBSD ¥æ¡¼¥¶Í­»Ö¤Ë¤è¤Ã¤Æ FreeBSD users-jp ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤ä¥Ë¥å¡¼¥¹¥°¥ë¡¼¥× fj.os.bsd.freebsd ¤Ê¤É¤Ø¤ÎÅê¹Æ¤ò¤â¤È¤ËºîÀ®¤µ¤ì¤¿ QandA ¤¬¸ø³«¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ÆäËÆüËܸì´Ä¶­¤Ê¤ÉÆüËܸÇÍ­¤ÎÏÃÂ꤬½¼¼Â¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¤³¤Á¤é¤â¹ç¤ï¤»¤Æ¤´Í÷¤¯¤À¤µ¤¤¡£

Redistribution and use in source (XML DocBook) and 'compiled' forms (XML, HTML, PDF, PostScript, RTF and so forth) with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code (XML DocBook) must retain the above copyright notice, this list of conditions and the following disclaimer as the first lines of this file unmodified.

  2. Redistributions in compiled form (transformed to other DTDs, converted to PDF, PostScript, RTF and other formats) must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

重要項目: THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD DOCUMENTATION PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


目次
¤Þ¤¨¤¬¤­
1章¥¤¥ó¥¹¥È¡¼¥ë
2章¥Ï¡¼¥É¥¦¥§¥¢¥³¥ó¥Ñ¥Á¥Ó¥ê¥Æ¥£
3章¥È¥é¥Ö¥ë¥·¥å¡¼¥Æ¥£¥ó¥°
4章¾¦ÍÑ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
5章¥æ¡¼¥¶¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
6章¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó
7章¥·¥¹¥Æ¥à´ÉÍý
8章X Window System ¤È²¾ÁÛ¥³¥ó¥½¡¼¥ë
9章¥Í¥Ã¥È¥ï¡¼¥­¥ó¥°
10章PPP
11章¥·¥ê¥¢¥ëÀܳ
12章¤½¤Î¾¤Î¼ÁÌä
13章¤Þ¤¸¤á¤Ê FreeBSD ¥Ï¥Ã¥«¡¼¤À¤±¤ÎÏÃÂê
14章¼Õ¼­
15章FreeBSD FAQ ÆüËܸ첽¤Ë¤Ä¤¤¤Æ
Í­ÍѤʽñÀÒ
表目次
1-1. ¥Í¥Ã¥È¥ï¡¼¥¯ÀܳÍѤΥѥé¥ì¥ë¥±¡¼¥Ö¥ë¤Î·ëÀþ
1-2. ºÇÂç¥Õ¥¡¥¤¥ë¥µ¥¤¥º
1-3. »ØÄê¤Ç¤­¤ë¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë
例目次
8-1. moused ¤Ë¤è¤ëÊÑ´¹¤òÍøÍѤ·¤Æ¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ò »ÈÍѤ¹¤ë¤¿¤á¤Î XFree86 3.3.x ·ÏÎó¤Î XF86Config ¤Î “Pointer” ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã
8-2. ¼«Æ°Åª¤Ê¥×¥í¥È¥³¥ëǧ¼±µ¡Ç½¤ª¤è¤Ó¥Ü¥¿¥óÇÛÃÖÊÑ´¹µ¡Ç½¤ò ÍøÍѤ·¡¢¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ò»ÈÍѤ¹¤ë¤¿¤á¤Î XFree86 4.x ·ÏÎó¤Î XF86Config ¤Î “InputDevice” ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã
8-3. ¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤Ç Emacs ¾å¤Ç¤Î¥Ú¡¼¥¸¥¹¥¯¥í¡¼¥ë¤ò ¹Ô¤¦¤¿¤á¤Î “.emacs” ¤ÎÀßÄêÎã
8-4. X ¥µ¡¼¥Ð¤Ë¤è¤ëÊÑ´¹¤òÍøÍѤ·¤Æ¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ò»ÈÍѤ¹¤ë¤¿¤á¤Î XF86Config ¤Î “Pointer” ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã
8-5. Imwheel ¤òÍøÍѤ¹¤ë¤¿¤á¤Î Emacs ¤ÎÀßÄêÎã
8-6. Imwheel ¤òÍøÍѤ¹¤ë¤¿¤á¤Î XEmacs ¤ÎÀßÄêÎã

¤Þ¤¨¤¬¤­

Ìõ: ·ª»³ ½ß ¡¢ ²Ö°æ ¹ÀÇ· ¡¢ Ãæ°æ ¹¬Çî ¡¢ º£Ìî ¸µÇ· ¡¢ ¿ù¼ µ®»Î ¡¢ 1997 ǯ 11 ·î 5 Æü

FreeBSD 2.X-4.X FAQ ¤Ø¤è¤¦¤³¤½!

Usenet ¤Î FAQ ¤¬¤½¤¦¤Ç¤¢¤ë¤è¤¦¤Ë¡¢ ¤³¤Îʸ½ñ¤â FreeBSD ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ë´Ø¤·¤Æ ÉÑÈˤ˿Ҥͤé¤ì¤ë¼ÁÌä¤òÌÖÍ夹¤ë¤³¤È¤òÌÜŪ¤È¤·¤Æ¤¤¤Þ¤¹ (¤â¤Á¤í¤ó¤½¤ì¤ËÂФ¹¤ëÅú¤¨¤â!)¡£ FAQ ¤ÏËÜÍè¥Ð¥ó¥ÉÉý¤ò¸º¤é¤·¡¢ Ʊ¤¸¼ÁÌ䤬²¿Å٤ⷫ¤êÊÖ¤µ¤ì¤ë¤Î¤òÈò¤±¤ë¤¿¤á¤Ëºî¤é¤ì¤¿¤â¤Î¤Ç¤¹¤¬¡¢ ºÇ¶á¤ÏÍ­ÍѤʾðÊ󸻤ȸ«¤Ê¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤­¤Þ¤·¤¿¡£

¤³¤Î FAQ ¤ò¤Ç¤­¤ë¸Â¤êÍ­ÍѤʤâ¤Î¤Ë¤·¤è¤¦¤È¡¢ ¤¢¤é¤æ¤ëÅØÎϤ¬¤Ï¤é¤ï¤ì¤Æ¤¤¤Þ¤¹¡£ ¤â¤·²¿¤«¤·¤é¤Î²þÁ±°Æ¤¬É⤫¤ó¤À¤é¡¢¤¼¤Ò FAQ ÊݼéôÅö¼Ô ¤Þ¤Ç¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£

1. FreeBSD ¤Ã¤Æ²¿?
2. FreeBSD ¤¬Ìܻؤ·¤Æ¤¤¤ë¤â¤Î
3. ¤É¤¦¤·¤Æ FreeBSD ¤È¸Æ¤Ð¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?
4. FreeBSD ¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ï?
5. FreeBSD-CURRENT¤Ã¤Æ²¿?
6. FreeBSD-STABLE ¤Î¥³¥ó¥»¥×¥È¤Ï²¿¤Ç¤¹¤«?
7. FreeBSD ¤Î¥ê¥ê¡¼¥¹¤Ï¤¤¤Äºî¤é¤ì¤ë¤Î¤Ç¤¹¤«?
8. FreeBSD ¤Ï PC ÍѤÀ¤±¤·¤«¤Ê¤¤¤Î?
9. FreeBSD ¤ÎÀÕǤ¼Ô¤Ï¤¤¤Ã¤¿¤¤Ã¯?
10. ¤É¤³¤«¤é FreeBSD ¤òÆþ¼ê¤Ç¤­¤Þ¤¹¤«?
11. FreeBSD ¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë¤Ä¤¤¤ÆÃΤꤿ¤¤¤Î¤Ç¤¹¤¬?
12. FreeBSD ¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Ï²¿¤¬¤¢¤ê¤Þ¤¹¤«?
13. FreeBSD ¤Î IRC (Internet Relay Chat) ¤Ë¤Ä¤¤¤Æ²¿¤«¾ðÊó¤Ï¤¢¤ê¤Þ¤¹¤«?
14. FreeBSD ¤ÎËÜ
15. ¾ã³²Êó¹ð (PR; Problem Report) ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¥¢¥¯¥»¥¹¤¹¤ëÊýË¡¤Ï?
16. ¥×¥ì¥¤¥ó¥Æ¥­¥¹¥È (ASCII) ÈÇ ¤ä PostScript ÈǤΠFreeBSD ʸ½ñ¤Ï¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?
17. FreeBSD ¤Î¥¦¥§¥Ö¥µ¥¤¥È¤Î¥ß¥é¡¼¥µ¥¤¥È¤Ë¤Ê¤ê¤¿¤¤¤Ç¤¹!
18. ¤³¤Îʸ½ñ¤ò¾¤Î¸À¸ì¤ËËÝÌõ¤·¤¿¤¤¤Î¤Ç¤¹¤¬?
19. ¤½¤Î¾¤Î¾ðÊó

1. FreeBSD ¤Ã¤Æ²¿?

FreeBSD ¤È¤Ï°ì¸À¤Ç¸À¤¨¤Ð¡¢¥«¥ê¥Õ¥©¥ë¥Ë¥¢Âç³Ø¥Ð¡¼¥¯¥ì¥¤¹»¤«¤é ¥ê¥ê¡¼¥¹¤µ¤ì¤¿ “4.4BSD-Lite” ¤È “4.4BSD-Lite2” ¤Ë¤è¤ë ¶¯²½¤Î°ìÉô¤ËͳÍ褹¤ë¡¢ i386 ¤ª¤è¤Ó Alpha/AXP ·Ï¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¸þ¤±¤Î UN*X ¥é¥¤¥¯¤Ê¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ç¤¹¡£ ´ÖÀÜŪ¤Ë¤ÏƱ¤¸¥Ð¡¼¥¯¥ì¥¤¹»¤Î “Net/2” ¤ò William Jolitz ¤¬ i386 ·Ï¤Ë°Ü¿¢¤·¤¿ “386BSD” ¤â´ð¤Ë¤·¤Æ¤¤¤Þ¤¹¤¬¡¢ 386BSD ¤Î¥³¡¼¥É¤Ï¤Û¤È¤ó¤É»Ä¤Ã¤Æ¤¤¤Þ¤»¤ó¡£ FreeBSD ¤Ë¤Ä¤¤¤Æ¤Î¾ÜºÙ¤È¡¢²¿¤¬¤Ç¤­¤ë¤«¤Ë¤Ä¤¤¤Æ¤Ï FreeBSD ¤Î¥Û¡¼¥à¥Ú¡¼¥¸ ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

FreeBSD ¤Ï´ë¶È¤ä¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ó¥¹¥×¥í¥Ð¥¤¥À¡¢¸¦µæ¼Ô¡¢ ¥³¥ó¥Ô¥å¡¼¥¿ÀìÌç²È¡¢³ØÀ¸¡¢²ÈÄí¤Î¥æ¡¼¥¶¤Ê¤É¤Ë¤è¤ê¡¢¶È̳¤ä¶µ°é¡¢ ¸ä³Ú¤ËÍѤ¤¤é¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤é¤Ë´Ø¤·¤Æ¤Ï FreeBSD ¥®¥ã¥é¥ê¡¼¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

FreeBSD ¤Ë´Ø¤¹¤ë¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2. FreeBSD ¤¬Ìܻؤ·¤Æ¤¤¤ë¤â¤Î

FreeBSD ¥×¥í¥¸¥§¥¯¥È¤ÎÌÜŪ¤Ï¡¢ ¤¤¤«¤Ê¤ëÍÑÅӤˤâ»ÈÍѤǤ­¡¢ ²¿¤éÀ©¸Â¤Î¤Ê¤¤¥½¥Õ¥È¥¦¥§¥¢¤ò¶¡µë¤¹¤ë¤³¤È¤Ç¤¹¡£ »ä¤¿¤Á¤Î¿¤¯¤Ï¡¢ ¥³¡¼¥É (¤½¤·¤Æ¥×¥í¥¸¥§¥¯¥È) ¤ËÂФ·¤Æ¤«¤Ê¤ê¤ÎÅê»ñ¤ò¤·¤Æ¤­¤Æ¤ª¤ê¡¢ ¤³¤ì¤«¤é¤â¿¾¯¤ÎÂå½þ¤Ï¤¢¤Ã¤Æ¤âÅê»ñ¤ò³¤±¤Æ¹Ô¤¯¤Ä¤â¤ê¤Ç¤¹¡£ ¤¿¤À¡¢Â¾¤Î¿Íã¤Ë¤âƱ¤¸¤è¤¦¤ÊÉéô¤ò¤¹¤ë¤è¤¦¤Ë¼çÄ¥¤·¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ FreeBSD ¤Ë¶½Ì£¤ò»ý¤Ã¤Æ¤¤¤ë°ì¿Í»Ä¤é¤º¤¹¤Ù¤Æ¤Î¿Í¡¹¤Ë¡¢ ÌÜŪ¤ò¸ÂÄꤷ¤Ê¤¤¤Ç¥³¡¼¥É¤òÄ󶡤¹¤ë¤³¤È¡£ ¤³¤ì¤¬¡¢ »ä¤¿¤Á¤ÎºÇ½é¤Î¤½¤·¤ÆºÇÂç¤Î¡ÖǤ̳¡×¤Ç¤¢¤ë¤È¿®¤¸¤Æ¤¤¤Þ¤¹¡£ ¤½¤¦¤¹¤ì¤Ð¡¢¥³¡¼¥É¤Ï²Äǽ¤Ê¸Â¤ê¹­¤¯»È¤ï¤ì¡¢ ºÇÂç¤Î²¸·Ã¤ò¤â¤¿¤é¤¹¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£ ¤³¤ì¤¬¡¢»ä¤¿¤Á¤¬Ç®Îõ¤Ë»Ù»ý¤·¤Æ¤¤¤ë¥Õ¥ê¡¼¥½¥Õ¥È¥¦¥§¥¢¤ÎºÇ¤â´ðËÜŪ¤ÊÌÜŪ¤Ç¤¢¤ë¤È¡¢ »ä¤Ï¿®¤¸¤Æ¤¤¤Þ¤¹¡£

»ä¤¿¤Á¤Î¥½¡¼¥¹¥Ä¥ê¡¼¤Ë´Þ¤Þ¤ì¤ë¥½¡¼¥¹¤Î¤¦¤Á¡¢GNU °ìÈ̸øÍ­»ÈÍѵöÂú (GPL) ¤Þ¤¿¤Ï GNU ¥é¥¤¥Ö¥é¥ê °ìÈ̸øÍ­»ÈÍѵöÂú (LGPL) ¤Ë½¾¤Ã¤Æ¤¤¤ë¤â¤Î¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¿¾¯À©¸Â¤¬²Ê¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤À¤·¡¢ ¥½¡¼¥¹¥³¡¼¥É¤Ø¤Î¥¢¥¯¥»¥¹¤ÎÊݾڤȤ¤¤¦¡¢ °ìÈ̤ÎÀ©¸Â¤È¤Ï¤¤¤ï¤ÐµÕ¤ÎÀ©¸Â¤Ç¤¹¡£ ¤¿¤À¤· GPL ¥½¥Õ¥È¥¦¥§¥¢¤ò¾¦ÍѤÇÍøÍѤ¹¤ë¾ì¹ç¡¢ ¤µ¤é¤ËÊ£»¨¤Ë¤Ê¤ë¤Î¤ÏÈò¤±¤é¤ì¤Þ¤»¤ó¡£ ¤½¤Î¤¿¤á¡¢¤½¤ì¤é¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò¡¢¤è¤êÀ©¸Â¤Î¾¯¤Ê¤¤ BSD Ãøºî¸¢¤Ë½¾¤Ã¤¿¥½¥Õ¥È¥¦¥§¥¢¤ÇÃÖ¤­´¹¤¨¤ëÅØÎϤò¡¢ ²Äǽ¤Ê¸Â¤êÆü¡¹Â³¤±¤Æ¤¤¤Þ¤¹¡£

ÌõÃí: GPL ¤Ç¤Ï¡¢¡Ö¥½¡¼¥¹¥³¡¼¥É¤ò¼ÂºÝ¤Ë¼õ¤±¼è¤ë¤«¡¢ ¤¢¤ë¤¤¤Ï´õ˾¤·¤µ¤¨¤¹¤ì¤Ð¤½¤ì¤òÆþ¼ê¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¢¤ë¤³¤È¡×¤òµá¤á¤Æ¤¤¤Þ¤¹¡£

3. ¤É¤¦¤·¤Æ FreeBSD ¤È¸Æ¤Ð¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?

  • ̵ÎÁ (free) ¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤ë (¾¦ÍøÍѤâ´Þ¤à)¡£

  • ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î´°Á´¤Ê¥½¡¼¥¹¥³¡¼¥É¤¬¼«Í³ (freely) ¤Ë¼ê¤ËÆþ¤ê¡¢ ¾¦ÍøÍÑ¡¦Èó¾¦ÍøÍѤˤ«¤«¤ï¤é¤º¡¢ºÇÄã¸Â¤ÎÀ©¸Â¤Ç¾¤Î»Å»ö¤Ø¤ÎÍøÍÑ¡¢ÇÛÉÛ¡¢Æ³Æþ¤¬²Äǽ¡£

  • ²þÎɤä¥Ð¥°¥Õ¥£¥Ã¥¯¥¹¤¬¤¢¤ë¾ì¹ç¡¢ ï¤Ç¤â (free) ¤½¤Î¥³¡¼¥É¤òÄó½Ð¤Ç¤­¡¢ ¥½¡¼¥¹¥Ä¥ê¡¼¤Ë²Ã¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ (¤¤¤¯¤Ä¤«¤Î´Êñ¤Ê¾ò·ï¤Ë¤Ï½¾¤Ã¤Æ¤â¤é¤¤¤Þ¤¹)¡£



Êì¹ñ¸ì¤¬±Ñ¸ì¤Ç¤Ê¤¤ÆɼԤΤ¿¤á¤Ë¡¢¤³¤³¤Ç¤Ï “free” ¤È¤¤¤¦Ã±¸ì¤¬Æó¤Ä¤Î°ÕÌ£¤ÇÍѤ¤¤é¤ì¤Æ¤¤¤ë¤³¤È¤ò»ØŦ¤·¤Æ¤ª¤¯¤Èʬ¤«¤ê¤ä¤¹¤¤¤«¤âÃΤì¤Þ¤»¤ó¡£ ¤Ò¤È¤Ä¤Ï¡Ö̵ÎÁ¤Ç¤¢¤ë¡×¤È¤¤¤¦¤³¤È¡¢ ¤â¤¦¤Ò¤È¤Ä¤Ï¡Ö¼«Ê¬¤Î¤ä¤ê¤¿¤¤¤è¤¦¤Ë¤Ç¤­¤ë¡×¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ FreeBSD ¤Î¥³¡¼¥É¤Ç¤Ç¤­¤Ê¤¤¤¤¤¯¤Ä¤«¤Î¤³¤È (¼«Ê¬¤¬½ñ¤¤¤¿¤â¤Î¤À¤Èµ¶¤ë¤Ê¤É) ¤ò½ü¤±¤Ð¡¢ ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î¤ä¤ê¤¿¤¤¤³¤È¤ò¤ä¤ë¤³¤È¤¬²Äǽ¤Ê¤Î¤Ç¤¹¡£

4. FreeBSD ¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ï?

4.3 ¤¬ºÇ¿·¤Î STABLE ¥Ð¡¼¥¸¥ç¥ó¤Ç¡¢ 2001 ǯ 4 ·î¤Ë¥ê¥ê¡¼¥¹¤µ¤ì¤Þ¤·¤¿¡£ ¤Þ¤¿¡¢¤³¤ì¤ÏºÇ¿·¤Î RELEASE ¥Ð¡¼¥¸¥ç¥ó¤Ç¤â¤¢¤ê¤Þ¤¹¡£

´Êñ¤Ë¸À¤Ã¤Æ¤·¤Þ¤¦¤È¡¢-STABLE ¤ÏºÇ¿·¤Î -CURRENT ¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤Î¤¹¤Ð¤é¤·¤¤¿·µ¡Ç½¤Î¿ô¡¹¤è¤ê¤â¡¢ °ÂÄêÀ­¤ÈÊѹ¹²ó¿ô¤Î¾¯¤Ê¤µ¤ò¹¥¤à ISP ¤ä¡¢ ¾¤Î´ë¶È¤Î¥æ¡¼¥¶¤ò¥¿¡¼¥²¥Ã¥È¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ ¥ê¥ê¡¼¥¹¤Ï¤³¤ÎÆó¼ïÎà¤Î¥Ö¥é¥ó¥Á¤Ç¹Ô¤Ê¤ï¤ì¤Þ¤¹¤¬¡¢ (-STABLE ¤ÈÈæ³Ó¤¹¤ë¤È¿¾¯) ÉÔ°ÂÄê¤ÊÆ°ºî¤¬¤¢¤ë¤È¤¤¤¦¤³¤È¤òµöÍƤǤ­¤ë¤Ê¤é¡¢ ɬÍפȤʤë¤Î¤Ï -CURRENT ¤ÎÊý¤À¤±¤Ç¤·¤ç¤¦¡£

³Æ¥ê¥ê¡¼¥¹¤Ï ¿ô¥«·îËè¤Ë¤·¤«¹Ô¤Ê¤ï¤ì¤Þ¤»¤ó¡£ ¿¤¯¤Î¿Í¡¹¤¬ FreeBSD ¤Î¥½¡¼¥¹¤ò¤½¤Î¥ê¥ê¡¼¥¹¤è¤ê¤â ºÇ¿·¤Î¾õÂ֤˰ݻý¤·¤Æ¤¤¤ë (FreeBSD-current ¤È FreeBSD-stable ¤Ë´Ø¤¹¤ë¼ÁÌä¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤) ¤Î¤Ç¤¹¤¬¡¢ ¥½¡¼¥¹¤È¤¤¤¦¤Î¤Ï¾ï¤Ë²þÊѤµ¤ì³¤±¤Æ¤¤¤ë¤¿¤á¡¢ ¤½¤¦¤¹¤ë¤³¤È¤Ï°ì¼ï¤Î´·Îã¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

5. FreeBSD-CURRENT¤Ã¤Æ²¿?

FreeBSD-CURRENT ¤Ï¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î³«È¯¥Ð¡¼¥¸¥ç¥ó¤Ç¡¢ ¤ä¤¬¤Æ 5.0-RELEASE ¤È¤Ê¤ê¤Þ¤¹¡£¤è¤Ã¤Æ¤³¤ì¤Ï¡¢¤½¤³¤Ë·È¤ï¤Ã¤Æ¤¤¤ë³«È¯¼Ô¤ä¡¢ ¤É¤ó¤Ê¾ã³²¤ò¤â¾è¤ê±Û¤¨¤Æ¤¤¤±¤ë¥¿¥Õ¤Ê°¦¹¥²È¤¿¤Á¤Ë¤È¤Ã¤Æ¤Î¤ß¶½Ì£¤ÎÂоݤȤʤë¤â¤Î¤Ç¤¹¡£ -CURRENT ¤Î»ÈÍѤ˺ݤ·¤Æ¤Î¾ÜºÙ¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯ ¤Î ´ØÏ¢¤¹¤ë¥»¥¯¥·¥ç¥ó ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤ËÆëÀ÷¤ß¤¬¤Ê¤¤¾ì¹ç¤ä¡¢ ¤½¤ì¤¬°ì»þŪ¤ËȯÀ¸¤·¤Æ¤¤¤ëÌäÂê¤Ê¤Î¤«¡¢ ¤½¤ì¤È¤âËܼÁŪ¤ÊÌäÂ꤫¤ò¸«¶Ë¤á¤ëǽÎϤ¬¤Ê¤¤¾ì¹ç¤Ï¡¢ FreeBSD-CURRENT ¤ò»È¤¦¤Ù¤­¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤Î¥Ö¥é¥ó¥Á¤Ï»þ¡¹µÞ·ã¤Ë³ÈÄ¥¤µ¤ì¤¿¤ê¡¢ ¥·¥¹¥Æ¥à¤¬¹½ÃۤǤ­¤Ê¤¤¾õÂ֤ˤʤ뤳¤È¤â¤·¤ç¤Ã¤Á¤å¤¦¤¢¤ê¤Þ¤¹¡£ FreeBSD-CURRENT ¤ò»È¤¦¿Í¤ÏÌäÂê¤òʬÀϤ·¡¢ ¡Ö¾®¤µ¤Ê·ç´Ù¡×¤Ç¤Ï¤Ê¤¯¡¢ ÌÀ¤é¤«¤Ë´Ö°ã¤¤¤Ç¤¢¤ë¤È»×¤ï¤ì¤ë¤â¤Î¤À¤±¤òÊó¹ð¤Ç¤­¤ë¤â¤Î¤ÈÁÛÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£ ¡Ömake world ¤·¤¿¤é group ´Ø·¸¤Ç¥¨¥é¡¼¤¬¤Ç¤Þ¤·¤¿¡×¤Î¤è¤¦¤Ê¼ÁÌä¤Ï¡¢ -CURRENT ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ç¤Ï·ÚÊΤδ㺹¤·¤Ç¤¢¤·¤é¤ï¤ì¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£

ËèÆü¡¢¤½¤Î»þÅÀ¤Î -CURRENT ¤È -STABLE ¤Î¥³¡¼¥É¤ò¸µ¤Ë snapshot ¤¬ºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¤Ï¡¢¤½¤Î snapshot ¤ÎÇÛÉÛ¤âÍøÍѲÄǽ¤Ç¤¹¡£ ¤½¤ì¤¾¤ì¤Î snapshot ¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤ÊÌÜŪ¤¬¤¢¤ê¤Þ¤¹¡£

  • ¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à¤ÎºÇ¿·ÈǤΥƥ¹¥È¡£

  • »î¤·¤Æ¤ß¤¿¤¤¤±¤ì¤É¡¢ ´ðÁÃŪ¤Ê½ê¤«¤éËèÆüÊѤï¤ë¤è¤¦¤Ê¤â¤Î¤òÄɤ¤¤«¤±¤ë»þ´Ö¤â¥Ð¥ó¥ÉÉý¤â̵¤¤¡¢ ¤È¤¤¤¦¿Í¤Ë¤â -CURRENT ¤ä -STABLE ¤ò»È¤¨¤ë¤è¤¦¤Ë¤¹¤ë¡£ ¤Þ¤¿¡¢¤½¤Î¤è¤¦¤Ê¿Í¤¿¤Á¤Î¥·¥¹¥Æ¥à°Ü¹Ô¤Î¤¿¤á¤Î¼ê¤Ã¼è¤êÁᤤÊýË¡¤òÄ󶡤¹¤ë¡£

  • ¤¢¤È¤Ç¤È¤ó¤Ç¤â¤Ê¤¤¤³¤È¤ò¤·¤Æ¤·¤Þ¤Ã¤¿»þ¤Î¤¿¤á¤Ë¡¢ ÌäÂê¤È¤Ê¤ë¥³¡¼¥É¤ÎÆÃÄê¤Î»²¾È´ð½àÅÀ¤òÊݸ¤·¤Æ¤ª¤¯¡£ (Ä̾ï¤Ï CVS ¤¬¤³¤¦¤¤¤¦¥Ï¥×¥Ë¥ó¥°¤Î¤è¤¦¤Ê¶²¤í¤·¤¤»öÂÖ¤òËɻߤ·¤Æ ¤¤¤ë¤ó¤Ç¤¹¤±¤É¤Í :)

  • ¥Æ¥¹¥È¤¬É¬Íפʿ·¤·¤¤µ¡Ç½¤ò¡¢ ¤Ç¤­¤ë¸Â¤ê¿¤¯¤Î±£¤ì¥Æ¥¹¥¿¡¼¤Ë»î¤·¤Æ¤â¤é¤¦¡£



¤É¤ó¤ÊÌÜŪ¤Ç¤¢¤ì¡¢-CURRENT snapshot ¤¬ “À½ÉÊ¥ì¥Ù¥ë¤ÎÉʼÁ” ¤Ç¤¢¤ë¤È¤Î¹Í¤¨¤Ë´ð¤Å¤¯Í×µá¤Ï¹Ô¤ï¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ °ÂÄêÀ­¤ä¥Æ¥¹¥È½½Ê¬À­¤Ë¤³¤À¤ï¤ë¿Í¤Ï¡¢ ´°Á´¤Ê¥ê¥ê¡¼¥¹¡¢¤¢¤ë¤¤¤Ï -STABLE snapshot ¤«¤éÎ¥¤ì¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¥ê¥ê¡¼¥¹¤Ï¡¢5.0-CURRENT ¤¬ ftp://current.FreeBSD.org/pub/FreeBSD/ ¤«¤é¡¢4-STABLE ¤¬ releng4.FreeBSD.org ¤«¤éľÀÜÆþ¼ê²Äǽ¤Ç¤¹¡£ ¤Þ¤¿¡¢3-STABLE ¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤Ï¡¢ ¤³¤Îʸ¾Ï¤Î¼¹É®»þÅÀ (2000 ǯ 5 ·î) ¤ÇºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£

¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¥ê¥ê¡¼¥¹¤Ï¡¢ ¸½ºß¡¢³«È¯¤äÊݼéºî¶È¤¬¹Ô¤Ê¤ï¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Ö¥é¥ó¥Á¤Ë¤ª¤¤¤Æ¡¢ Ê¿¶Ñ¤·¤Æ°ìÆü°ì²óºîÀ®¤µ¤ì¤Þ¤¹¡£

6. FreeBSD-STABLE ¤Î¥³¥ó¥»¥×¥È¤Ï²¿¤Ç¤¹¤«?

FreeBSD 2.0.5 ¤¬¥ê¥ê¡¼¥¹¤µ¤ì¤¿¸å¡¢»ä¤¿¤Á¤Ï FreeBSD ¤Î³«È¯¤ò 2 ·ÏÅý¤Ëʬ³ä¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£ °ì¤Ä¤Ï -STABLE ¤È¤¤¤¦¥Ö¥é¥ó¥Á¤Ç¡¢¥Ð¥°¤Î½¤Àµ¤Ï¤·¤Ã¤«¤ê¥Æ¥¹¥È¤µ¤ì¡¢ µ¡Ç½¤Î¶¯²½¤Ï¾¯¤·¤º¤Ä¤·¤«¹Ô¤ï¤ì¤Þ¤»¤ó (µÞ¤ÊÊѹ¹¤ä¼Â¸³Åªµ¡Ç½¤ò˾¤Þ¤Ê¤¤¡¢ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ó¥¹¥×¥í¥Ð¥¤¥À¤ä±ÄÍø´ë¶È¸þ¤±)¡£ ¤â¤¦°ìÊý¤Î¥Ö¥é¥ó¥Á¤Ï -CURRENT ¤Ç¡¢2.0 ¤¬¥ê¥ê¡¼¥¹¤µ¤ì¤Æ°ÊÍè 5.0-RELEASE (¤½¤·¤Æ¤½¤Î¸å¤â) ¤Ø¸þ¤±¤ÆÌ®¡¹¤È³¤¤¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£ ASCII ¤ÇÉÁ¤¤¤¿´Êñ¤Ê¿Þ¤¬¤ï¤«¤ê¤ä¤¹¤¤¤«¤Ï¼«¿®¤¬¤¢¤ê¤Þ¤»¤ó¤¬¡¢ ¤³¤ó¤Ê´¶¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£

                 2.0
                  |
                  |
                  |  [2.1-STABLE]
 *BRANCH*       2.0.5 -> 2.1 -> 2.1.5 -> 2.1.6 -> 2.1.7.1  [2.1-STABLE ½ªÎ»]
                  |                         (1997/03)
                  |
                  |
                  |  [2.2-STABLE]
 *BRANCH*       2.2.1 -> 2.2.2-RELEASE -> 2.2.5 -> 2.2.6 -> 2.2.7 -> 2.2.8 [½ªÎ»]
                  |         (1997/03)     (1997/10)   (1998/04)   (1998/07)   (1998/12)
                  |
                  |
               3.0-SNAPs  (1997 ǯÂè°ì»ÍȾ´ü³«»Ï)
                  |
                  |
               3.0-RELEASE (1998/10)
                  |
                  |  [3.0-STABLE]
 *BRANCH*      3.1-RELEASE  (1999/02) -> 3.2 -> 3.3 -> 3.4 -> 3.5 -> 3.5.1
                  |                   (1999/05) (1999/09) (1999/12) (2000/06) (2000/07)
                  |  [4.0-STABLE]
 *BRANCH*        4.0  (2000/03) ->4.1 -> 4.1.1 -> 4.2 -> 4.3 -> ... ¾­Íè¤Î 4.x ¥ê¥ê¡¼¥¹ ...
                  |
                  |             (2000/07)   (2000/09)   (2000/11)
                  |
                 \|/
                  +
          [5.0-CURRENT ¤È¤·¤Æ·Ñ³Ãæ]

-CURRENT ¥Ö¥é¥ó¥Á¤Ï 5.0 ¤È¤½¤ÎÀè¤Ø¸þ¤±¤Æ¤æ¤Ã¤¯¤ê¤È¿Ê²½¤ò³¤±¤Æ¤¤¤Þ¤¹¡£ ½¾Í褢¤Ã¤¿ 2.2-STABLE ¥Ö¥é¥ó¥Á¤Ï 2.2.8 ¤Î¥ê¥ê¡¼¥¹¤ò¤â¤Ã¤Æ½ªÎ»¤·¤Þ¤·¤¿¡£ 3-STABLE ¤¬¤½¤ì¤ËÂå¤ï¤ê¡¢2000 ǯ 7 ·î¤Ë 3.5.1-RELEASE (ºÇ¸å¤Î 3.X ¥ê¥ê¡¼¥¹) ¤¬¥ê¥ê¡¼¥¹¤µ¤ì¤Þ¤·¤¿¡£ 2000 ǯ 3 ·î (3.5 ¤Î¸ø³«Á°¤Ë¤Ê¤ê¤Þ¤¹¤¬) ¤Ë¤Ï¡¢ 3-STABLE ¥Ö¥é¥ó¥Á¤Ï¤Û¤Ü¡¢4-STABLE ¥Ö¥é¥ó¥Á¤Ë¤è¤Ã¤ÆÃÖ¤­´¹¤¨¤é¤ì¤Þ¤·¤¿¡£ 4.3-RELEASE ¤Ï 2001 ǯ 4 ·î¤Ë¥ê¥ê¡¼¥¹¤µ¤ì¤Þ¤·¤¿¡£ 4-STABLE ¤Ï¸½ºß -STABLE ¥Ö¥é¥ó¥Á¤Ç³èȯ¤Ë³«È¯¤¬Â³¤±¤é¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢ 3-STABLE ¤Ø¤Î¥Ð¥°¤Î½¤Àµ (¤Û¤È¤ó¤É¤¬¥»¥­¥å¥ê¥Æ¥£´ØÏ¢¤Î¤â¤Î) ¤â¤Þ¤À¹Ô¤Ê¤ï¤ì¤Æ¤¤¤Þ¤¹¡£ 3.X ¥Ö¥é¥ó¥Á¤Ï 2000 ǯ¤Î²Æ¤Ë¤Ï¸ø¼°¤Ë³«È¯¤¬½ªÎ»¤¹¤ëͽÄê¤Ç¤¹¡£ ¸½ºß¤Î “current branch” ¤Ï 5.0-CURRENT ¤Ç¤¢¤ê¡¢ ºÇ½é¤Î 5.0 ·ÏÎó¤Î¥ê¥ê¡¼¥¹Í½Äê¤Ï¤Þ¤À·èÄꤷ¤Æ¤¤¤Þ¤»¤ó¡£

7. FreeBSD ¤Î¥ê¥ê¡¼¥¹¤Ï¤¤¤Äºî¤é¤ì¤ë¤Î¤Ç¤¹¤«?

FreeBSD ¥³¥¢¥Á¡¼¥à¤Ï¸¶Â§Åª¤Ë¡¢ ¿·¤·¤¤µ¡Ç½¤ä¥Ð¥°¥Õ¥£¥Ã¥¯¥¹¤¬½¼Ê¬½¸¤Þ¤ê¡¢ ¥ê¥ê¡¼¥¹¤Î°ÂÄêÀ­¤ò»¤Ê¤¦¤³¤È¤¬Ìµ¤¤¤è¤¦¡¢ ¤µ¤Þ¤¶¤Þ¤ÊÊѹ¹¤¬½½Ê¬¤Ë°ÂÄꤷ¤Æ¤¤¤ë¤È¤¤¤¦¾ò·ï¤òËþ¤¿¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß¡¢ ¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤ò¥ê¥ê¡¼¥¹¤·¤Þ¤¹¡£ ¤¿¤È¤¨¤³¤ÎÍÑ¿´¿¼¤µ¤¬¿·¤·¤¤µ¡Ç½¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ë¤³¤È¤ò ÂÔ¤Á˾¤ó¤Ç¤¤¤ë¥æ¡¼¥¶¤òÍßµáÉÔËþ¤Ë¤µ¤»¤ë¤È¤·¤Æ¤â¡¢ ¿¤¯¤Î¥æ¡¼¥¶¤Ï¤³¤Î¤³¤È¤ò FreeBSD ¤ÎºÇ¤âÎɤ¤½ê¤Î°ì¤Ä¤À¤È¹Í¤¨¤Æ¤¤¤Þ¤¹¡£

¥ê¥ê¡¼¥¹¤ÎºîÀ®¤Ï¡¢Ê¿¶ÑŪ¤Ë¸À¤Ã¤Æ¤ª¤è¤½ 4 ¥ö·î¤´¤È¤Ë¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£

¤â¤¦¾¯¤·»É·ã¤¬Íߤ·¤¤ (¤¢¤ë¤¤¤ÏÂÔ¤Á±ó¤·¤¤) Êý¡¹¸þ¤±¤Ë¤Ï¡¢ ËèÆü¥Ð¥¤¥Ê¥ê¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤¬ºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¾åµ­¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

8. FreeBSD ¤Ï PC ÍѤÀ¤±¤·¤«¤Ê¤¤¤Î?

FreeBSD 3.x °Ê¹ß¤Ï x86 ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤ÈƱÍÍ¡¢ DEC Alpha ¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢SPARC¡¢PowerPC¡¢IA64 ¤Ø¤Î°Ü¿¢¤È¤¤¤¦¶½Ì£¿¼¤¤Ïä⤢¤ê¤Þ¤¹¡£

°Û¤Ê¤ë¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î¥Þ¥·¥ó¤ò »ý¤Ã¤Æ¤¤¤Æ¡¢¤æ¤Ã¤¯¤êÂԤƤʤ¤¤È¤¤¤¦¾ì¹ç¤Ë¤Ï¼¡¤Î URL ¤ò »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

NetBSD ¤Þ¤¿¤Ï OpenBSD¡£

9. FreeBSD ¤ÎÀÕǤ¼Ô¤Ï¤¤¤Ã¤¿¤¤Ã¯?

¥×¥í¥¸¥§¥¯¥È¤ÎÁ´ÂÎŪ¤ÊÊý¸þÀ­¤ä¡¢ ï¤Ë¥½¡¼¥¹¥Ä¥ê¡¼¤Ë¥³¡¼¥É¤Î½ñ¤­¹þ¤ß¸¢¸Â¤òÍ¿¤¨¤ë¤«¡¢ ¤Ê¤É¤È¤¤¤Ã¤¿ FreeBSD ¥×¥í¥¸¥§¥¯¥È¤Ë´Ø¤¹¤ë½ÅÍפʰջ׷èÄê¤Ï¡¢ 9 ̾¤«¤é¤Ê¤ë¥³¥¢¥Á¡¼¥à (core team) ¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤Þ¤¹¡£ ¥½¡¼¥¹¥Ä¥ê¡¼¤òľÀÜÊѹ¹¤Ç¤­¤ë¿Í¤Ï¤â¤Ã¤È¿¤¯¡¢ 200 ̾°Ê¾å¤Î¥½¡¼¥¹¥Ä¥ê¡¼´ÉÍý¼Ô (committer) ¤¬¤¤¤Þ¤¹¡£

¤·¤«¤·¡¢¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ÇÀè¹Ô¤·¤ÆµÄÏÀ¤µ¤ì¤ë¡¢ Ä̾ï¤ÎÊѹ¹¤Ç¤Ï¤Ê¤¤¤â¤Î¤ÎµÄÏÀ¤Ø¤Î»²²Ã¤Ë¤Ï¡¢°ìÀÚÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£

10. ¤É¤³¤«¤é FreeBSD ¤òÆþ¼ê¤Ç¤­¤Þ¤¹¤«?

FreeBSD ¤Î¤¹¤Ù¤Æ¤Î¼çÍפʥê¥ê¡¼¥¹¤Ï anonymous FTP ·Ðͳ¤Ç FreeBSD FTP ¥µ¥¤¥È ¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£

  • ¸½ºß¤Î 3.X-STABLE ¥ê¥ê¡¼¥¹¡¢3.5.1-RELEASE ¤Ï 3.5.1-RELEASE ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£

  • ¸½ºß¤Î 4-STABLE ¥ê¥ê¡¼¥¹¡¢4.3-RELEASE ¤Ï 4.3-RELEASE ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£

  • 4.X Snapshot ¤Ï¡¢¤Û¤Ü°ìÆü¤Ë°ì²óºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

  • 5.0 Snapshot ¥ê¥ê¡¼¥¹¤Ï -CURRENT ¥Ö¥é¥ó¥ÁÍѤ˰ìÆü¤Ë°ì²óºîÀ®¤µ¤ì¤Æ¤ª¤ê¡¢ ¤³¤ì¤é¤Ï½ã¿è¤ËºÇÀèü¤Î³«È¯¼Ô¤ª¤è¤Ó¥Æ¥¹¥¿¡¼¤Î¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£



¤Þ¤¿¡¢FreeBSD ¤Ï CD-ROM ¤Ç¤âÆþ¼ê¤Ç¤­¡¢¼¡¤Î¤È¤³¤í¤ÇÃíʸ¤Ç¤­¤Þ¤¹¡£

BSDi
          4041 Pike Lane, Suite F
          ConcordCA
          94520
          USA

          Orders: +1 800 786-9907
          Questions: +1 925 674-0783
          FAX: +1 925 674-0821
          email: BSDi Orders address
          WWW: BSDi Home pageOrders: +1 800 786-9907

¥ª¡¼¥¹¥È¥é¥ê¥¢¤Ç¤Ï¡¢¼¡¤Î¤È¤³¤í¤ËÌ䤤¹ç¤ï¤»¤Æ¤¯¤À¤µ¤¤¡£

Advanced Multimedia Distributors
          Factory 1/1 Ovata Drive
          Tullamarine, Melbourne
          Victoria
          Australia
          Voice: +61 3 9338 6777

          CDROM Support BBS
          17 Irvine St
          Peppermint GroveWA
          6011
          Voice: +61 9 385-3793
          Fax: +61 9 385-2360

¥¤¥®¥ê¥¹¤Î¾ì¹ç¤Ï¼¡¤Î¤È¤³¤í¤Ç¤¹¡£

The Public Domain & Shareware Library
          Winscombe House, Beacon Rd
          Crowborough
          Sussex. TN6 1UL
          Voice: +44 1892 663-298
          Fax: +44 1892 667-473

11. FreeBSD ¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë¤Ä¤¤¤ÆÃΤꤿ¤¤¤Î¤Ç¤¹¤¬?

´°Á´¤Ê¾ðÊó¤¬ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ÎÀá ¤Ë¤¢¤ê¤Þ¤¹¡£

12. FreeBSD ¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Ï²¿¤¬¤¢¤ê¤Þ¤¹¤«?

´°Á´¤Ê¾ðÊó¤¬ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤ÎÀá¤Ë¤¢¤ê¤Þ¤¹¡£

13. FreeBSD ¤Î IRC (Internet Relay Chat) ¤Ë¤Ä¤¤¤Æ²¿¤«¾ðÊó¤Ï¤¢¤ê¤Þ¤¹¤«?

¤¢¤ê¤Þ¤¹¡£ °Ê²¼¤Î¤è¤¦¤Ë¡¢¤Û¤È¤ó¤É¤Îͭ̾¤Ê IRC ¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤Ï FreeBSD ¤Î¥Á¥ã¥Ã¥È¥Á¥ã¥ó¥Í¥ë¤¬¤¢¤ê¤Þ¤¹¡£

  • EFNet ¤Î Channel #FreeBSD ¤Ï FreeBSD ´Ø·¸¤Î¥Õ¥©¡¼¥é¥à¤Ç¤¹¤¬¡¢ ¤½¤³¤Çµ»½ÑŪ¥µ¥Ý¡¼¥È¤ò´üÂÔ¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ ¤½¤³¤Ë¤¤¤ë¿Í¤¿¤Á¤Ï¤¢¤Ê¤¿¤ò¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤òÆɤà¤È¤«¡¢ ¸¦µæ¤ò¤¹¤ë¤È¤«¤È¤¤¤Ã¤¿¶ìÏ«¤«¤é±ó¤¶¤±¤è¤¦¤È¤·¤Þ¤¹¡£ ¤Þ¤ºÂè°ì¤Ë¡¢¤³¤ì¤Ï¥Á¥ã¥Ã¥È¥Á¥ã¥ó¥Í¥ë¤Ç¤¢¤ê¡¢ ¤½¤³¤Ë¤¢¤ë¥È¥Ô¥Ã¥¯¥¹¤ÏÎø¿ÍÊ罸¡¢¥¹¥Ý¡¼¥Ä¡¢ ³Ëʼ´ï¤È¤¤¤Ã¤¿¤è¤¦¤Ê¤â¤Î¤Ç¤¢¤ê¡¢ FreeBSD ¤âƱÎó¤Ë°·¤ï¤ì¤Æ¤¤¤Þ¤¹¡£ °ì±þÃí°Õ¤·¤Þ¤·¤¿¤«¤é¤Í! ¤³¤ì¤Ï irc.chat.org ¤Î¥µ¡¼¥Ð¡¼¾å¤Ë¤¢¤ê¤Þ¤¹¡£

  • EFNet ¤Î Channel #FreeBSDhelp ¤Ï FreeBSD ¥æ¡¼¥¶¤Î¥Ø¥ë¥×ÀìÍÑ¥Á¥ã¥Í¥ë¤Ç¤¹¡£ »²²Ã¼Ô¤Ï #FreeBSD ¥Á¥ã¥Í¥ë¤è¤ê¤â¿ÆÀڤ˼ÁÌä¤ËÅú¤¨¤Æ¤¯¤ì¤Þ¤¹¡£

  • DALNET ¤Î Channel #FreeBSD ¤Ï¥¢¥á¥ê¥«¤Ç¤Ï irc.dal.net¡¢ ¥è¡¼¥í¥Ã¥Ñ¤Ç¤Ï irc.eu.dal.net ¤Ë¤¢¤ê¤Þ¤¹¡£

  • UNDERNET ¤Î Channel #FreeBSD ¤Ï¥¢¥á¥ê¥«¤Ç¤Ï us.undernet.org¡¢ ¥è¡¼¥í¥Ã¥Ñ¤Ç¤Ï eu.undernet.org ¤Ë¤¢¤ê¤Þ¤¹¡£ ¤³¤³¤Ï¥Ø¥ë¥×¥Á¥ã¥ó¥Í¥ë¤Ç¤¹¡£ ¥É¥­¥å¥á¥ó¥È¤òÆɤá¤ë½àÈ÷¤ò¤·¤Æ¤«¤éÍøÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

  • HybNet ¤Î Channel #FreeBSD¡£ ¤³¤Î¥Á¥ã¥ó¥Í¥ë¤Ï¤Ø¥ë¥×¥Á¥ã¥ó¥Í¥ë¤Ç¤¹¡£ ¥µ¡¼¥Ð¡¼¤Î¥ê¥¹¥È¤Ï HybNet ¤Î¥¦¥§¥Ö¥µ¥¤¥È ¤Ë¤¢¤ê¤Þ¤¹¡£

¤½¤ì¤¾¤ì¤Î¥Á¥ã¥ó¥Í¥ë¤ÏÊ̸ĤΤâ¤Î¤Ç¡¢ ¸ß¤¤¤ËÀܳ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¥Á¥ã¥Ã¥È¤Î¥¹¥¿¥¤¥ë¤â°ã¤Ã¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¼«Ê¬¤Î¥Á¥ã¥Ã¥È¤Î¥¹¥¿¥¤¥ë¤Ë¤¢¤Ã¤¿¤â¤Î¤ò¸«¤Ä¤±¤ë¤¿¤á¤Ë°ì¤Ä°ì¤Ä»î¤¹¤Î¤â¤¤¤¤¤Ç¤·¤ç¤¦¡£ ¤¢¤é¤æ¤ë¼ïÎà¤Î IRC ¥È¥é¥Õ¥£¥Ã¥¯¤Î¤¿¤á¡¢¼ºÎé¤Ê¤³¤È¤ò¤¤¤¦¼ã¼Ô¤¿¤Á (ǯÇÚ¤ÎÊý¤Ï¾¯¿ô¤Ç¤¹) ¤Î¤¿¤á¤Ëµ¡·ù¤ò»¤Í¤¿¤ê¡¢ ¼ê¤ËÉ館¤Ê¤¯¤Ê¤Ã¤Æ¤âµ¤¤Ë¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

14. FreeBSD ¤ÎËÜ

FreeBSD documentation project ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤Ë¥³¥ó¥¿¥¯¥È¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤ (¤µ¤é¤Ë»²²Ã¤¹¤ì¤Ð¤â¤Ã¤È¤è¤¤¤Ç¤·¤ç¤¦)¡£ ¤³¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ï FreeBSD ´ØÏ¢¤Îʸ½ñ¤Ë´Ø¤¹¤ëµÄÏÀ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ FreeBSD ¤Ë´Ø¤¹¤ë¼ÁÌä¤ËÂФ·¤Æ¤Ï¡¢ FreeBSD general questions ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤È¤¤¤¦¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤¬¤¢¤ê¤Þ¤¹¡£

FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤â¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¸½ºßºî¶ÈÃæ¤Ç¡¢ ÉÔ´°Á´¤À¤Ã¤¿¤êºÇ¿·¾ðÊó¤Ç¤Ê¤¤¤â¤Î¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

FreeBSD ¤Î¥¬¥¤¥ÉËܤηèÄêÈǤϡ¢ Greg Lehey »á¤Ë¤è¤ë “The Complete FreeBSD” ¤Ç¤¹¡£ ¤³¤ì¤Ï BSDi (°ÊÁ°¤Î Walnut Creek CDROM) Books ¤«¤é½ÐÈǤµ¤ì¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¤ÏÂè»°ÈǤˤʤäƤ¤¤Æ¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¡¢¥·¥¹¥Æ¥à´ÉÍý¥¬¥¤¥É¡¢¥×¥í¥°¥é¥àÀßÄê¤Î¥Ø¥ë¥×¡¢ ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Þ¤Ç¤ÎÆâÍƤ¬ 773 ¥Ú¡¼¥¸¤Ë¤ï¤¿¤Ã¤Æ½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎËÜ¤Ï (¤½¤·¤Æ¸½ºß¤Î FreeBSD ¥ê¥ê¡¼¥¹¤Ï) BSDi¡¢ CheapBytes¡¢ ¤Þ¤¿¤ÏºÇ´ó¤ê¤Î½ñŹ¤ÇÃíʸ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ISBN ¥³¡¼¥É¤Ï 1-57176-246-9 ¤Ç¤¹ (¤³¤ì°Ê³°¤Î¥³¡¼¥É¤Î¾ì¹ç¤â¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó)¡£

¤Þ¤¿¡¢FreeBSD ¤Ï Berkeley 4.4BSD-Lite ¥Ù¡¼¥¹¤Ê¤Î¤Ç¡¢Â¿¤¯¤Î 4.4BSD ¤Î¥Þ¥Ë¥å¥¢¥ë¤¬ FreeBSD ¤Ë¤â±þÍѤǤ­¤Þ¤¹¡£ O'Reilly and Associates ¤¬°Ê²¼¤Î¥Þ¥Ë¥å¥¢¥ë¤ò½ÐÈǤ·¤Æ¤¤¤Þ¤¹¡£



¤³¤ì¤é¤Î¾ÜºÙ¤ÊÀâÌÀ¤¬ WWW ·Ðͳ¤Ç 4.4BSD books description ¤«¤éÆɤळ¤È¤¬¤Ç¤­¤Þ¤¹¡£ ÈÎÇä¿ô¤¬¾¯¤Ê¤¤¤¿¤á¤³¤ì¤é¤Î¥Þ¥Ë¥å¥¢¥ë¤ÏÆþ¼ê¤·¤Ë¤¯¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

4.4BSD ¤Î¥«¡¼¥Í¥ë¹½À®¤Ë¤Ä¤¤¤Æ¤è¤êÅ°ÄìŪ¤ËÃΤꤿ¤¤¤Î¤Ê¤é¡¢ The Design and Implementation of the 4.4BSD Operating System ¤Ê¤é´Ö°ã¤¤¤Ê¤¤¤Ç¤·¤ç¤¦¡£

¥·¥¹¥Æ¥à´ÉÍý¤Ë¤Ä¤¤¤Æ¤ÎÎɽñ¤¬ Unix System Administration Handbook ¤Ç¤¹¡£

注意: ½éÈǤǤϤʤ¯¡¢»ç¿§¤Î¥«¥Ð¡¼¤ÎÂè»°ÈǤǤ¢¤ë¤«³Îǧ¤·¤Æ¤¯¤À ¤µ¤¤¡£

¤³¤ÎËÜ¤Ï TCP/IP ¤À¤±¤Ç¤Ê¤¯ DNS¡¢NFS¡¢SLIP/PPP¡¢sendmail¡¢ INN/NNTP¡¢°õºþ¤Ê¤É¤Î´ðÁäò°·¤Ã¤Æ¤¤¤Þ¤¹¡£ ¹â²Á¤Ç¤¹¤¬¡¢Ç㤦²ÁÃͤϤ¢¤ê¤Þ¤¹¡£ Âè»°ÈǤǤϡ¢Solaris, HP/UX, FreeBSD ¤ª¤è¤Ó Linux ¤ò¼è¤ê°·¤Ã¤Æ¤¤¤Þ¤¹¡£

15. ¾ã³²Êó¹ð (PR; Problem Report) ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¥¢¥¯¥»¥¹¤¹¤ëÊýË¡¤Ï?

¥æ¡¼¥¶¤«¤é¤ÎÊѹ¹Í׵᤬¤Þ¤È¤á¤é¤ì¤Æ¤¤¤ë Problem Report ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¡¢ ¾ã³²Êó¹ð¤Î web ¥Ù¡¼¥¹¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ̤·¤Æ¡¢ Äó½Ð¤ÈÌ䤤¹ç¤ï¤»¤ò¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢send-pr(1) ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢ ÅŻҥ᡼¥ë·Ðͳ¤Ç¾ã³²Êó¹ð¤äÊѹ¹Í×µá¤òÄó½Ð¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

16. ¥×¥ì¥¤¥ó¥Æ¥­¥¹¥È (ASCII) ÈÇ ¤ä PostScript ÈǤΠFreeBSD ʸ½ñ¤Ï¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?

¤Ï¤¤¡¢¤â¤Á¤í¤ó¤¢¤ê¤Þ¤¹¡£ ¿ô¿¤¯¤Î°Û¤Ê¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¡¢°µ½Ì·Á¼°¤Îʸ½ñ¤¬ FreeBSD FTP ¥µ¥¤¥È¤Î /pub/FreeBSD/doc/ ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤«¤éÆþ¼ê²Äǽ¤Ç¤¹¡£

ʸ½ñ¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¤µ¤Þ¤¶¤Þ¤Ê´ÑÅÀ¤«¤éʬÎव¤ì¤Æ¤¤¤Þ¤¹¡£

  • faq ¤ä handbook ¤È¤¤¤Ã¤¿Ê¸½ñ̾¤Ë¤è¤ëʬÎà¡£

  • ʸ½ñ¤Î¸À¸ì¤È¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ë¤è¤ëʬÎà¡£¤³¤ì¤Ï FreeBSD ¥·¥¹¥Æ¥à¤Î /usr/share/locale ¤Ë¤¢¤ë locale ̾¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹¡£ ¸½ºßÍøÍѲÄǽ¤Ê¸À¸ì¡¢¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ï°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹¡£

    ̾Á° °ÕÌ£
    en_US.ISO8859-1 ±Ñ¸ì (Êƹñ)
    de_DE.ISO_8859-1 ¥É¥¤¥Ä¸ì
    es_ES.ISO8859-1 ¥¹¥Ú¥¤¥ó¸ì
    fr_FR.ISO8859-1 ¥Õ¥é¥ó¥¹¸ì
    ja_JP.eucJP ÆüËܸì (EUC ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°)
    ru_RU.KOI8-R ¥í¥·¥¢¸ì (KOI8-R ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°)
    zh_TW.Big5 Ãæ¹ñ¸ì (Big5 ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°)

    注意: ¸À¸ì¤Ë¤è¤Ã¤Æ¤Ï½àÈ÷¤µ¤ì¤Æ¤¤¤Ê¤¤Ê¸½ñ¤â¸ºß¤·¤Þ¤¹¡£

  • ʸ½ñ¤Î·Á¼°¤Ë¤è¤ëʬÎà¡£ ʸ½ñ¤Ï¿ô¿¤¯¤Î°Û¤Ê¤ë½ÐÎÏ·Á¼°¤òÍÑ°Õ¤·¡¢ ²Äǽ¤Ê¸Â¤ê½ÀÆð¤ÊÂбþ¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¡¢ÍøÍѲÄǽ¤Êʸ½ñ·Á¼°¤Ï°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹¡£

    ʸ½ñ·Á¼° °ÕÌ£
    html-split ¥µ¥¤¥º¤Î¾®¤µ¤¤¡¢ ¥ê¥ó¥¯¤µ¤ì¤¿Ê£¿ô¤Î HTML ¥Õ¥¡¥¤¥ë
    html ʸ½ñÁ´ÂΤò´Þ¤ó¤À¡¢Ã±°ì¤ÎÂ礭¤Ê¥Õ¥¡¥¤¥ë
    pdb iSilo ¤ÇÍøÍѲÄǽ¤Ê Palm Pilot ¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°
    pdf Adobe ¼Ò¤Î PDF (Portable Document Format) ·Á¼°
    ps Postscript ·Á¼°
    rtf Microsoft ¼Ò¤Î¥ê¥Ã¥Á¥Æ¥­¥¹¥È·Á¼°[a]
    txt ¥×¥ì¥¤¥ó¥Æ¥­¥¹¥È·Á¼°
    注意:
    a. ¤³¤Î·Á¼°¤ò Word ¤ÇÆɤ߹þ¤ó¤À¾ì¹ç¡¢ ¥Ú¡¼¥¸ÈÖ¹æ¤Ï¼«Æ°Åª¤Ë¹¹¿·¤µ¤ì¤Þ¤»¤ó¡£ ¥Ú¡¼¥¸ÈÖ¹æ¤ò¹¹¿·¤¹¤ë¤Ë¤Ïʸ½ñ¤òÆɤ߹þ¤ó¤Ç¤«¤é CTRL+A¡¢ CTRL+END¡¢ F9 ¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£
  • °µ½Ì¤È package ·Á¼°¤Ë¤è¤ëʬÎà¡£ ¸½ºßÍøÍѤµ¤ì¤Æ¤¤¤ë¤Î¤Ï¼¡¤Î 3 ¼ïÎà¤Ç¤¹¡£

    1. html-split ·Á¼°¤Î¾ì¹ç¡¢ ¥Õ¥¡¥¤¥ë¤Ï¤Þ¤º¡¢tar(1) ¤ò»È¤Ã¤Æ¤Þ¤È¤á¤é¤ì¡¢ ¤Þ¤È¤á¤é¤ì¤¿ .tar ¥Õ¥¡¥¤¥ë¤Ï¼¡¤Ë²òÀ⤹¤ëÊý¼°¤Ç°µ½Ì¤µ¤ì¤Þ¤¹¡£

    2. ¤½¤Î¾¤Î·Á¼°¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë¤Ï book.format (¤¿¤È¤¨¤Ð book.pdb¡¢ book.html ¤Ê¤É) ¤È¤¤¤¦Ã±°ì¤Î¥Õ¥¡¥¤¥ë¤Ç¤¹¡£

      ¾å¤Ë¤¢¤²¤¿¥Õ¥¡¥¤¥ë¤Ï 3 ¼ïÎà¤ÎÊý¼°¤Î¤¤¤º¤ì¤«¤Ç°µ½Ì¤µ¤ì¤Þ¤¹¡£

      Êý¼° ÀâÌÀ
      zip Zip ·Á¼°¡£ FreeBSD ¤Ç°µ½Ì¤ò¸µ¤ËÌ᤹¤Ë¤Ï¡¢¤Þ¤º archivers/unzip ¤Î port ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
      gz GNU Zip ·Á¼°¡£°µ½Ì¤ò¸µ¤ËÌ᤹¤Ë¤Ï¡¢ FreeBSD ¤Ë´Þ¤Þ¤ì¤ë gunzip(1) ¤ò»È¤¤¤Þ¤¹¡£
      bz2 BZip2 ·Á¼°¡£ ¾¤Î·Á¼°¤ËÈæ¤Ù¤ÆÉáµÚ¤·¤Æ¤¤¤Þ¤»¤ó¤¬¡¢ °ìÈÌŪ¤Ë¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤¬¾®¤µ¤¯¤Ê¤ê¤Þ¤¹¡£ °µ½Ì¤ò¸µ¤ËÌ᤹¤Ë¤Ï¡¢ archivers/bzip2 port ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£

      Postscript ÈǤΥϥó¥É¥Ö¥Ã¥¯¤¬ BZip2 ·Á¼°¤Ç°µ½Ì¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Ï handbook/ ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Î book.xml.bz2 ¤Ë¤Ê¤ê¤Þ¤¹¡£

    3. ¤µ¤Þ¤¶¤Þ¤Ê·Á¼°¤ËÀ°·Á¤µ¤ì¤¿Ê¸½ñ¤Ï¡¢°Ê²¼¤Ë½Ò¤Ù¤ë¤è¤¦¤Ë FreeBSD ¤Î package ¤È¤·¤Æ¤âÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥À¥¦¥ó¥í¡¼¥É¤¹¤ëʸ½ñ¤È°µ½Ì·Á¼°¤òÁªÂò¤·¤¿¤é¡¢ ʸ½ñ¤ò FreeBSD package ¤È¤·¤Æ¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤«¤É¤¦¤«·è¤á¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

package ¤È¤·¤Æ¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢ ʸ½ñ¤ò pkg_add(1) ¤ä pkg_delete(1) ¤È¤¤¤Ã¤¿¡¢ÉáÄ̤ΠFreeBSD package ´ÉÍý¥·¥¹¥Æ¥à¤òÍѤ¤¤¿´ÉÍý¤¬²Äǽ¤Ç¤¢¤ë¤È¤¤¤¦ÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£

ʸ½ñ¤Î package ¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤Ë·è¤á¤¿¤é¡¢ ¤Þ¤º¤Ï¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¥Õ¥¡¥¤¥ë̾¤òÃΤëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ʸ½ñ¤Î package ¤Ï¡¢packages ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤·¤Æ¤½¤ì¤¾¤ì¤Î package ¥Õ¥¡¥¤¥ë¤Ï¡¢ ʸ½ñ̾.¸À¸ì.¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°.·Á¼°.tgz ¤È¤¤¤¦¤è¤¦¤Ê̾Á°¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¤¿¤È¤¨¤Ð¡¢FAQ ¤Î±Ñ¸ìÈÇ¤Ç PDF ·Á¼°¤Î¤â¤Î¤Ï¡¢ faq.en_US.ISO8859-1.pdf.tgz ¤È¤¤¤¦¥Õ¥¡¥¤¥ë̾¤Ç¤¹¡£

¥Õ¥¡¥¤¥ë̾¤¬¤ï¤«¤Ã¤¿¤é¡¢ ¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤Ç±Ñ¸ìÈǤΠPDF ·Á¼° FAQ ¤Î package ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# pkg_add ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/packages/faq.en_US.ISO8859-1.pdf.tgz

¥¤¥ó¥¹¥È¡¼¥ë¤Î½ªÎ»¸å¤Ï pkg_info(1) ¤ò»È¤¤¡¢ ¥Õ¥¡¥¤¥ë¤¬¤É¤³¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¤«¤òÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# pkg_info -f faq.en_US.ISO8859-1.pdf
Information for faq.en_US.ISO8859-1.pdf:

Packing list:
        Package name: faq.en_US.ISO8859-1.pdf
        CWD to /usr/share/doc/en_US.ISO8859-1/books/faq
File: book.pdf
        CWD to .
File: +COMMENT (ignored)
File: +DESC (ignored)

¤´Í÷¤Ë¤Ê¤ë¤È¤ï¤«¤ë¤È¤ª¤ê¡¢book.pdf ¤Ï /usr/share/doc/en_US.ISO8859-1/books/faq ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

package ¤òÍøÍѤ·¤Ê¤¤¾ì¹ç¤Ï¡¢ ¼«Ê¬¤Ç°µ½Ì¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¸µ¤ËÌᤷ¡¢ ŬÀڤʾì½ê¤Ë¤½¤ì¤ò¥³¥Ô¡¼¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¤¿¤È¤¨¤Ð¡¢Ê¬³ä¤µ¤ì¤¿ HTML ÈǤΠFAQ ¤Ç¡¢ gzip(1) ¤Ç°µ½Ì¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ï en_US.ISO8859-1/books/faq/book.html-split.tar.gz ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ ¤³¤ì¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ°µ½Ì¤ò¸µ¤ËÌ᤹¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£

# fetch ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/faq/book.html-split.tar.gz
# gzip -d book.html-split.tar.gz
# tar xvf book.html-split.tar

¤³¤¦¤¹¤ë¤È¡¢Ê£¿ô¤Î .html ¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ Ãæ¿´¤È¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ï index.html ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤Ç¡¢ Ìܼ¡¤äÁ°½ñ¤­¡¢Ê¸½ñ¤Î¾¤ÎÉôʬ¤Ø¤Î¥ê¥ó¥¯¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢É¬Íפ˱þ¤¸¤Æ¾¤Î¾ì½ê¤Ë¥³¥Ô¡¼¤·¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£

17. FreeBSD ¤Î¥¦¥§¥Ö¥µ¥¤¥È¤Î¥ß¥é¡¼¥µ¥¤¥È¤Ë¤Ê¤ê¤¿¤¤¤Ç¤¹!

¾µÃΤ·¤Þ¤·¤¿! ¥¦¥§¥Ö¥Ú¡¼¥¸¤ò¥ß¥é¡¼¤¹¤ë¤Ë¤Ï¤¤¤¯¤Ä¤«¤Î¼êÃʤ¬¤¢¤ê¤Þ¤¹¡£

  • CVSup ¤ò»È¤¤¤Þ¤¹¡£ CVSup ¤ò»È¤Ã¤Æ CVSup ¥µ¡¼¥Ð¤ËÀܳ¤¹¤ë¤³¤È¤Ç¡¢ À°·Á¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ò¼è¤Ã¤Æ¤¯¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

    ¥¦¥§¥Ö¥Ú¡¼¥¸¤ò¼èÆÀ¤¹¤ë¾ì¹ç¤Ï¡¢ /usr/share/examples/cvsup/www-supfile ¤Ë¤¢¤ë supfile ¤ÎÎã¤ò»²¹Í¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

  • FTP ¤ò»È¤Ã¤Æ¥ß¥é¡¼¥ê¥ó¥°¤·¤Þ¤¹¡£ ¤¢¤Ê¤¿¤Î¹¥¤­¤Ê FTP ¥ß¥é¡¼¥ê¥ó¥°¥Ä¡¼¥ë¤ò»È¤Ã¤Æ¡¢ FTP ¥µ¡¼¥Ð¤ËÃÖ¤¤¤Æ¤¢¤ë web ¥µ¥¤¥È¤Î¥³¥Ô¡¼¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥¿¥¦¥ó¥í¡¼¥É¤Ïñ½ã¤Ë ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-CURRENT/www ¤«¤é»Ï¤á¤Æ¤¯¤À¤µ¤¤¡£



18. ¤³¤Îʸ½ñ¤ò¾¤Î¸À¸ì¤ËËÝÌõ¤·¤¿¤¤¤Î¤Ç¤¹¤¬?

Ê󽷤ϻÙʧ¤¨¤Þ¤»¤ó¤¬¡¢ ʸ½ñ¤ÎËÝÌõ¤òÄó½Ð¤·¤Æ¤¯¤À¤µ¤ëÊý¤Ë¤Ï¡¢ ¥Õ¥ê¡¼¤Î CD¡¢T ¥·¥ã¥Ä¤Î¼êÇۤ䡢 ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Ë¤¢¤ë¹×¸¥¼Ô°ìÍ÷¤Ø¤ÎÅÐÏ¿¤ò¹Ô¤Ê¤¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£ ËÝÌõºî¶È¤ò¤Ï¤¸¤á¤ëÁ°¤Ë¡¢ FreeBSD documentation project ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤ØÏ¢Íí¤¹¤ë¤è¤¦¤Ë¤ª´ê¤¤¤·¤Þ¤¹¡£ ËÝÌõºî¶È¤ò¼êÅÁ¤¦¤È¤¤¤¦¿Í¤¬¸½¤ï¤ì¤ë¤«¤âÃΤì¤Þ¤»¤ó¤·¡£ ´û¤ËËÝÌõ¥Á¡¼¥à¤¬¤¢¤Ã¤Æ¡¢¤¢¤Ê¤¿¤Î»²²Ã¤ò´¿·Þ¤·¤Æ¤¯¤ì¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£

19. ¤½¤Î¾¤Î¾ðÊó

°Ê²¼¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Ë¤Ï FreeBSD ¥æ¡¼¥¶¤ËľÀÜ´Ø·¸¤Î¤¢¤ëµÄÏÀ¤¬¹Ô¤ï¤ì¤Æ¤Þ¤¹¡£

Web ¾å¤Î¥ê¥½¡¼¥¹:

FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Ë¤Ï¡¢ ¼Â¤Ë´°À®¤µ¤ì¤¿»²¹Í¿Þ½ñ¤Î°ìÍ÷¤¬¤¢¤ê¡¢ Ç㤦¤Ù¤­Ëܤò¤µ¤¬¤·¤Æ¤¤¤ëÊý¤ÏÆɤà²ÁÃͤ¬¤¢¤ê¤Þ¤¹¡£


第 1章¥¤¥ó¥¹¥È¡¼¥ë

Ìõ: ´äºê Ëþ ¡¢ ¤à¤é¤¿¤·¤å¤¦¤¤¤Á¤í¤¦ ¡¢ 1997 ǯ 11 ·î 8 Æü

1.1. FreeBSD ¤òÆþ¼ê¤¹¤ë¤Ë¤Ï¡¢¤É¤Î¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦¤«?
1.2. ¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¥¤¥á¡¼¥¸¤¬°ìËç¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤ËǼ¤Þ¤é¤Ê¤¤¤ß¤¿¤¤!
1.3. FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ½ñ¤Ï¤É¤³¤Ë¤¢¤ê¤Þ¤¹¤«?
1.4. FreeBSD ¤òÆ°ºî¤µ¤»¤ë¤Ë¤Ï²¿¤¬É¬ÍפǤ¹¤«?
1.5. 4MB ¤·¤«¥á¥â¥ê¤¬¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¤«?
1.6. ¼«Ê¬ÍѤΥ¤¥ó¥¹¥È¡¼¥ë¥Õ¥í¥Ã¥Ô¡¼¤òºî¤ë¤Ë¤Ï?
1.7. Ʊ¤¸¥Þ¥·¥ó¤Ç Windows 95/98 ¤È¶¦Â¸¤Ç¤­¤Þ¤¹¤«?
1.8. Windows 95/98 ¤¬¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤òÄÙ¤·¤Á¤ã¤Ã¤¿! ¤É¤¦¤ä¤Ã¤ÆÌ᤹¤Î?
1.9. IBM Thinkpad ¤Î A¡¢T¡¢X ¥·¥ê¡¼¥º¤Î¤¤¤º¤ì¤«¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤éµ¯Æ°¤·¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Ç¤¹¤«?
1.10. ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Î¤¢¤ë¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¤«?
1.11. ¥¤¥ó¥¹¥È¡¼¥é¤«¤éµ¯Æ°¤·¤¿¤éÊѤʤ³¤È¤Ë¤Ê¤ê¤Þ¤·¤¿!
1.12. ATAPI CD-ROM ¤«¤éµ¯Æ°¤·¤¿¤Î¤Ç¤¹¤¬¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à¤Ï CD-ROM ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤È¸À¤Ã¤Æ¤­¤Þ¤¹¡£ CD-ROM ¤Ï¤É¤³¤Ë¹Ô¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¤«?
1.13. ¤¢¤ì¤ì? ¥Æ¡¼¥×¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤»¤ó!
1.14. PLIP ·Ðͳ¤ÇÆó¤Ä FreeBSD box ¤òÀܳ¤·¤¿¤¤¤Î¤Ç¤¹¤¬
1.15. ¥é¥Ã¥×¥È¥Ã¥× PC ¤Ë PLIP ·Ðͳ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¤«?
1.16. ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ë¤Ï¡¢ ¤É¤Î¥¸¥ª¥á¥È¥ê¤ò»È¤¦¤Ù¤­¤Ç¤·¤ç¤¦¤«?
1.17. ¥Ç¥£¥¹¥¯¤Îʬ³ä¤Î»ÅÊý¤Ç²¿¤«À©¸Â¤Ï¤¢¤ê¤Þ¤¹¤«?
1.18. ÂçÍÆÎ̥ǥ£¥¹¥¯¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¥Ç¥£¥¹¥¯¥Þ¥Í¡¼¥¸¥ã¤Ï»È¤¨¤Þ¤¹¤«?
1.19. FreeBSD ¤Îµ¯Æ°»þ¤Ë Missing Operating System ¤Èɽ¼¨¤µ¤ì¤Þ¤¹
1.20. ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤Î F? ¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤Þ¤»¤ó¡£
1.21. ¥½¡¼¥¹¤òÁ´Éô¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤¹¤«?
1.22. ¥«¡¼¥Í¥ë¤Ïɬ¤ººî¤êľ¤µ¤Ê¤¯¤Á¤ã¤Ê¤é¤Ê¤¤¤ó¤Ç¤¹¤«?
1.23. DES ¤È MD5¡¢¤É¤Á¤é¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»È¤¦¤Ù¤­¤Ê¤Î¤Ç¤·¤ç¤¦¤«? ¤Þ¤¿¡¢¥æ¡¼¥¶¤¬¤É¤Á¤é¤ò»È¤¦¤³¤È¤Ë¤Ê¤ë¤«»ØÄꤹ¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤¹¤«?
1.24. ¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤Çµ¯Æ°¤¹¤ë¤È¡¢ Probing Devices... ¤Î²èÌ̤ǥϥ󥰥¢¥Ã¥×¤·¤Þ¤¹¡£
1.25. ¥¤¥ó¥¹¥È¡¼¥ë½ªÎ»¸å¤Ë¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤¹¤ë¤È¡¢ panic: cant mount root ¤Î¥¨¥é¡¼¤È¤Ê¤ê¤Þ¤¹¡£
1.26. ¥á¥â¥ê¤ÎÂ礭¤µ¤ÎÀ©¸Â¤Ï?
1.27. ffs ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÂ礭¤µ¤ÎÀ©¸Â¤Ï?
1.28. ¥Õ¥í¥Ã¥Ô¡¼¤Ë 1 TB ¤Î¥Õ¥¡¥¤¥ë¤ò³ÊǼ¤¹¤ë¤Ë¤Ï?
1.29. ¿·¤·¤¤¥«¡¼¥Í¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤¿¤é¡¢µ¯Æ°»þ¤Ë archsw.readin.failed ¤È¤¤¤¦¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
1.30. 3.X ¤«¤é 4.X ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤¹¤«?
1.31. “¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë” (“security profiles”) ¤È¤Ï²¿¤Ç¤¹¤«?

1.1. FreeBSD ¤òÆþ¼ê¤¹¤ë¤Ë¤Ï¡¢¤É¤Î¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦¤«?

FreeBSD 3.1-RELEASE °ÊÁ°¤Ç¤Ï¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤ÎºÝ¤ËɬÍ×¤Ê¤Î¤Ï floppies/boot.flp ¤È̾Á°¤Î¤Ä¤¤¤¿ °ì¤Ä¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¥¤¥á¡¼¥¸¤À¤±¤Ç¤·¤¿¡£ ¤·¤«¤· FreeBSD 3.1-RELEASE °Ê¹ß¡¢ Éý¹­¤¤¼ïÎà¤Î¥Ï¡¼¥É¥¦¥§¥¢¥µ¥Ý¡¼¥È¤¬´ðËÜ¥·¥¹¥Æ¥à¤ËÄɲ䵤졢 ¤½¤Î¥µ¥Ý¡¼¥È¤¬É¬ÍפȤ¹¤ëÍÆÎ̤òÊ䤦¤¿¤á¡¢ 3.X ¤È 4.X ¤Î·ÏÎó¤Ç¤Ï¿·¤¿¤Ë¡¢ floppies/kernel.flp ¤ª¤è¤Ó floppies/mfsroot.flp ¤È¤¤¤¦¡¢Æó¤Ä¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¥¤¥á¡¼¥¸¤ò»È¤¦¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¤³¤ì¤é¤Î¥¤¥á¡¼¥¸¤ò¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë½ñ¤­¹þ¤à¤Ë¤Ï¡¢ fdimage ¤ä dd(1) ¤È¤¤¤Ã¤¿¥Ä¡¼¥ë¤¬É¬ÍפȤʤê¤Þ¤¹¡£

(DOS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤«¤é¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ê¤É¤Ç) ¤¢¤Ê¤¿¼«¿È¤¬¼êÆ°¤ÇÇÛÉÛ¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢ °Ê²¼¤ÎÇÛÉÛ¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤ò¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£

  • bin/

  • manpages/

  • compat*/

  • doc/

  • src/ssys.*

¤³¤Î¼ê½ç¤Î´°Á´¤ÊÀâÌÀ¤È¡¢°ìÈÌŪ¤Ê¥¤¥ó¥¹¥È¡¼¥ë»þ¤ÎÌäÂê¤Ë¤Ä¤¤¤Æ¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ÎÀá ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

1.2. ¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¥¤¥á¡¼¥¸¤¬°ìËç¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤ËǼ¤Þ¤é¤Ê¤¤¤ß¤¿¤¤!

3.5 ¥¤¥ó¥Á (1.44MB) ¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë¤Ï¡¢ 1474560 ¥Ð¥¤¥È¤Î¥Ç¡¼¥¿¤ò³ÊǼ¤Ç¤­¤Þ¤¹¡£ ¥Ö¡¼¥È¥¤¥á¡¼¥¸¤Ï¤Á¤ç¤¦¤É 1474560 ¥Ð¥¤¥È¤ÎÂ礭¤µ¤Ç¤¹¡£

¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤ò½àÈ÷¤¹¤ëºÝ¤Î¤è¤¯¤¢¤ë´Ö°ã¤¤¤Ë¤Ï¡¢ °Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

  • FTP ¤Ë¤è¤Ã¤Æ¥Õ¥í¥Ã¥Ô¡¼¥¤¥á¡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëºÝ¤Ë¡¢ ¥Ð¥¤¥Ê¥ê (binary) ¥â¡¼¥É¤Ë¤·¤Æ¤¤¤Ê¤«¤Ã¤¿¡£

    FTP ¥¯¥é¥¤¥¢¥ó¥È¤ÎÃæ¤Ë¤Ï¡¢ žÁ÷¥â¡¼¥É¤Î¥Ç¥Õ¥©¥ë¥È¤ò¥¢¥¹¥­¡¼ (ascii) ¥â¡¼¥É¤Ë¤·¤Æ¡¢ ¥¯¥é¥¤¥¢¥ó¥È¦¥·¥¹¥Æ¥à¤Î´·½¬¤Ë¤¢¤¦¤è¤¦¡¢ ¤¹¤Ù¤Æ¤Î¹ÔËö¤Îʸ»ú¤òÊѹ¹¤¹¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤Ï¾ï¤Ë¡¢¥Ö¡¼¥È¥¤¥á¡¼¥¸¤¬²õ¤ì¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥Ö¡¼¥È¥¤¥á¡¼¥¸¤Î¥µ¥¤¥º¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥µ¡¼¥Ð¾å¤Î¤â¤Î¤ÈÀµ³Î¤Ë°ìÃפ·¤Ê¤±¤ì¤Ð¡¢ ¥À¥¦¥ó¥í¡¼¥É¤Î½èÍý¤òµ¿¤¤¤Þ¤·¤ç¤¦¡£

    ¤³¤ì¤ò²óÈò¤¹¤ë¤Ë¤Ï¡¢ ¥µ¡¼¥Ð¤ËÀܳ¤·¤Æ¥¤¥á¡¼¥¸¤Î¥À¥¦¥ó¥í¡¼¥É¤ò³«»Ï¤¹¤ëÁ°¤Ë FTP ¤Î¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ç binary ¤È¥¿¥¤¥×¤·¤Þ¤¹¡£

  • ¥Ö¡¼¥È¥¤¥á¡¼¥¸¤ò DOS ¤Î copy ¥³¥Þ¥ó¥É (¤Þ¤¿¤Ï GUI ¤ÎƱÅù¤Î¥Ä¡¼¥ë) ¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤ØžÁ÷¤·¤¿¡£

    copy ¤Î¤è¤¦¤Ê¥×¥í¥°¥é¥à¤Ï¡¢ ľÀܵ¯Æ°¤¹¤ë¤è¤¦¤ËºîÀ®¤µ¤ì¤¿¥Ö¡¼¥È¥¤¥á¡¼¥¸¤ò¤¦¤Þ¤¯½èÍý¤Ç¤­¤Þ¤»¤ó¡£ ¥¤¥á¡¼¥¸¤Ë¤Ï¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Î´°Á´¤ÊÃæ¿È¤¬¥È¥é¥Ã¥¯Ã±°Ì¤Ç³ÊǼ¤µ¤ì¤Æ¤ª¤ê¡¢ ¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¾å¤ËÄ̾ï¤Î¥Õ¥¡¥¤¥ë¤È¤·¤Æ ³ÊǼ¤µ¤ì¤ë¤è¤¦¤ËÁÛÄꤵ¤ì¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢ Äã¥ì¥Ù¥ë¤Î¥Ä¡¼¥ë (¤¿¤È¤¨¤Ð fdimage ¤ä rawrite) ¤ò»ÈÍѤ·¤Æ “¤½¤Î¤Þ¤Þ¤Î (raw)” ¤Î¾õÂ֤ǥեí¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë žÁ÷¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

1.3. FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ½ñ¤Ï¤É¤³¤Ë¤¢¤ê¤Þ¤¹¤«?

¥¤¥ó¥¹¥È¡¼¥ë¤ÎÀâÌÀ½ñ¤ÏFreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Î¾Ï¤Ë¤¢¤ê¤Þ¤¹¡£

1.4. FreeBSD ¤òÆ°ºî¤µ¤»¤ë¤Ë¤Ï²¿¤¬É¬ÍפǤ¹¤«?

386 °Ê¾å¤Î PC¡¢5MB °Ê¾å¤Î RAM¡¢ ¤½¤·¤ÆºÇÄã 60MB ¤Î¥Ï¡¼¥É¥Ç¥£¥¹¥¯ÍÆÎ̤¬É¬ÍפȤʤê¤Þ¤¹¡£ ¥í¡¼¥¨¥ó¥É¤Î MDA ¥«¡¼¥É¤Ç¤âÆ°ºî¤·¤Þ¤¹¤¬¡¢ X11R6 ¤ò»È¤¦¤Ë¤Ï VGA ¤«¤½¤ì°Ê¾å¤Î¥Ó¥Ç¥ª¥«¡¼¥É¤¬É¬ÍפȤʤê¤Þ¤¹¡£

第2章 ¤â¤´Í÷¤¯¤À¤µ¤¤¡£

1.5. 4MB ¤·¤«¥á¥â¥ê¤¬¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¤«?

4MB ¤Î¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤¿ºÇ¸å¤Î FreeBSD ¤Ï FreeBSD 2.1.7 ¤Ç¤·¤¿¡£2.2 ¤ò´Þ¤à¤è¤ê¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤Ï¿·µ¬¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ËºÇÄã 5MB ¤ÏɬÍפˤʤê¤Þ¤¹¡£

¤¿¤À¤·¡¢¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à¤¬ 4MB ¤Ç¤ÏÆ°ºî¤·¤Ê¤¤¤À¤±¤Ç¡¢ 3.0 ¤ò´Þ¤à FreeBSD ¤Î¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï 4MB ¤Î RAM ¤ÇÆ°ºî²Äǽ¤Ç¤¹¡£ ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë»þ¤À¤±¤µ¤é¤Ë 4MB Äɲ䷤Ƥª¤­¡¢ ¥·¥¹¥Æ¥à¤¬¥»¥Ã¥È¥¢¥Ã¥×¤µ¤ì¤ÆÆ°ºî¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¸å¡¢ ¤Þ¤¿ 4MB ¤ò¼è¤ê½Ð¤·¤Æ¸µ¤ËÌ᤹¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¤¢¤ë¤¤¤Ï 4MB ¤è¤ê¿¤¯¥á¥â¥ê¤òÅëºÜ¤·¤¿¥·¥¹¥Æ¥à¤Ë¥Ç¥£¥¹¥¯¤ò»ý¤Ã¤Æ¤¤¤­¡¢ ¤½¤Î¥Þ¥·¥ó¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¸å¤Ë¥Ç¥£¥¹¥¯¤òÌ᤹¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¤Þ¤¿¡¢FreeBSD 2.1.7 ¤Ç¤¢¤Ã¤Æ¤â¡¢4MB ¤Ç¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£ Àµ³Î¤Ë¤Ï¡¢640KB ¤Î¥Ù¡¼¥¹¥á¥â¥ê + 3MB ¤Î³ÈÄ¥¥á¥â¥ê¤Ç¤Ï¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤â¤·¥Þ¥·¥ó¤Î¥Þ¥¶¡¼¥Ü¡¼¥É¤¬ 640KB ¤«¤é 1MB ¤ÎÎΰè¤Ç¡Ö¼º¤ï¤ì¤¿¡×¥á¥â¥ê¤òºÆ¥Þ¥Ã¥×¤Ç¤­¤ë¾ì¹ç¤Ï¡¢ FreeBSD 2.1.7 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£

BIOS ¤Î¥»¥Ã¥È¥¢¥Ã¥×²èÌ̤ǡ¢“remap” ¤Î¥ª¥×¥·¥ç¥ó¤òõ¤·¤ÆÍ­¸ú (enable) ¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢ROM shadowing ¤ò̵¸ú (disable) ¤Ë¤¹¤ëɬÍפ⤢¤ê¤Þ¤¹¡£

´Êñ¤Ê¤ä¤êÊý¤È¤·¤Æ¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë»þ¤À¤±¤¢¤È 4MB Äɲ䷤Ƥª¤¯ÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ ɬÍפʥª¥×¥·¥ç¥ó¤À¤±¤òÁªÂò¤·¤Æ¥«¥¹¥¿¥à¥«¡¼¥Í¥ë¤ò¹½ÃÛ¤·¡¢ ¤Þ¤¿ 4MB ¤ò¼è¤ê½Ð¤·¤Æ¤â¤È¤ËÌ᤻¤Ð¤¤¤¤¤Î¤Ç¤¹¡£

¤Þ¤¿¡¢2.0.5 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢ ¤½¤ì¤«¤é 2.1.7 ¤Î¥¤¥ó¥¹¥È¡¼¥é¤Î “upgrade” ¥ª¥×¥·¥ç¥ó¤Ç¥·¥¹¥Æ¥à¤ò 2.1.7 ¤Ø¥¢¥Ã¥×¥°¥ì¡¼¥É ¤¹¤ë¤È¤¤¤¦¤ä¤êÊý¤â¤¢¤ê¤Þ¤¹¡£

¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¢¤È¤Ç¥«¥¹¥¿¥à¥«¡¼¥Í¥ë¤Î¹½ÃÛ¤ò¤·¤¿¾ì¹ç¤Ë¤Ï¡¢ 4MB ¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£ 2MB ¤Çµ¯Æ°¤ËÀ®¸ù¤·¤¿¿Í¤â¤¤¤Þ¤¹ (¤Ç¤â¤½¤Î¥·¥¹¥Æ¥à¤Ï¡¢ ¤Û¤È¤ó¤É»È¤¤¤â¤Î¤Ë¤Ê¤ê¤Þ¤»¤ó¤Ç¤·¤¿ :-))¡£

1.6. ¼«Ê¬ÍѤΥ¤¥ó¥¹¥È¡¼¥ë¥Õ¥í¥Ã¥Ô¡¼¤òºî¤ë¤Ë¤Ï?

¸½ºß¤Ï¥«¥¹¥¿¥à¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¡Ö¤À¤±¡×¤òºî¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¥«¥¹¥¿¥à¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¥¤¥á¡¼¥¸¤ò´Þ¤à¡¢ release ´Ä¶­Á´ÂΤò¿·¤¿¤Ëºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥«¥¹¥¿¥à¤Î release ´Ä¶­¤ò¤Ä¤¯¤ë¤Ë¤Ï¡¢ ¤³¤³¤Î»Ø¼¨¤Ë¤·¤¿¤¬¤Ã¤Æ¤¯¤À¤µ¤¤¡£

1.7. Ʊ¤¸¥Þ¥·¥ó¤Ç Windows 95/98 ¤È¶¦Â¸¤Ç¤­¤Þ¤¹¤«?

¤Þ¤º Windows 95/98 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤«¤é¡¢¤½¤Î¤¢¤È¤Ç FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£FreeBSD ¤Î¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤¬ Win95 ¤È FreeBSD ¤Î¥Ö¡¼¥È´ÉÍý¤ò¤·¤Æ¤¯¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ Windows 95/98 ¤ò¸å¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ï¤Ò¤É¤¤¤³¤È¤Ë¡¢ Ì䤤¹ç¤ï¤»¤ë¤³¤È¤â¤Ê¤¯¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ò¾å½ñ¤­¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¤½¤¦¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¾ì¹ç¤Ï¼¡¤ÎÀá¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

1.8. Windows 95/98 ¤¬¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤òÄÙ¤·¤Á¤ã¤Ã¤¿! ¤É¤¦¤ä¤Ã¤ÆÌ᤹¤Î?

¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ÎºÆ¥¤¥ó¥¹¥È¡¼¥ë¤ÎÊýË¡¤È¤·¤Æ¡¢ FreeBSD ¤Ç¤Ï°Ê²¼¤Ë¼¨¤¹»°Ä̤ê¤ÎÊýË¡¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

  • DOS ¤òµ¯Æ°¤·¡¢FreeBSD ¤ÎÇÛÉÛʪ¤ÎÃæ¤Ë¤¢¤ë tools/ ¥Ç¥£¥ì¥¯¥È¥ê¤Ø°ÜÆ°¤·¡¢ bootinst.exe ¤òõ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤·¤Æ¼¡¤Î¤è¤¦¤Ë¼Â¹Ô¤·¤Þ¤¹¡£

    ...\TOOLS> bootinst.exe boot.bin
    

    ¤³¤¦¤¹¤ë¤³¤È¤Ç¡¢ ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤¬ºÆ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

  • FreeBSD ¤Î¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤«¤éµ¯Æ°¤·¡¢ ¡Ö¥«¥¹¥¿¥à¡×¥¤¥ó¥¹¥È¡¼¥ë¥á¥Ë¥å¡¼¤òÁªÂò¤·¡¢ ³¤¤¤Æ¡Ö¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¡×¤òÁªÂò¤·¤Þ¤¹¡£ ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤¿¥É¥é¥¤¥Ö (¿ʬºÇ½é¤Î¤â¤Î) ¤òÁªÂò¤·¡¢ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¨¥Ç¥£¥¿¤Ë¤¿¤É¤êÃ夤¤¿¤é¡¢ (²¿¤âÊѹ¹¤»¤º) ¤½¤Î¤Þ¤Þ (W)rite ¤ò»ØÄꤷ¤Þ¤¹¡£ ³Îǧ¤Î¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Þ¤¹¤Î¤Ç¡Ö¤Ï¤¤(Y)¡×¤ÈÅú¤¨¡¢ ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ãÁªÂò¤Î²èÌÌ¤Ç³Î¼Â¤Ë “Boot Manager” ¤òÁªÂò¤·¤Þ¤¹¡£ ¤³¤ì¤Ç¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤¬¥Ç¥£¥¹¥¯¤ËºÆ¤Ó½ñ¤­¹þ¤Þ¤ì¤Þ¤¹¡£ ¥¤¥ó¥¹¥È¡¼¥ë¥á¥Ë¥å¡¼¤«¤éÈ´¤±¤ÆºÆµ¯Æ°¤¹¤ë¤È¡¢ ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ï¸µÄ̤ê¤Ë¤Ê¤ê¤Þ¤¹¡£

  • FreeBSD µ¯Æ°¥Õ¥í¥Ã¥Ô¡¼ (¤â¤·¤¯¤Ï CD-ROM) ¤«¤éµ¯Æ°¤·¡¢ “Fixit” ¥á¥Ë¥å¡¼¤òÁªÂò¤·¤Þ¤¹¡£ Fixit ¥Õ¥í¥Ã¥Ô¡¼¤« CD-ROM #2 (“live” ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥ª¥×¥·¥ç¥ó) ¤Î¹¥¤­¤ÊÊý¤òÁªÂò¤·¤Æ fixit ¥·¥§¥ë¤ËÆþ¤ê¤Þ¤¹¡£ ¤½¤·¤Æ¡¢¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

    Fixit# fdisk -B -b /boot/boot0 µ¯Æ°¥Ç¥Ð¥¤¥¹
    

    µ¯Æ°¥Ç¥Ð¥¤¥¹ ¤ÎÉôʬ¤Ï¡¢¤¿¤È¤¨¤Ð ad0 (°ìÈÖÌܤΠIDE ¥Ç¥£¥¹¥¯)¡¢ ad4 (¥»¥«¥ó¥À¥ê IDE ¥³¥ó¥È¥í¡¼¥é¤Î°ìÈÖÌܤΠIDE ¥Ç¥£¥¹¥¯)¡¢ da0 (°ìÈÖÌܤΠSCSI ¥Ç¥£¥¹¥¯) ¤Ê¤É¤È¤¤¤Ã¤¿¡¢¼ÂºÝ¤Îµ¯Æ°¥Ç¥Ð¥¤¥¹¤òɽ¤·¤Æ¤¤¤Þ¤¹¡£

1.9. IBM Thinkpad ¤Î A¡¢T¡¢X ¥·¥ê¡¼¥º¤Î¤¤¤º¤ì¤«¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤éµ¯Æ°¤·¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Ç¤¹¤«?

¤³¤ì¤é¤Î¥Þ¥·¥ó¤Ë»È¤ï¤ì¤Æ¤¤¤ë½é´ü¤Î¥ê¥Ó¥¸¥ç¥ó¤Î IBM BIOS ¤Ë¤Ï¥Ð¥°¤¬¤¢¤ê¡¢FreeBSD ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Ç¥£¥¹¥¯¥µ¥¹¥Ú¥ó¥ÉÍѤΠFAT Îΰè¤À¤È¸íǧ¤·¤Þ¤¹¡£ ¤½¤Î¤¿¤á¡¢BIOS ¤¬ FreeBSD ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò ¸¡½Ð¤·¤¿¤È¤³¤í¤Ç¥·¥¹¥Æ¥à¤¬¥Ï¥ó¥° (Ää»ß) ¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

IBM [1] ¤Ë¤è¤ì¤Ð¡¢°Ê²¼¤Î¥â¥Ç¥ë/BIOS ¥ê¥ê¡¼¥¹ÈÖ¹æ¤Ë¤Ï½¤Àµ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

¥â¥Ç¥ë BIOS ¥ê¥Ó¥¸¥ç¥óÈÖ¹æ
T20 IYET49WW °Ê¹ß
T21 KZET22WW °Ê¹ß
A20p IVET62WW °Ê¹ß
A20m IWET54WW °Ê¹ß
A21p KYET27WW °Ê¹ß
A21m KXET24WW °Ê¹ß
A21e KUET30WW

¤½¤ì¤è¤ê¿·¤·¤¤¥ê¥Ó¥¸¥ç¥ó¤Î BIOS ¤Ë¤Þ¤¿¥Ð¥°¤¬Æþ¤ê¹þ¤ó¤À¤« ¤â¤·¤ì¤Ê¤¤¤È¤¤¤¦Êó¹ð¤¬¤¢¤ê¤Þ¤·¤¿¡£Jacques Vidrine ¤Ï ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë¤¢¤Æ¤¿ ¥á¥Ã¥»¡¼¥¸ ¤Ç¡¢¤³¤ì°Ê¹ß¤Î IBM ¤Î laptop ¤Ç FreeBSD ¤¬Àµ¾ï¤Ëµ¯Æ°¤·¤Ê¤¤ ¾ì¹ç¤Ë¤ª¤½¤é¤¯¤¦¤Þ¤¯¹Ô¤¯¡¢BIOS ¤ò¥¢¥Ã¥×¥°¥ì¡¼¥É¤Þ¤¿¤Ï ¥À¥¦¥ó¥°¥ì¡¼¥É¤Ç¤­¤ë¼ê½ç¤òÀâÌÀ¤·¤Æ¤¤¤Þ¤¹¡£

¤â¤·ÌäÂê¤Î¤¢¤ë BIOS ¤ò»È¤Ã¤Æ¤¤¤Æ¥¢¥Ã¥×¥°¥ì¡¼¥É¤¬Áª¤Ù¤Ê¤¤¾ì¹ç¡¢ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤«¤é FreeBSD ¤¬»È¤Ã¤Æ¤¤¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó ID ¤òÊѹ¹¤·¡¢ Êѹ¹¤µ¤ì¤¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó ID ¤òÀµ¤·¤¯°·¤¦¤³¤È¤Î¤Ç¤­¤ë ¿·¤·¤¤µ¯Æ°¥Ö¥í¥Ã¥¯¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤Ç²ò·è¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤½¤ì¤Ë¤Ï¤Þ¤º¡¢ ¥»¥ë¥Õ¥Æ¥¹¥È²èÌ̤òÄ̲᤹¤ë¾õÂ֤ˤޤǥޥ·¥ó¤ò²óÉü¤µ¤»¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤½¤Î¤¿¤á¤Ë¤Ï¡¢¥Þ¥·¥ó¤¬¥×¥é¥¤¥Þ¥ê¥Ç¥£¥¹¥¯¤«¤é FreeBSD ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¸«¤Ä¤±¤Ê¤¤¤è¤¦¤Ë¤·¤Æµ¯Æ°¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤¿¤È¤¨¤Ð¡¢°ìÅ٥ϡ¼¥É¥Ç¥£¥¹¥¯¤ò³°¤·¤Æ¤·¤Þ¤Ã¤Æ¡¢¤½¤Î¥Ç¥£¥¹¥¯¤ò¸Å¤¤ ThinkPad (ThinkPad 600 ¤Ê¤É) ¤ä¥Ç¥¹¥¯¥È¥Ã¥× PC ¤ËŬÀÚ¤ÊÊÑ´¹¥±¡¼¥Ö¥ë¤ÇÀܳ¤·¤Þ¤¹¡£ ¤½¤Î¸å FreeBSD ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤·¡¢ ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤ò¸µ¤Î ThinkPad ¤ËÌᤷ¤Þ¤¹¡£ ¤³¤¦¤¹¤ë¤³¤È¤Ç ThinkPad ¤Ïµ¯Æ°²Äǽ¤Ê¾õÂÖ¤ËÌá¤ë¤Ï¤º¤Ç¤¹¡£

¥Þ¥·¥ó¤¬¤Á¤ã¤ó¤ÈÆ°¤¯¤è¤¦¤Ë¤Ê¤Ã¤¿¤é¡¢ °Ê²¼¤ÎÉüµì¼ê½ç¤Ë½¾¤Ã¤Æ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

  1. http://people.freebsd.org/~bmah/ThinkPad/ ¤«¤é boot1 ¤È boot2 ¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢ ¤¢¤È¤ÇɬÍפˤʤä¿»þ¡¢¼è¤ê½Ð¤»¤ë¾ì½ê¤ËÃÖ¤¤¤Æ¤ª¤­¤Þ¤¹¡£

  2. ThinkPad ¤ËÉáÄÌ¤Ë FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£ ¤¿¤À¤·¡¢Dangerously Dedicated ¥â¡¼¥É¤ò»È¤Ã¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ ¤Þ¤¿¡¢¥¤¥ó¥¹¥È¡¼¥ë¤¬½ª¤ï¤Ã¤Æ¤âºÆµ¯Æ°¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

  3. “¶ÛµÞ¥Û¥í¥°¥é¥Õ¥£¥Ã¥¯¥·¥§¥ë (Emergency Holographic Shell)” (ALT-F4) ¤ËÀÚ¤êÂؤ¨¤ë¤«¡¢“fixit” ¥·¥§¥ë¤òµ¯Æ°¤·¤Þ¤¹¡£

  4. fdisk(8) ¤ò»È¤Ã¤Æ FreeBSD ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó ID ¤ò 165 ¤«¤é 166 ¤Ë Êѹ¹¤·¤Þ¤¹ (¤³¤ì¤Ï OpenBSD ¤Ç»È¤ï¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹)¡£

  5. boot1 ¤È boot2 ¤Î¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë»ý¤Ã¤ÆÍè¤Þ¤¹¡£

  6. disklabel(8) ¤ò»È¤Ã¤Æ boot1 ¤È boot2 ¤ò FreeBSD ¤Î¥¹¥é¥¤¥¹¤Ë½ñ¤­¹þ¤ß¤Þ¤¹¡£

    # disklabel -B -b boot1 -s boot2 ad0sn
    

    n ¤Ï¡¢ ¤¢¤Ê¤¿¤¬ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥¹¥é¥¤¥¹¤ÎÈÖ¹æ¤Ç¤¹¡£

  7. ºÆµ¯Æ°¤·¤Þ¤¹¡£µ¯Æ°¥×¥í¥ó¥×¥È¤Ï OpenBSD ¤È¼¨¤·¤Þ¤¹¤¬¡¢¼ÂºÝ¤Ë¤Ï¡¢¤½¤ì¤Ç FreeBSD ¤¬µ¯Æ°¤·¤Þ¤¹¡£

¤³¤ÎÊýË¡¤Ç FreeBSD ¤È OpenBSD ¤ò¥Ç¥å¥¢¥ë¥Ö¡¼¥È¤¹¤ëÊýË¡¤Ï¡¢ÆɼԤؤÎÎý½¬ÌäÂê¤È¤·¤Þ¤·¤ç¤¦¡£

1.10. ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Î¤¢¤ë¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¤«?

FreeBSD 3.0 °ÊÁ°¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ ÉÔÎÉ¥Ö¥í¥Ã¥¯¤ò¼«Æ°Åª¤ËºÆ¥Þ¥Ã¥Ô¥ó¥°¤¹¤ë bad144 ¤È¤¤¤¦¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¤¬¡¢ ¸½ºß¤Î IDE ¥É¥é¥¤¥Ö¤Ï¥É¥é¥¤¥Ö¼«¿È¤¬¤³¤Îµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤ë¤¿¤á¡¢ bad144 ¤Ï FreeBSD ¥½¡¼¥¹¥Ä¥ê¡¼¤«¤éºï½ü¤µ¤ì¤Þ¤·¤¿¡£ FreeBSD 3.0 ¤«¤½¤ì°Ê¹ß¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¤¤È»×¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢ Èæ³ÓŪ¿·¤·¤¤¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤ò¹ØÆþ¤¹¤ë¤³¤È¤ò¶¯¤¯¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¿·¤·¤¤¥É¥é¥¤¥Ö¤ò¹ØÆþ¤¹¤ëµ¤¤¬¤Ê¤±¤ì¤Ð¡¢FreeBSD 2.x ¤òÍøÍѤ¹¤ë¤Ù¤­¤Ç¤¹¡£

¸½ºß¤Î IDE ¥É¥é¥¤¥Ö¤ÇÉÔÎÉ¥Ö¥í¥Ã¥¯¤Ë¤è¤ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢ ¤Þ¤â¤Ê¤¯¥É¥é¥¤¥Ö¤¬¸Î¾ã¤¹¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹ (¤½¤ì¤Ï¤½¤Î¥É¥é¥¤¥ÖÆ⢤κƥޥåԥ󥰵¡Ç½¤Ç¤Ï ÉÔÎÉ¥Ö¥í¥Ã¥¯¤¬½¤Àµ¤Ç¤­¤Ê¤¯¤Ê¤Ã¤¿¤È¤¤¤¦¤³¤È¤Ç¤¢¤ê¡¢ ¥Ç¥£¥¹¥¯¤¬¤Ò¤É¤¯²õ¤ì¤Æ¤¤¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹)¡£ ¿·¤·¤¤¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ë¸ò´¹¤·¤Þ¤·¤ç¤¦¡£

ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Î¤¢¤ë SCSI ¥É¥é¥¤¥Ö¤Î¾ì¹ç¤Ï¡¢ ¤³¤Î²óÅú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

1.11. ¥¤¥ó¥¹¥È¡¼¥é¤«¤éµ¯Æ°¤·¤¿¤éÊѤʤ³¤È¤Ë¤Ê¤ê¤Þ¤·¤¿!

¥¤¥ó¥¹¥È¡¼¥é¤«¤éµ¯Æ°¤·¤è¤¦¤È¤·¤¿¤È¤­¤Ë¡¢¥Þ¥·¥ó¤¬¸Ç¤Þ¤Ã¤Æ¤· ¤Þ¤¦¤È¤«¼«Á³¤ÈºÆµ¯Æ°¤·¤Æ¤·¤Þ¤¦¤È¤¤¤Ã¤¿¸½¾Ý¤Ç¤¢¤ì¤Ð¡¢ ¼¡¤Î»°¤Ä¤Î¹àÌܤò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

  1. ¿·ÉʤΡ¢¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤¿¤Æ¤Î¡¢ ¥¨¥é¡¼¤Î¤Ê¤¤¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¤«? (»°Ç¯´Ö¤â¥Ù¥Ã¥É¤Î²¼¤ËÊüÃÖ¤µ¤ì¤Æ¤¤¤¿»¨»ï¤ÎÉÕÏ¿¤ß¤¿¤¤¤Ê¤ä¤Ä¤Ç¤Ï¤Ê¤¯¤Æ¡¢ Çã¤Ã¤Æ¤­¤¿¤Ð¤«¤ê¤Î¿·Éʤò»È¤Ã¤Æ¤¯¤À¤µ¤¤)

  2. ¥Õ¥í¥Ã¥Ô¡¼¥¤¥á¡¼¥¸¤ò¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤Ç¥À¥¦¥ó¥í¡¼¥É¤·¤Þ¤·¤¿¤«? (º¤¤Ã¤¿´é¤ò¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£»ä¤¿¤Á¤ÎÃæ¤Ç°ìÈÖÍ¥½¨¤Ê¿Í¤Ç¤µ¤¨¡¢ ¾¯¤Ê¤¯¤È¤â°ì²ó¤Ï¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤ò ASCII ¥â¡¼¥É¤Ç»×¤¤¤¬¤±¤º¥À¥¦¥ó¥í¡¼¥É¤·¤¿¤³¤È¤¬¤¢¤ë¤Î¤Ç¤¹!)

  3. Windows95 ¤¢¤ë¤¤¤Ï Windows98 ¤ò»ÈÍѤ·¤Æ¤¤¤ë¤Ê¤é¡¢ ¤¢¤ê¤Î¤Þ¤Þ¤ÎËÜʪ¤Î DOS ¤Ç fdimage ¤« rawrite ¤ò¼Â¹Ô¤·¤Þ¤·¤¿¤«? ¤³¤ì¤é¤Î OS ¤Ï¥Ç¥£¥¹¥¯ºîÀ®¥×¥í¥°¥é¥à¤Î¤è¤¦¤Ê¡¢ ¥Ï¡¼¥É¥¦¥§¥¢¤ËľÀܽñ¤­¹þ¤ß¤ò¹Ô¤Ê¤¦¥×¥í¥°¥é¥à¤Ë´³¾Ä¤¹¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ GUI ¤ÎÃæ¤Î DOS ¥·¥§¥ëÆâÉô¤ÇÆ°ºî¤·¤Æ¤¤¤ë¾ì¹ç¤Ç¤â¡¢ ¤³¤ÎÌäÂê¤ÏȯÀ¸¤·¤Þ¤¹¡£

¤Þ¤¿¡¢Netscape ¤Ç¥Ö¡¼¥È¥¤¥á¡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¾ì¹ç¤âÌäÂ꤬¤¢¤ë¤³¤È¤¬Êó¹ð¤µ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¤Ç¤­¤ì¤ÐÊ̤ΠFTP ¥¯¥é¥¤¥¢¥ó¥È¤ò»È¤¦¤Î¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£

1.12. ATAPI CD-ROM ¤«¤éµ¯Æ°¤·¤¿¤Î¤Ç¤¹¤¬¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à¤Ï CD-ROM ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤È¸À¤Ã¤Æ¤­¤Þ¤¹¡£ CD-ROM ¤Ï¤É¤³¤Ë¹Ô¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¤«?

¤³¤ÎÌäÂê¤ÏÄ̾CD-ROM ¥É¥é¥¤¥Ö¤ÎÀßÄê¥ß¥¹¤Ë¤è¤Ã¤ÆȯÀ¸¤·¤Þ¤¹¡£ ÂçÉôʬ¤Î PC ¤Î CD-ROM ¥É¥é¥¤¥Ö¤Ï¡¢ ¥»¥«¥ó¥À¥ê¦¤Î IDE ¥³¥ó¥È¥í¡¼¥é¤Î¥¹¥ì¡¼¥Ö¥Ç¥Ð¥¤¥¹¤È¤·¤ÆÀܳ¤µ¤ì¡¢ ¥Þ¥¹¥¿¥Ç¥Ð¥¤¥¹¤¬¤Ê¤¤¾õÂ֤ǽв٤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎÀܳÊýË¡¤Ï ATAPI µ¬³Ê°ãÈ¿¤Ê¤Î¤Ç¡¢ Windows ¤Ïµ¬³Ê¤É¤ª¤ê¤ËÆ°¤¤¤¿¤ê¡¢Æ°¤«¤Ê¤«¤Ã¤¿¤ê¤·¤Þ¤¹¤¬¡¢ BIOS ¤Ïµ¯Æ°»þ¤Ëµ¬³Ê°ãÈ¿¤ò̵»ë¤·¤Þ¤¹¡£ ¤½¤Î¤¿¤á BIOS ¤Ïµ¯Æ°»þ¤Ë CD-ROM ¤ò¸«¤Ä¤±¤é¤ì¤Þ¤¹¤¬¡¢ FreeBSD ¤Ï CD-ROM ¤ò¸«¤Ä¤±¤é¤ì¤º¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤ò´°Î»¤Ç¤­¤Ê¤¤¤Î¤Ç¤¹¡£

CD-ROM ¤¬ Àܳ¤µ¤ì¤Æ¤¤¤ë IDE ¥³¥ó¥È¥í¡¼¥é¤Î¥Þ¥¹¥¿¥Ç¥Ð¥¤¥¹¤È¤Ê¤ë¤è¤¦¤ËÀßÄꤹ¤ë¤«¡¢ ¤â¤·¤¯¤Ï¥Þ¥¹¥¿¡¢ ¥¹¥ì¡¼¥Ö¤ÎξÊý¤Ë¥Ç¥Ð¥¤¥¹¤¬Àܳ¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¥·¥¹¥Æ¥à¤òºÆ¹½À®¤·¤Æ¤¯¤À¤µ¤¤¡£

1.13. ¤¢¤ì¤ì? ¥Æ¡¼¥×¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤»¤ó!

FreeBSD 2.1.7R ¤ò¥Æ¡¼¥×¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¡¢ tar ¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤ò 10 (5120 ¥Ð¥¤¥È) ¤Ë¤·¤¿¥Æ¡¼¥×¤òºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È ¤Î tar ¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤Ï 20 (10240 ¥Ð¥¤¥È) ¤Ç¡¢ ¤³¤Î¥Ç¥Õ¥©¥ë¥È¥µ¥¤¥º¤Çºî¤é¤ì¤¿¥Æ¡¼¥×¤Ç¤Ï FreeBSD 2.1.7R ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ ¤â¤·¤³¤¦¤·¤¿¥Æ¡¼¥×¤ò»È¤¦¤È¡¢ ¥ì¥³¡¼¥É¥µ¥¤¥º¤¬Â礭¤¹¤®¤ë¤È¤¤¤¦¥¨¥é¡¼¤¬µ¯¤­¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

1.14. PLIP ·Ðͳ¤ÇÆó¤Ä FreeBSD box ¤òÀܳ¤·¤¿¤¤¤Î¤Ç¤¹¤¬

Laplink ¥Ñ¥é¥ì¥ë¥±¡¼¥Ö¥ë¤òÍÑ°Õ¤·¤Æ¡¢ ξÊý¤Î PC ¤Î¥«¡¼¥Í¥ë¤Ë lpt ¥É¥é¥¤¥Ð¤¬ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

% dmesg | grep lp
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface

¥Ñ¥é¥ì¥ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë Laplink ¥Ñ¥é¥ì¥ë¥±¡¼¥Ö¥ë¤òÀܳ¤·¤Þ¤¹¡£

root ¤Ë¤Ê¤Ã¤Æ¡¢Î¾Êý¤Ç lp0 ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¥Õ¥§¡¼¥¹¥Ñ¥é¥á¡¼¥¿¤òÀßÄꤷ¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢¥Û¥¹¥È max ¤È moritz ¤òÀܳ¤·¤¿¤¤¾ì¹ç¡¢

                max <-----> moritz
IP Address      10.0.0.1        10.0.0.2

max ¦¤Ç¼¡¤Î¤è¤¦¤Ë¤·¤Æ¡¢

# ifconfig lp0 10.0.0.1 10.0.0.2

moritz ¦¤ÇƱÍͤ˼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# ifconfig lp0 10.0.0.2 10.0.0.1

°Ê¾å¤Ç¤¹! lp(4) ¤È lpt(4) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¤Þ¤¿¡¢ /etc/hosts ¤Ë¥Û¥¹¥È¤ÎÄɲä⤷¤Þ¤·¤ç¤¦¡£

127.0.0.1               localhost.my.domain localhost
10.0.0.1                max.my.domain max
10.0.0.2                moritz.my.domain moritz

Æ°ºî³Îǧ¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

max ¦:

% ifconfig lp0
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000
% netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
moritz              max              UH          4   127592       lp0
% ping -c 4 moritz
PING moritz (10.0.0.2): 56 data bytes
64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms
64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=2.556 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=2.714 ms

--- moritz ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms

1.15. ¥é¥Ã¥×¥È¥Ã¥× PC ¤Ë PLIP ·Ðͳ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¤«?

¼¡¤Î¤è¤¦¤Ë¤·¤Æ¡¢Æó¤Ä¤Î¥³¥ó¥Ô¥å¡¼¥¿¤ò Laplink ¥Ñ¥é¥ì¥ë¥±¡¼¥Ö¥ë¤ÇÀܳ¤·¤Æ¤¯¤À¤µ¤¤¡£

表 1-1. ¥Í¥Ã¥È¥ï¡¼¥¯ÀܳÍѤΥѥé¥ì¥ë¥±¡¼¥Ö¥ë¤Î·ëÀþ

A-name A ¦ B ¦ ÀâÌÀ ¥Ý¡¼¥È / ¥Ó¥Ã¥È

DATA0
-ERROR

2
15

15
2

Data

0/0x01
1/0x08

DATA1
+SLCT

3
13

13
3

Data

0/0x02
1/0x10

DATA2
+PE

4
12

12
4

Data

0/0x04
1/0x20

DATA3
-ACK

5
10

10
5

Strobe

0/0x08
1/0x40

DATA4
BUSY

6
11

11
6

Data

0/0x10
1/0x80

GND 18-25 18-25 GND -

¤Þ¤¿¡¢ Mobile Computing ¤Ë¤Ä¤¤¤Æ¤Î¥Ú¡¼¥¸¤â¤´Í÷¤¯¤À¤µ¤¤¡£

1.16. ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ë¤Ï¡¢ ¤É¤Î¥¸¥ª¥á¥È¥ê¤ò»È¤¦¤Ù¤­¤Ç¤·¤ç¤¦¤«?

注意: ¤³¤³¤Ç¥Ç¥£¥¹¥¯¤Î¡Ö¥¸¥ª¥á¥È¥ê¡×¤È¤Ï¡¢¥Ç¥£¥¹¥¯¤Î¥·¥ê¥ó¥À¡¢¥Ø¥Ã¥À¡¢ ¥È¥é¥Ã¥¯Åö¤ê¤Î¥»¥¯¥¿¤Î¿ô¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹ - Êص¹¾å¡¢ C/H/S ¤È¤¹¤ë¤³¤È¤Ë¤·¤Þ¤¹¡£¤³¤ì¤Ï¥Ç¥£¥¹¥¯¤Î¤É¤ÎÎΰè¤ÇÆɤ߽ñ¤­¤ò ¹Ô¤Ê¤¦¤«¤ò PC ¤Î BIOS ¤¬·èÄꤹ¤ë¼êÃʤȤʤê¤Þ¤¹¡£



¤³¤ì¤Ë¤Ä¤¤¤Æ¤Ï¤¢¤ëÍýͳ¤Î¤¿¤á¤Ë¡¢¸í²ò¤µ¤ì¤Æ¤¤¤ëÅÀ¤¬Â¿¤¤¤è¤¦¤Ç¤¹¡£ ¤Þ¤ººÇ½é¤Ë¡¢FreeBSD ¤Ï¥Ç¥£¥¹¥¯¥Ö¥í¥Ã¥¯¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤¿¤á¡¢ SCSI ¥É¥é¥¤¥Ö¤Î “ʪÍýŪ” ¤Ê¥¸¥ª¥á¥È¥ê¤È¤¤¤¦¸À¤¤Êý¤Ï¡¢ ¤Þ¤Ã¤¿¤¯¸«Åö°ã¤¤¤Î¤â¤Î¤Ç¤¹¡£»ö¼Â¡¢ ¥»¥¯¥¿¤ÎÌ©Å٤ϥǥ£¥¹¥¯¤Ë¤è¤Ã¤Æ¤Þ¤Á¤Þ¤Á¤Ç¤¢¤ë¤¿¤á¡¢ ʪÍýŪ¤Ê¥¸¥ª¥á¥È¥ê¤È¤¤¤¦¤â¤Î¤Ï¸ºß¤·¤Þ¤»¤ó¡£ À½Â¤¼Ô¤¬ “ËÜÅö¤Î” ʪÍýŪ¤Ê¥¸¥ª¥á¥È¥ê¤È¸øɽ¤·¤Æ¤¤¤ë¤â¤Î¤ÏÄ̾ Èà¤é¤¬¸¡ºº¤·¤ÆÆÀ¤¿ºÇ¾®¤Î»ÈÍÑÉÔ²ÄÍÆÎ̤ηë²Ì¤Î¥¸¥ª¥á¥È¥ê¤Î¤³¤È¤Ç¤¹¡£ IDE ¤Î¾ì¹ç¡¢FreeBSD ¤Ï C/H/S ¤ÇÆ°ºî¤·¤Þ¤¹¤¬¡¢ ºÇ¶á¤Î¥É¥é¥¤¥Ö¤Ï¤¹¤Ù¤Æ¡¢¤³¤ì¤òÆâÉô¤Ç»²¾È¤¹¤ë¥Ö¥í¥Ã¥¯¤ËÊÑ´¹¤·¤Æ¤¤¤Þ¤¹¡£

ÌäÂê¤Ï¤È¤Ê¤ë¤Î¤ÏÏÀÍýŪ¤Ê¥¸¥ª¥á¥È¥ê¤Ç¤¹¡£ ¤³¤ì¤Ï BIOS ¤¬¤½¤Î¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤¿ºÝ¤Ë¼èÆÀ¤µ¤ì¤ë¤â¤Î¤Ç¤¢¤ê¡¢ ¤½¤Î¸å¤Î¥Ç¥£¥¹¥¯¤Ø¤Î¥¢¥¯¥»¥¹¤Ë»ÈÍѤ·¤Þ¤¹¡£ FreeBSD ¤Ïµ¯Æ°»þ¤Ë BIOS ¤ò»ÈÍѤ¹¤ë¤¿¤á¡¢ ¤³¤ì¤òÀµ¤·¤¯¼èÆÀ¤¹¤ë¤³¤È¤ÏÈó¾ï¤Ë½ÅÍפʤ³¤È¤Ê¤Î¤Ç¤¹¡£ ¼ÂºÝ¤Ë¡¢¥Ç¥£¥¹¥¯¾å¤ËÊ£¿ô¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬¤¢¤ë¾ì¹ç¤Ï¡¢ ¥¸¥ª¥á¥È¥ê¤Ï¤É¤³¤«¤é¤Ç¤âƱ¤¸¤è¤¦¤Ë²ò¼á¤µ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤½¤¦¤·¤Ê¤¤¤È¡¢µ¯Æ°»þ¤Ë¿¼¹ï¤ÊÌäÂ꤬ȯÀ¸¤·¤Þ¤¹¡£

SCSI ¥Ç¥£¥¹¥¯¤Ç¤Ï¡¢ »ÈÍѤ¹¤ë¥¸¥ª¥á¥È¥ê¤Ï¥³¥ó¥È¥í¡¼¥é¤Î³ÈÄ¥ BIOS ¥È¥é¥ó¥¹¥ì¡¼¥·¥ç¥ó (“>1GB ¤Î DOS ¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Î¥µ¥Ý¡¼¥È” ¤È¤â¸Æ¤Ð¤ì¤Þ¤¹) ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë¤è¤ê¤Þ¤¹¡£ ̵¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢N ¥·¥ê¥ó¥À¡¢64 ¥Ø¥Ã¥É¡¢ 32 ¥»¥¯¥¿/¥È¥é¥Ã¥¯¤ò»ÈÍѤ·¤Þ¤¹¤¬¡¢ ¤³¤³¤Ç `N' ¤Ï MB ñ°Ì¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤Ǥ¹¡£ ¤¿¤È¤¨¤Ð¡¢2GB ¥Ç¥£¥¹¥¯¤Ï¸«¤«¤±¾å 2048 ¥·¥ê¥ó¥À¡¢64 ¥Ø¥Ã¥É¡¢ 32 ¥»¥¯¥¿/¥È¥é¥Ã¥¯¤È¤Ê¤ê¤Þ¤¹¡£

¤½¤ì¤¬¡ÖÍ­¸ú¡×¤Ë¤Ê¤Ã¤Æ¤ª¤ê (MS-DOS ¤Ç¤Ï¤³¤ÎÊýË¡¤Ç¡¢¤¢¤ëÀ©¸Â¤ò²óÈò¤¹¤ë¾ì¹ç¤â¤¢¤ê¤Þ¤¹)¡¢ ¥Ç¥£¥¹¥¯ÍÆÎ̤¬ 1GB ¤ò±Û¤¨¤ë¾ì¹ç¤Ï¡¢M ¥·¥ê¥ó¥À¡¢ 63 ¥»¥¯¥¿/¥È¥é¥Ã¥¯ (64 ¡Ö¤Ç¤Ï¤Ê¤¯¡×)¡¢ 255 ¥Ø¥Ã¥É¤ò»ÈÍѤ·¤Þ¤¹¡£ `M' ¤Ï MB ñ°Ì¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤ò 7.844238(!) ¤Ç³ä¤Ã¤¿ÃͤȤʤê¤Þ¤¹¡£ ¤È¤¤¤¦¤³¤È¤Ç¡¢2GB ¥Ç¥£¥¹¥¯¤ÎÎã¤Ç¤Ï¡¢ 261 ¥·¥ê¥ó¥À¡¢63 ¥»¥¯¥¿/¥È¥é¥Ã¥¯¡¢255 ¥Ø¥Ã¥É¤È¤Ê¤ê¤Þ¤¹¡£ (ÌõÃí: °Ê¾å¤Ï Adaptec ¼Ò¤È NCR ¼ÒÀ½¤Î SCSI ¥¢¥À¥×¥¿¤Î¾ì¹ç¤Ç¤¹¡£ SCSI ¥¢¥À¥×¥¿¤Ë¤è¤Ã¤ÆÊÑ´¹¤Î¿ôÃͤ¬ÊѤï¤Ã¤Æ¤¯¤ë¤Î¤Ç¥Þ¥Ë¥å¥¢¥ë¤ò »²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£

¤³¤ì¤Ë¤Ä¤¤¤Æ¤è¤¯Ê¬¤«¤é¤Ê¤¤¾ì¹ç¤ä FreeBSD ¤¬¥¤¥ó¥¹¥È¡¼¥ëÃæ¤ËÀµ¤·¤¯¥¸¥ª¥á¥È¥ê¤ò¼èÆÀ¤Ç¤­¤Ê¤¤¾ì¹ç¡¢ ¤³¤ì¤ò²óÈò¤¹¤ë¤â¤Ã¤È¤â´Êñ¤ÊÊýË¡¤Ï¡¢ ¥Ç¥£¥¹¥¯¤Ë¾®¤µ¤Ê DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºî¤ë¤³¤È¤Ç¤¹¡£ ¤½¤¦¤¹¤ë¤ÈÀµ¤·¤¤¥¸¥ª¥á¥È¥ê¤¬¼èÆÀ¤µ¤ì¤ë¤Ï¤º¤Ç¤¹ (¤½¤·¤Æ¡¢ »Ä¤·¤Æ¤ª¤­¤¿¤¯¤Ê¤¤¤È¤«¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤Î¥×¥í¥°¥é¥ß¥ó¥°ÍѤ˻Ȥ¤¤¿¤¤¾ì¹ç¤Ê¤É¤Ë¤Ï¡¢ ¤¤¤Ä¤Ç¤â¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¨¥Ç¥£¥¿¤Ç DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹)¡£

¤â¤¦°ì¤Ä¤ÎÊýË¡¤È¤·¤Æ¡¢FreeBSD ¤È°ì½ï¤ËÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë¥Õ¥ê¡¼¤Ç»È¤¨¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ë pfdisk.exe (FreeBSD CD-ROM ¤Î tools ¥Ç¥£¥ì¥¯¥È¥ê¤ä¡¢Â¾¤Î¤µ¤Þ¤¶¤Þ¤Ê FTP ¥µ¥¤¥È¤Ë¤¢¤ê¤Þ¤¹)¤È¸Æ¤Ð¤ì¤ë¤â¤Î¤¬¤¢¤ê¡¢ ¥Ç¥£¥¹¥¯¾å¤Î¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬»ÈÍѤ·¤Æ¤¤¤ë ¥¸¥ª¥á¥È¥ê¤òÄ´¤Ù¤ë¤Î¤ËÌòΩ¤Á¤Þ¤¹¡£ ¤³¤Î¥¸¥ª¥á¥È¥ê¾ðÊó¤Ï¡¢ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¨¥Ç¥£¥¿¤ËÆþÎϤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

1.17. ¥Ç¥£¥¹¥¯¤Îʬ³ä¤Î»ÅÊý¤Ç²¿¤«À©¸Â¤Ï¤¢¤ê¤Þ¤¹¤«?

¤Ï¤¤¡£ BIOS ¤¬¥«¡¼¥Í¥ë¤òµ¯Æ°¤Ç¤­¤ë¤è¤¦¤Ë¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬ 1024 ¥·¥ê¥ó¥À°ÊÆâ¤Ë¤¢¤ë¤³¤È¤ò³Îǧ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹ (¤³¤ì¤Ï FreeBSD ¤Ç¤Ï¤Ê¤¯ PC ¤Î BIOS ¤ÎÀ©¸Â¤Ç¤¹)¡£

SCSI ¥É¥é¥¤¥Ö¤Ç¤Ï¡¢Ä̾ï¤Ï¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬ºÇ½é¤Î 1024MB ¤Ë¼ý¤Þ¤Ã¤Æ¤¤¤ë¤³¤È¤¬Á°Äó¤È¤Ê¤ê¤Þ¤¹ (¤Þ¤¿¤Ï³ÈÄ¥ BIOS ¥È¥é¥ó¥¹¥ì¡¼¥·¥ç¥ó¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤ÏºÇ½é¤Î 4096MB - ¾¤Î¼ÁÌä¤ò¤´Í÷¤¯¤À¤µ¤¤)¡£IDE ¤Ç¤½¤ì¤ËÁêÅö¤¹¤ëÃÍ¤Ï 504MB ¤È¤Ê¤ê¤Þ¤¹ (ÌõÃí: E-IDE Âбþ¤Î BIOS ÅëºÜ¥Þ¥·¥ó¤Î¾ì¹ç¤Ï IDE ¤Î 504MB ¤È¤¤¤¦À©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó)¡£

1.18. ÂçÍÆÎ̥ǥ£¥¹¥¯¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¥Ç¥£¥¹¥¯¥Þ¥Í¡¼¥¸¥ã¤Ï»È¤¨¤Þ¤¹¤«?

FreeBSD ¤Ï Ontrack Disk Manager ¤òǧ¼±¤·¡¢¤³¤ì¤ò¹Íθ¤Ë¤¤¤ì¤Þ¤¹¡£ ¾¤Î¥Ç¥£¥¹¥¯¥Þ¥Í¡¼¥¸¥ã¤Ï¥µ¥Ý¡¼¥È¤·¤Þ¤»¤ó¡£

¥Ç¥£¥¹¥¯Á´ÂΤò FreeBSD ¤Ç»È¤¤¤¿¤¤¾ì¹ç¡¢ ¥Ç¥£¥¹¥¯¥Þ¥Í¡¼¥¸¥ã¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£ BIOS ¤¬°·¤¨¤ëÍÆÎÌ (Ä̾ï 504MB) ¤¤¤Ã¤Ñ¤¤¤Ç¥Ç¥£¥¹¥¯¤ÎÀßÄê¤ò¹Ô¤Ê¤¦¤È¡¢ FreeBSD ¤Ï¼ÂºÝ¤ÎÍÆÎ̤ò»»½Ð¤¹¤ë¤Ï¤º¤Ç¤¹¡£ MFM ¥³¥ó¥È¥í¡¼¥éÉÕ¤­¤Î¸Å¤¤¥Ç¥£¥¹¥¯¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ FreeBSD ¤Ë»ÈÍѤ¹¤ë¥·¥ê¥ó¥À¿ô¤ò¾ÜºÙ¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

FreeBSD ¤È¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬Æþ¤Ã¤Æ¤¤¤ë¥Ç¥£¥¹¥¯¤ò»ÈÍѤ·¤¿¤¤¾ì¹ç¤Ï¡¢ ¥Ç¥£¥¹¥¯¥Þ¥Í¡¼¥¸¥ã¤Ê¤·¤Ç¤â¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£ FreeBSD ¤Îµ¯Æ°¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤È¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥àÍѤΥ¹¥é¥¤¥¹¤¬¡¢ ºÇ½é¤Î 1024 ¥·¥ê¥ó¥ÀÆâ¤Ë¼ý¤Þ¤Ã¤Æ¤¤¤ë»ö¤ò³Îǧ¤¹¤ë¤À¤±¤Ç¤¹¡£ µ¤¤Ë¤Ê¤ëÊý¤Ï¡¢µ¯Æ°¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò 20 ¥á¥¬¥Ð¥¤¥È¤°¤é¤¤¤Ë¤·¤ÆÂ礭¤á¤Ë¤¹¤ë¤È¤è¤¤¤Ç¤·¤ç¤¦¡£

1.19. FreeBSD ¤Îµ¯Æ°»þ¤Ë Missing Operating System ¤Èɽ¼¨¤µ¤ì¤Þ¤¹

¤³¤ì¤Ï FreeBSD ¤ä DOS¡¢ ¤½¤Î¤Û¤«¤Î OS ¤¬¥Ç¥£¥¹¥¯Îΰ襸¥ª¥á¥È¥ê ¤Î¤È¤é¤¨Êý¤Ç¾×Æͤ·¤¢¤Ã¤Æ¤¤¤ë¤³¤È¤«¤éµ¯¤³¤ëŵ·¿Åª¤ÊÎã¤Ç¤¹¡£ ¤³¤¦¤Ê¤Ã¤¿¤é FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·Ä¾¤¹°Ê³°¤Ë¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢ ¾¤Î¤È¤³¤í¤ÇÀâÌÀ¤·¤¿¼ê½ç¤Ë¤·¤¿¤¬¤Ã¤Æ¤ä¤ì¤Ð¡¢ ¤Û¤Ü´Ö°ã¤¤¤Ê¤¯¤¦¤Þ¤¯¤¤¤¯¤Ï¤º¤Ç¤¹¡£

1.20. ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤Î F? ¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤Þ¤»¤ó¡£

¤³¤ì¤Ï¤¹¤Ç¤ËÁ°¤Ë¼ÁÌ䤵¤ì¤Æ¤¤¤ëÌäÂê¤Î¤â¤¦°ì¤Ä¤Î¾É¾õ¤Ç¤¹¡£ BIOS ¤Î¥¸¥ª¥á¥È¥ê¤È FreeBSD ¤Î¥¸¥ª¥á¥È¥êÀßÄ꤬°ìÃפ·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹! ¥³¥ó¥È¥í¡¼¥é¤ä BIOS ¤¬¥·¥ê¥ó¥À¤ÎÊÑ´¹ (>1GB ¥É¥é¥¤¥Ö¤Î ¥µ¥Ý¡¼¥È¤È¤â¸Æ¤Ð¤ì¤Þ¤¹) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤¿¤é¡¢ ¤½¤ÎÀßÄê¤ò̵¸ú²½¤·¤Æ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·Ä¾¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

1.21. ¥½¡¼¥¹¤òÁ´Éô¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤¹¤«?

°ìÈÌŪ¤Ë¤Ï¡Ö¤¤¤¤¤¨¡×¤Ç¤¹¡£ ¤·¤«¤·ºÇÄã¤Ç¤â¡¢base ¥½¡¼¥¹¥­¥Ã¥È (¤³¤ì¤Ë¤Ï¤³¤Î FAQ ¤Ç½Ò¤Ù¤é¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Î¤¤¤¯¤Ä¤«¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹) ¤È¡¢ sys (kernel) ¥½¡¼¥¹¥­¥Ã¥È (¤³¤ì¤Ë¤Ï¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹) ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë»ö¤ò¶¯¤¯¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ Ä̾²¿¤«¤Î¼Â¹Ô¤Ë¥½¡¼¥¹¤¬É¬Íפˤʤë»ö¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢¥«¡¼¥Í¥ë¤ò¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤¹¤ë¤¿¤á¤Î¥×¥í¥°¥é¥à config(8) ¤ò¼Â¹Ô¤¹¤ë»þ¤ÏÎã³°¤Ç¤¹¡£ ¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¯¤Æ¤â¤è¤¤Îã¤È¤·¤Æ¡¢ ¤É¤³¤«Ê̤ξì½ê¤«¤é¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¤òÆɤ߹þ¤ßÀìÍÑ¤Ç NFS ¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤Þ¤¿¡¢ ¤½¤³¤«¤é¿·¤·¤¤¥Ð¥¤¥Ê¥ê¤òºîÀ®¤Ç¤­¤ë¤è¤¦¤Ë¤â¤Ê¤Ã¤Æ¤¤¤Þ¤¹ (¥«¡¼¥Í¥ë¥½¡¼¥¹¤ÎÀ©¸Â¤¬¤¢¤ë¤Î¤Ç¡¢Ä¾ÀÜ /usr/src ¤ò¥Þ¥¦¥ó¥È¤¹¤ë»ö¤Ï¤ª¤¹¤¹¤á¤Ç¤­¤Þ¤»¤ó¡£ ¤½¤ì¤è¤ê¤â¤É¤³¤«Ê̤Υǥ£¥ì¥¯¥È¥ê¤Ë¥Þ¥¦¥ó¥È¤·¤Æ¡¢ ¥½¡¼¥¹¥Ä¥ê¡¼¤ÎÊ£À½¤¬¤Ç¤­¤ë¤è¤¦¤ËŬÀڤ˥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÄ¥¤Ã¤Æ¤¯¤À¤µ¤¤)¡£

¥½¡¼¥¹¤ò¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Ë»ý¤Á¡¢ ¤½¤³¤«¤é¥·¥¹¥Æ¥à¤ò¥Ó¥ë¥É¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤±¤Ð¡¢ FreeBSD ¤Î¾­Íè¤Î¥ê¥ê¡¼¥¹¤Ø¤Î¥¢¥Ã¥×¥°¥ì¡¼¥É¤¬¤º¤Ã¤È´Êñ¤Ë¤Ê¤ê¤Þ¤¹¡£

¼ÂºÝ¤Ë¥½¡¼¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤òÁªÂò¤¹¤ë¤Ë¤Ï¡¢ ¥·¥¹¥Æ¥à¥¤¥ó¥¹¥È¡¼¥ë¥Ä¡¼¥ë¤Î¡ÖÇÛÉÛ¥Õ¥¡¥¤¥ë¡×¥á¥Ë¥å¡¼¤Ë¤¢¤ë¡¢ ¡Ö¥«¥¹¥¿¥à¡×¥á¥Ë¥å¡¼¤ò»ÈÍѤ·¤Þ¤¹¡£

1.22. ¥«¡¼¥Í¥ë¤Ïɬ¤ººî¤êľ¤µ¤Ê¤¯¤Á¤ã¤Ê¤é¤Ê¤¤¤ó¤Ç¤¹¤«?

¥«¡¼¥Í¥ë¤ò¿·¤·¤¯ºî¤êľ¤¹¤Î¤Ï¸µ¡¹¡¢ FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ëɬ¿Ü¤Îºî¶È¤Ç¤·¤¿¡£ ¤Ç¤âºÇ¶á¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢ ¤È¤Æ¤â¥æ¡¼¥¶¥Õ¥ì¥ó¥É¥ê¤Ê¥«¡¼¥Í¥ëÀßÄê¥Ä¡¼¥ë¤Î²¸·Ã¤ò¼õ¤±¤Æ¤¤¤Þ¤¹¡£ FreeBSD ¤Îµ¯Æ°¥×¥í¥ó¥×¥È (boot:) ¤Ç -c ¤È¥¿¥¤¥×¤¹¤ì¤Ð¥Ó¥¸¥å¥¢¥ë¤ÊÀßÄê²èÌ̤ˤʤꡢ ¤Û¤È¤ó¤É¤Î°ìÈÌŪ¤Ê ISA ¥«¡¼¥É¤Ë¤Ä¤¤¤Æ¤Î¥«¡¼¥Í¥ë¤ÎÀßÄê¤ò¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤Î¤Ç¤¹¡£

º£¤Ç¤â¡¢ ɬÍפʥǥХ¤¥¹¥É¥é¥¤¥Ð¤À¤±¤òÁȤ߹þ¤ó¤À¥«¡¼¥Í¥ë¤òºî¤ë¤³¤È¤Ï¤è¤¤»ö¤È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤Û¤ó¤Î¤Á¤ç¤Ã¤È¤À¤±¥á¥â¥ê¤òÀáÌó¤Ç¤­¤Þ¤¹¤«¤é¤Í¡£ ¤Ç¤â¤Û¤È¤ó¤É¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ ¤â¤Ï¤ä¤É¤¦¤·¤Æ¤â¤ä¤é¤Ê¤¯¤Á¤ã¤Ê¤é¤Ê¤¤¤³¤È¤Ç¤Ï¤Ê¤¤¤Î¤Ç¤¹¡£

1.23. DES ¤È MD5¡¢¤É¤Á¤é¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»È¤¦¤Ù¤­¤Ê¤Î¤Ç¤·¤ç¤¦¤«? ¤Þ¤¿¡¢¥æ¡¼¥¶¤¬¤É¤Á¤é¤ò»È¤¦¤³¤È¤Ë¤Ê¤ë¤«»ØÄꤹ¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤¹¤«?

FreeBSD ¤Îɸ½à¤Î¥Ñ¥¹¥ï¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï MD5 ¤ò»È¤Ã¤¿¤â¤Î¤Ç¤¹¡£ ¤³¤ì¤Ï DES ¥¢¥ë¥´¥ê¥º¥à¤Ë´ð¤Å¤¤¤¿¼êË¡¤òÍѤ¤¤ë UNIX ¤ÎÅÁÅýŪ¤Ê¥Ñ¥¹¥ï¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤è¤ê°ÂÁ´ (secure) ¤À¤È ¿®¤¸¤é¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£ DES ¥Ñ¥¹¥ï¡¼¥É¤Ï ¤¢¤Ê¤¿¤¬ FreeBSD ¤Î¥Ñ¥¹¥ï¡¼¥É¥Õ¥¡¥¤¥ë¤ò¡¢ °ÂÁ´À­¤ËÎô¤ë¥Ñ¥¹¥ï¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍøÍѤ·¤Æ¤¤¤ë¸Å¤¤ OS ¤È¶¦Í­¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¯¤Ê¤Ã¤¿¤È¤­¤Î¤¿¤á¤Ë ÍøÍѲÄǽ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹ (¤³¤ì¤ÏÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢ sysinstall ¤«¤é “crypto” ÇÛÉÛʪ¤Î¥¤¥ó¥¹¥È¡¼¥ë Áª¤Ö¤«¡¢¥½¡¼¥¹¤«¤é build ¤·¤Æ¤¤¤ë¤Ê¤é¡¢ crypto ¤Î¥½¡¼¥¹¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹)¡£ ¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤Ë¤É¤Á¤é¤Î¥Ñ¥¹¥ï¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤ò»È¤¦¤«¤Ï /etc/login.conf ¤ÎÃæ¤Î “passwd_format” ¤È¤¤¤¦ login ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£¤³¤Î¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤Ï “des” (ÍøÍѤǤ­¤ë¤Ê¤é) ¤« “md5” ¤Î¤É¤Á¤é¤«¤ÎÃͤò¼è¤ê¤Þ¤¹¡£ login ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï login.conf(5) ¤ò »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

1.24. ¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤Çµ¯Æ°¤¹¤ë¤È¡¢ Probing Devices... ¤Î²èÌ̤ǥϥ󥰥¢¥Ã¥×¤·¤Þ¤¹¡£

IDE Zip ¤« Jaz ¥É¥é¥¤¥Ö¤¬Àܳ¤µ¤ì¤Æ¤¤¤¿¤é¡¢ ¤½¤ì¤ò¼è¤ê³°¤·¤Æ¤â¤¦°ìÅٻ¤Æ¤ß¤Þ¤·¤ç¤¦¡£ ¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤Ï¤³¤Î¼ï¤Î¥É¥é¥¤¥Ö¤ò¸íǧ¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¡£ ¥·¥¹¥Æ¥à¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¸å¤Ï¡¢¤½¤Î¥É¥é¥¤¥Ö¤òºÆÅÙÀܳ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤¦¤Þ¤¯¤¤¤±¤Ð¤³¤ÎÌäÂê¤Ï¾­Íè¤Î¥ê¥ê¡¼¥¹¤Ç²ò·è¤µ¤ì¤ë¤Ç¤·¤ç¤¦¡£

1.25. ¥¤¥ó¥¹¥È¡¼¥ë½ªÎ»¸å¤Ë¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤¹¤ë¤È¡¢ panic: cant mount root ¤Î¥¨¥é¡¼¤È¤Ê¤ê¤Þ¤¹¡£

¤³¤Î¥¨¥é¡¼¤Ï¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹¤Ë¤Ä¤¤¤Æ¡¢ µ¯Æ°¥Ö¥í¥Ã¥¯¤È¥«¡¼¥Í¥ë¤Îǧ¼±¤¬º®Í𤷤Ƥ¤¤ë¤¿¤á¤Ëµ¯¤³¤ê¤Þ¤¹¡£ ¤³¤Î¥¨¥é¡¼¤ÏÄ̾ 2 Âæ¤Î IDE ¥Ç¥£¥¹¥¯¤¬¤½¤ì¤¾¤ìÊ̤ΠIDE ¥³¥ó¥È¥í¡¼¥é¤Î¥Þ¥¹¥¿¡¼¤Ë°ì¤Ä¤º¤ÄÀܳ¤µ¤ì¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤Ë¤ª¤¤¤Æ¡¢ FreeBSD ¤¬¥»¥«¥ó¥À¥ê IDE ¥³¥ó¥È¥í¡¼¥é¤ËÀܳ¤µ¤ì¤¿¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ËȯÀ¸¤·¤Þ¤¹¡£ µ¯Æ°¥Ö¥í¥Ã¥¯¤Ï FreeBSD ¤¬ wd1 (2 ÂæÌܤΠBIOS ¥Ç¥£¥¹¥¯) ¤Ë¥¤¥ó¥¹¥È¡¼¥ë ¤µ¤ì¤Æ¤¤¤ë¤Èǧ¼±¤¹¤ë¤Î¤ËÂФ·¡¢ ¥«¡¼¥Í¥ë¤Ï¥»¥«¥ó¥À¥ê IDE ¤Î 1 ÂæÌܤΥϡ¼¥É¥Ç¥£¥¹¥¯¤Ç¤¢¤ë wd2 ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤Èǧ¼±¤¹¤ë¤Î¤Ç¤¹¡£ ¥Ç¥Ð¥¤¥¹¸¡½Ð¸å¤Ç¡¢ ¥«¡¼¥Í¥ë¤Ïµ¯Æ°¥Ö¥í¥Ã¥¯¤¬µ¯Æ°¥Ç¥£¥¹¥¯¤À¤Èǧ¼±¤·¤¿¥Ç¥£¥¹¥¯¤Ç¤¢¤ë wd1 ¤ò¥Þ¥¦¥ó¥È¤·¤è¤¦¤È¤·¤Þ¤¹¡£ ¤·¤«¤·¡¢¼ÂºÝ¤Ë¤Ïµ¯Æ°¥Ç¥£¥¹¥¯¤Ï wd2 ¤Ê¤Î¤Ç¼ºÇÔ¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¡£

¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤Ë¤Ï¡¢°Ê²¼¤Î¤É¤ì¤«°ì¤Ä¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£

  1. FreeBSD 3.3 °Ê¹ß¤òÍøÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ ¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Æ¡¢Booting kernel in 10 seconds; hit [Enter] to interrupt ¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë´Ö¤Ë Enter ¥­¡¼¤ò²¡¤·¤Þ¤¹¡£ ¤¹¤ë¤È¡¢¥Ö¡¼¥È¥í¡¼¥À¤Ë°Ü¹Ô¤·¤Þ¤¹¡£

    ¤½¤¦¤·¤¿¤é¡¢set root_disk_unit="disk_number" ¤ÈÆþÎϤ·¤Þ¤¹¡£ FreeBSD ¤¬ºÇ½é¤Î IDE ¥³¥ó¥È¥í¡¼¥é¤Î¥Þ¥¹¥¿¡¼¤ËÀܳ¤µ¤ì¤¿¥É¥é¥¤¥Ö¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢ disk_number ¤Ï 0 ¤Ç¤¹¡£ ¤Þ¤¿¡¢ ºÇ½é¤Î IDE ¥³¥ó¥È¥í¡¼¥é¤Î¥¹¥ì¡¼¥Ö¤Ê¤é 1¡¢ ÆóÈÖÌܤΠIDE ¥³¥ó¥È¥í¡¼¥é¤Î¥Þ¥¹¥¿¡¼¤Ê¤é 2¡¢ ÆóÈÖÌܤΠIDE ¥³¥ó¥È¥í¡¼¥é¤Î¥¹¥ì¡¼¥Ö¤Ê¤é 3 ¤Ë¤Ê¤ê¤Þ¤¹¡£

    ¤½¤Î¸å¡¢boot ¤ÈÆþÎϤ·¤Þ¤¹¡£ ¥·¥¹¥Æ¥à¤Ï¤­¤Á¤ó¤ÈºÆµ¯Æ°¤¹¤ë¤Ï¤º¤Ç¤¹¡£

    ¤³¤ÎÊѹ¹¤ò¹±µ×Ū¤Ê¤â¤Î¤Ë¤¹¤ë (¤Ä¤Þ¤ê¡¢ ºÆµ¯Æ°¤äÅŸ»¤òÆþ¤ì¤ëÅ٤ˤ³¤ÎÁàºî¤ò¤¹¤ëɬÍפ¬¤Ê¤¤¤è¤¦¤Ë¤¹¤ë) ¤Ë¤Ï¡¢ /boot/loader.conf.local ¤Ë root_disk_unit="disk_number" ¤È¤¤¤¦¹Ô¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

  2. FreeBSD 3.2 °ÊÁ°¤òÍøÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ Boot: ¥×¥í¥ó¥×¥È¤Ç 1:wd(2,a)kernel ¤ÈÆþÎϤ·¤Æ¥¨¥ó¥¿¡¼¥­¡¼¤ò²¡¤·¤Þ¤¹¡£ ¥·¥¹¥Æ¥à¤¬µ¯Æ°¤·¤¿¤é¡¢ echo "1:wd(2,a)kernel" > /boot.config ¤È¤¤¤¦¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤³¤ì¤ò¥Ç¥Õ¥©¥ë¥È¤Î¥Ö¡¼¥Èʸ»úÎó¤È¤·¤Þ¤¹¡£

  3. FreeBSD ¤Î¥Ç¥£¥¹¥¯¤ò¥×¥é¥¤¥Þ¥ê IDE ¥³¥ó¥È¥í¡¼¥é¤ËÀܳ¤·¤Æ¡¢ ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤¬Ï¢Â³¤·¤¿¥É¥é¥¤¥ÖÈÖ¹æ¤Çǧ¼±¤µ¤ì¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

  4. ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ç wd ¤Î¹Ô¤ò°Ê²¼¤Î¤è¤¦¤ËÊѹ¹¤·¡¢ ¥«¡¼¥Í¥ë¤ÎºÆ¹½ÃÛ¤ò¹Ô¤Ã¤Æ¡¢ ¿·¤·¤¤¥«¡¼¥Í¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

    controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
    disk            wd0     at wdc0 drive 0
    # disk            wd1     at wdc0 drive 1 # ¤³¤Î¹Ô¤ò¥³¥á¥ó¥È¥¢¥¦¥È
    
    controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
    disk            wd1     at wdc1 drive 0 # wd2 ¤«¤é wd1 ¤ØÊѹ¹
    disk            wd2     at wdc1 drive 1 # wd3 ¤«¤é wd2 ¤ØÊѹ¹
    

    ¥Ç¥£¥¹¥¯¤ÎÀܳ¤òÊѹ¹¤·¤Æ¸µ¤ÎÀßÄê¤ËÌᤷ¤¿¤¤¾ì¹ç¤Ï¡¢¥Ç¥£¥¹¥¯¤ò ¤ªË¾¤ß¤ÎÀßÄê¤ÎÄ̤ê¤ÎÀܳ¤ËÌᤷ¤Æ¤«¤éºÆµ¯Æ°¤·¤Þ¤¹¡£ ¥·¥¹¥Æ¥à¤ÏÀµ¾ï¤Ëµ¯Æ°¤¹¤ë¤Ï¤º¤Ç¤¹¡£

1.26. ¥á¥â¥ê¤ÎÂ礭¤µ¤ÎÀ©¸Â¤Ï?

ǧ¼±¤Ç¤­¤ë¥á¥â¥ê¤Î¾å¸Â¤Ï¡¢4GB ¤Ç¤¹¡£ ¤³¤Î¹½À®¤Ï»î¸³ºÑ¤ß¤Ç¡¢ ¾ÜºÙ¤Ï wcarchive's configuration ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ¤³¤Î¤è¤¦¤Ë¤¿¤¯¤µ¤ó¤Î¥á¥â¥ê¤ò¥Þ¥·¥ó¤ËƳÆþ¤·¤è¤¦¤È¤¤¤¦¾ì¹ç¤Ë¤Ï¡¢ Ãí°Õ¤¬É¬ÍפǤ¹¡£ECC µ¡Ç½¤ò¥µ¥Ý¡¼¥È¤·¡¢¤Ê¤ª¤«¤Ä ÍÆÎÌÀ­Éé²Ù (ÌõÃí: ¿¤¯¤Î¥á¥â¥êÁǻҤÏÍÆÎÌÀ­Éé²Ù¤È¤·¤ÆƯ¤­¤Þ¤¹¤¬¡¢ ¥á¥â¥ê¥Ð¥¹¾å¤ËÍÆÎÌÀ­Éé²Ù¤¬Áý¤¨¤ë¤È¿®¹æ¤ÎÅÁ㤬Ã٤졢¸íÆ°ºî¤Î¸¶°ø¤È¤Ê¤ê¤Þ¤¹) ¤ò Ä㸺¤µ¤»¤ë¤¿¤á¡¢18 ¥Á¥Ã¥×¹½À®¤Î¥á¥â¥ê¥â¥¸¥å¡¼¥ë¤è¤ê 9 ¥Á¥Ã¥×¹½À®¤Î¥á¥â¥ê¥â¥¸¥å¡¼¥ë¤òÁªÂò¤¹¤ë¤³¤È¤¬¡¢¤ª¤½¤é¤¯Ë¾¤Þ¤·¤¤¤Ç¤·¤ç¤¦¡£

1.27. ffs ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÂ礭¤µ¤ÎÀ©¸Â¤Ï?

ffs ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢ ÏÀÍýŪ¤ÊºÇÂç¤Î¾å¸Â¤Ï 8 TB (2G ¥Ö¥í¥Ã¥¯)¡¢ ¥Ç¥Õ¥©¥ë¥È¤Î¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤ò 8K ¤È¤¹¤ë¤È 16 TB¤È¤Ê¤ê¤Þ¤¹¡£ ¼ÂºÝÌäÂê¤È¤·¤Æ¡¢1 TB ¤Î¥½¥Õ¥È¥¦¥§¥¢¤Î¸Â³¦¤¬¤¢¤ê¤Þ¤¹¤¬¡¢ ½¤Àµ¤¹¤ì¤Ð 4 TB ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬²Äǽ¤Ç¤¹ (¼ÂºÝ¤Ë¸ºß¤·¤Þ¤¹)¡£

°ì¤Ä¤Î ffs ¤Î¥Õ¥¡¥¤¥ë¤ÎºÇÂç¤Î¥µ¥¤¥º¤Ï¡¢¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤¬ 4K ¤Î¾ì¹ç¤Ç Ìó 1G ¥Ö¥í¥Ã¥¯ (4 TB)¤Ç¤¹¡£

表 1-2. ºÇÂç¥Õ¥¡¥¤¥ë¥µ¥¤¥º

fs ¥Ö¥í¥Ã¥¯¥µ¥¤¥º 2.2.7-stable 3.0-current Æ°ºî³ÎǧºÑ¤ß¤Î¥µ¥¤¥º Æ°ºî¤¹¤ë¤Ï¤º¤Î¥µ¥¤¥º
4K 4T-1 4T-1 4T-1 >4T
8K >32G 8T-1 >32G 32T-1
16K >128G 16T-1 >128G 32T-1
32K >512G 32T-1 >512G 64T-1
64K >2048G 64T-1 >2048G 128T-1

fs ¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤¬ 4K ¤Î¾ì¹ç¤Ï»°½Å´ÖÀÜ¥Ö¥í¥Ã¥¯¤¬»ÈÍѤµ¤ì¡¢ ¤¤¤º¤ì¤Î¾ì¹ç¤Ç¤â»°½Å´ÖÀÜ¥Ö¥í¥Ã¥¯¤ò»ÈÍѤ·¤Æɽ¸½¤Ç¤­¤ëºÇÂç¤Î fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ (¤ª¤è¤½ 1K^3 + 1K^2 + 1K) ¤ËÀ©¸Â¤µ¤ì¤ë¤Ï¤º¤Ê¤Î¤Ç¤¹¤¬¡¢ ¼ÂºÝ¤Ï fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ¤Î (´Ö°ã¤Ã¤¿) ¾å¸Â 1G-1 ¤ÇÀ©¸Â¤µ¤ì¤Þ¤¹¡£ fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ¤ÎÀ©¸Â¤Ï 2G-1 ¤È¤Ê¤ë¤Ï¤º¤Ç¤¹¡£2G-1 ÉÕ¶á¤Ë fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ¤Î¥Ð¥°¤¬Â¿¾¯¤¢¤ê¤Þ¤¹¤¬¡¢fs ¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤¬ 4K ¤Î¾ì¹ç¤Ï¡¢¤³¤³¤Þ¤Ç¤Î¥Ö¥í¥Ã¥¯ÈÖ¹æ¤Ë¤ÏÅþ㤷¤Þ¤»¤ó¡£

¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤¬ 8K °Ê¾å¤Î¾ì¹ç¡¢¤¤¤º¤ì¤Î¾ì¹ç¤â fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ¤Î¾å¸Â 2G-1 ¤ÇÀ©¸Â¤µ¤ì¤ë¤Ï¤º¤Ç¤¹¤¬¡¢ ¼ÂºÝ¤Ï fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ¤Î¾å¸Â 1G-1 ¤ÇÀ©¸Â¤µ¤ì¤Þ¤¹¡£ Î㳰Ū¤Ë -STABLE ¤Ç¤Ï»°½Å´ÖÀÜ¥Ö¥í¥Ã¥¯¤Þ¤Ç¤ÏÅþ㤷¤Ê¤¤¤¿¤á¡¢ À©¸Â¤ÏÆó½Å´ÖÀÜ¥Ö¥í¥Ã¥¯¤Çɽ¸½¤Ç¤­¤ëºÇÂç¤Î fs ¥Ö¥í¥Ã¥¯ÈÖ¹æ (¤ª¤è¤½ (blocksize/4)^2 + (blocksize/4)) ¤È¤Ê¤ê¤Þ¤¹¡£ -CURRENT ¤Ç¤Ï¤³¤ÎÀ©¸Â¤òĶ¤¨¤ë¤ÈÌäÂê¤ò°ú¤­µ¯¤³¤¹¤«¤â¤·¤ì¤Þ¤»¤ó¡£ Àµ¤·¤¤À©¸ÂÃͤǤ¢¤ë 2G-1 ¥Ö¥í¥Ã¥¯¤ò»ÈÍѤ¹¤ë¤ÈÌÀ¤é¤«¤ËÌäÂ꤬½Ð¤Þ¤¹¡£

1.28. ¥Õ¥í¥Ã¥Ô¡¼¤Ë 1 TB ¤Î¥Õ¥¡¥¤¥ë¤ò³ÊǼ¤¹¤ë¤Ë¤Ï?

´ó¹Æ: Bruce Evans¡¢1998 ǯ 9 ·î

¤ï¤¿¤·¤Î¤È¤³¤í¤Ç¤Ï¡¢ ¥Õ¥í¥Ã¥Ô¡¼¤Ë¤¤¤¯¤Ä¤«¤Î¼ÂºÝ¤Î¥Õ¥¡¥¤¥ë¤òÊݸ¤·¤Æ¤¤¤Þ¤¹ :-)¡£ ºÇÂç¤Î¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ÏºÇÂç¤Î¥Ç¥£¥¹¥¯¥µ¥¤¥º¤È¤Ï¤¢¤Þ¤ê´Ø·¸¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ºÇÂç¤Î¥Ç¥£¥¹¥¯¥µ¥¤¥º¤Ï 1 TB ¤Ç¤¹¡£ ¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤¬¥Ç¥£¥¹¥¯¥µ¥¤¥º¤è¤êÂ礭¤¯¤Ê¤ê¤¦¤ë¤È¤¤¤¦¤Î¤Ï»ÅÍͤǤ¹¡£

°Ê²¼¤ÎÎã¤Ï¡¢32K ¤Î¥Ç¥£¥¹¥¯ÍÆÎÌ (3 ¤Ä¤Î´ÖÀÜ¥Ö¥í¥Ã¥¯¤È 1 ¤Ä¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯) ¤ò»È¤Ã¤Æ¡¢ ¾®¤µ¤Ê¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë 8T-1 ¤ÎÂ礭¤µ¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Þ¤¹¡£ ¤³¤³¤Ç¤Î dd ¥³¥Þ¥ó¥É¤ÏÂ礭¤Ê¥Õ¥¡¥¤¥ë¤¬°·¤¨¤ë¤â¤Î¤¬É¬ÍפǤ¹¡£

% cat foo
df .
dd if=/dev/zero of=z bs=1 seek=`echo 2^43 - 2 | bc` count=1
ls -l z
du z
df .
% sh foo
Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
/dev/da0a         64479    27702    31619    47%    /
1+0 records in
1+0 records out
1 bytes transferred in 0.000187 secs (5346 bytes/sec)
-rw-r--r--  1 bde  bin  8796093022207 Sep  7 16:04 z
32      z
Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
/dev/da0a         64479    27734    31587    47%    /

1.29. ¿·¤·¤¤¥«¡¼¥Í¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤¿¤é¡¢µ¯Æ°»þ¤Ë archsw.readin.failed ¤È¤¤¤¦¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£

¥í¡¼¥À¤¬¥¹¥¿¡¼¥È¤¹¤ëÁ°¤Î | ¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Ë²¿¤«¥­¡¼¤ò²¡¤¹¤³¤È¤Ç¡¢ µ¯Æ°¤Î¥»¥«¥ó¥É¥¹¥Æ¡¼¥¸¤«¤éľÀÜ¡¢µ¯Æ°¤¹¤ë¥«¡¼¥Í¥ë¤ò»ØÄꤷ¤Æµ¯Æ°¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Æäˡ¢¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¤ò¹¹¿·¤·¡¢make world ¤·¤Ê¤¤¤Ç¿·¤·¤¤¥«¡¼¥Í¥ë¤À¤±¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ë¤³¤Î¾É¾õ¤¬¸½¤ï¤ì¤Þ¤¹¡£ ¤³¤¦¤¤¤¦Áàºî¤ÏÆ°ºî¤¬Êݾڤµ¤ì¤Þ¤»¤ó¡£¤­¤Á¤ó¤È make world ¤·¤Æ¤¯¤À¤µ¤¤¡£

1.30. 3.X ¤«¤é 4.X ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤¹¤«?

¥¢¥Ã¥×¥°¥ì¡¼¥É¤Ë¤Ï¡¢ ¥Ð¥¤¥Ê¥ê¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤ò»È¤¦¤³¤È¤ò¶¯¤¯¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ 4-STABLE ¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤Ï releng4.FreeBSD.org ¤«¤éÆþ¼ê²Äǽ¤Ç¤¹¡£

¥½¡¼¥¹¤ò»È¤Ã¤Æ¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¾ì¹ç¤Ï¡¢¾ÜºÙ¤Ë¤Ä¤¤¤Æ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤ò»²¾È¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

注意¥½¡¼¥¹¤ò»È¤Ã¤¿¥¢¥Ã¥×¥°¥ì¡¼¥É¤Ï¡¢ ´·¤ì¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¤Ë¤Ï¤Þ¤Ã¤¿¤¯¤ª¤¹¤¹¤á¤Ç¤­¤Þ¤»¤ó¡£ 3.X ¤«¤é 4.X ¤Ø¤Î¾ì¹ç¤ÏÆäˤ½¤¦¤Ç¤¹¡£ ¥½¡¼¥¹¤ò»È¤Ã¤¿¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò»î¤¹Á°¤Ë¡¢ ¼ê½ç¤òÃí°Õ¿¼¤¯Æɤà¤è¤¦¤Ë¿´¤¬¤±¤Æ¤¯¤À¤µ¤¤¡£

1.31. “¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë” (“security profiles”) ¤È¤Ï²¿¤Ç¤¹¤«?

“¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë”¤È¤Ï¡¢ÆÃÄê¤Î ¥×¥í¥°¥é¥à¤ä¤½¤Î¾¤ÎÀßÄê¤òÍ­¸ú¤Ë¤·¤¿¤ê̵¸ú¤Ë¤¹¤ë¤³¤È¤Ç¡¢µá¤á¤ë ÈæΨ¤Ç°ÂÁ´¤ÈÊØÍø¤µ¤ò¼Â¸½¤·¤è¤¦¤È¤¹¤ë¹½À®¤ÎÁªÂò»è¤Î½¸¤Þ¤ê¤Î ¤³¤È¤Ç¤¹¡£¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤¬¸·¤·¤¤¤Û¤É¡¢¥Ç¥Õ¥©¥ë¥È¤Ç Í­¸ú¤Ë¤Ê¤ë¥×¥í¥°¥é¥à¤¬¸º¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢Æ°¤«¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ ¤â¤Î°Ê³°¤Ï¡¢²¿¤âÆ°¤«¤·¤Æ¤Ï¤¤¤±¤Ê¤¤¤È¤¤¤¦¥»¥­¥å¥ê¥Æ¥£¤Î ´ðËÜŪ¸¶Â§¤Î°ì¤Ä¤Ç¤¹¡£

¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤Ï¡¢Ã±¤Ë¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç¤¢¤ë ¤È¤¤¤¦¤³¤È¤Ëµ¤¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ ¤¢¤È¤Ë /etc/rc.conf ¤ËŬÀڤʹԤòÊÔ½¸¤·¤¿¤ê Äɲ乤ì¤Ð¡¢¤É¤Î¥×¥í¥°¥é¥à¤Ç¤âÍ­¸ú¤Ë¤·¤¿¤ê̵¸ú¤Ë¤·¤¿¤ê¤Ç¤­¤Þ¤¹¡£ ¸å¼Ô¤Ë¤Ä¤¤¤Æ¾Ü¤·¤¤¤³¤È¤Ï rc.conf(5) ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò ¤´Í÷¤¯¤À¤µ¤¤¡£

°Ê²¼¤Ë¡¢³Æ¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤¬²¿¤ò¹Ô¤¦¤«¤òÀâÌÀ¤·¤¿ ɽ¤ò·ÇºÜ¤·¤Þ¤¹¡£Îó¤Ï¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤ÎÁªÂò»è¤Ç¡¢¹Ô¤Ï Í­¸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤Ê¤ë¥×¥í¥°¥é¥à¤äµ¡Ç½¤Ç¤¹¡£

表 1-3. »ØÄê¤Ç¤­¤ë¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë

  Extreme High Moderate Low
inetd(8) NO NO YES YES
sendmail(8) NO YES YES YES
sshd(8) NO YES YES YES
portmap(8) NO NO ¤ª¤½¤é¤¯ [a] YES
NFS server NO NO YES YES
securelevel(8) YES (2) [b] YES (1) NO NO
注意:
a. ¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë¡¢¤¹¤Ç¤Ë¥Þ¥·¥ó¤ò NFS ¥¯¥é¥¤¥¢¥ó¥È¤Þ¤¿¤Ï¥µ¡¼¥Ð¤È¤·¤ÆÀßÄꤷ¤Æ¤¤¤ë¤È¡¢ ¥Ý¡¼¥È¥Þ¥Ã¥Ñ¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
b. securelevel ¤òÀßÄꤹ¤ë¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë (Extreme ¤Þ¤¿¤Ï High) ¤òÁªÂò¤¹¤ë¾ì¹ç¡¢¤½¤Î±Æ¶Á¤ò ¾µÃΤ·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£init(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò Æɤߡ¢¥»¥­¥å¥ê¥Æ¥£¥ì¥Ù¥ë¤Î°ÕÌ£¤Ë¤Ä¤¤¤ÆÆäËÃí°Õ¤ò ʧ¤Ã¤Æ¤¯¤À¤µ¤¤¡£¤½¤¦¤·¤Ê¤¤¤È¡¢¸å¤Ç¿¼¹ï¤ÊÌäÂ꤬ µ¯¤­¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£

警告¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤ÏËâË¡¤ÎÌô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ High ¤ËÀßÄꤷ¤¿¤é¡¢Å¬Åö¤Ê ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤òÆɤó¤À¤ê¡¢ÎɼÁ¤Ê¥Ñ¥¹¥ï¡¼¥É¤ä ¥Ñ¥¹¥Õ¥ì¡¼¥º¤òÍѤ¤¤¿¤ê¡¢¥»¥­¥å¥ê¥Æ¥£¤Ë¤Ä¤¤¤Æ¤Î¤è¤¤½¬´·¤ò ¼é¤Ã¤¿¤ê¤·¤Ê¤¯¤Æ¤¤¤¤¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£µá¤á¤ë¥»¥­¥å¥ê¥Æ¥£¤È ÊØÍø¤µ¤ÎÈæΨ¤ò¼ê·Ú¤ËÀßÄꤷ¤Æ¤¯¤ì¤ë¤À¤±¤Ç¤¹¡£

注意: ¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤Îµ¡¹½¤Ï¡¢FreeBSD ¤òºÇ½é¤Ë ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë»þ¤Ë»È¤¦¤³¤È¤òÁÛÄꤷ¤Æ¤¤¤Þ¤¹¡£¤¹¤Ç¤Ë FreeBSD ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤Ê¤é¡¢Ã±¤Ëµá¤á¤ëµ¡Ç½¤ò Í­¸ú¤Ë¤·¤¿¤ê̵¸ú¤Ë¤·¤¿¤ê¤¹¤ëÊý¤¬¡¢¤ª¤½¤é¤¯¸úΨ¤¬ ¤è¤¤¤Ç¤·¤ç¤¦¡£¤â¤·¡¢ËÜÅö¤Ë¥»¥­¥å¥ê¥Æ¥£¥×¥í¥Õ¥¡¥¤¥ë¤ò »È¤¤¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢sysinstall(8) ¤òºÆ¼Â¹Ô¤¹¤ì¤Ð ÀßÄê¤Ç¤­¤Þ¤¹¡£


第 2章¥Ï¡¼¥É¥¦¥§¥¢¥³¥ó¥Ñ¥Á¥Ó¥ê¥Æ¥£

Ìõ: ¤Ë¤·¤« ¡¢ 1997 ǯ 11 ·î 12 Æü

2.1. FreeBSD ¤Ï¡¢ ¤É¤ó¤Ê¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?
2.2. ¤É¤Î SCSI ¥³¥ó¥È¥í¡¼¥é¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?
2.3. ¤É¤ó¤Ê CD-ROM ¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?
2.4. FreeBSD ¤Ï¡¢¤É¤Î CD-RW ¥É¥é¥¤¥Ö¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¤«?
2.5. ZIP ¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.6. ¤Ç¤Ï¡¢JAZ ¤ä EZ¡¢ ¤½¤ì¤«¤é¤½¤Î¾¤Î¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.7. ¤É¤Î¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.8. USB ¥­¡¼¥Ü¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢FreeBSD ¤Ç»È¤¨¤Þ¤¹¤«?
2.9. ÄÁ¤·¤¤¥Ð¥¹¥Þ¥¦¥¹¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?
2.10. PS/2 ¥Þ¥¦¥¹ (¡Ö¥Þ¥¦¥¹¥Ý¡¼¥È¥Þ¥¦¥¹¡×¡¢¡Ö¥­¡¼¥Ü¡¼¥É¥Þ¥¦¥¹¡×) ¤ò »È¤¦¤Ë¤Ï¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?
2.11. X Window System °Ê³°¤Î´Ä¶­¤Ç¥Þ¥¦¥¹¤ò»È¤¦¤³¤È¤Ï²Äǽ¤Ç¤¹¤«?
2.12. ¥Þ¥¦¥¹¤ò»È¤Ã¤Æ¡¢ ¥Æ¥­¥¹¥È¥³¥ó¥½¡¼¥ë¤Ç¥«¥Ã¥È¥¢¥ó¥É¥Ú¡¼¥¹¥È¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤¹¤«?
2.13. USB ¥Þ¥¦¥¹¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢FreeBSD ¤Ç»È¤¨¤Þ¤¹¤«?
2.14. ¤ï¤¿¤·¤Î¥Þ¥¦¥¹¤Ë¤Ï¥Û¥¤¡¼¥ëµ¡Ç½¤äÊØÍø¤Ê¥Ü¥¿¥ó¤¬¤Ä¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤Ï FreeBSD ¤Ç¤â»È¤¨¤ë¤Î¤Ç¤¹¤«?
2.15. ¤ï¤¿¤·¤Î¥Þ¥¦¥¹¤Ï¤­¤Á¤ó¤ÈÆ°¤¤¤Æ¤¯¤ì¤Ê¤¤¤è¤¦¤Ç¤¹¡£ ¥Þ¥¦¥¹¥«¡¼¥½¥ë¤¬²èÌÌÃæ¤ò¤È¤Ó¤Þ¤ï¤ê¤Þ¤¹¡£ ¤³¤Î¥Þ¥¦¥¹¤Ë¤Ï¥Û¥¤¡¼¥ë¤¬¤Ä¤¤¤Æ¤¤¤Æ¡¢ Àܳ¤Ï PS/2 ¥Ý¡¼¥È¤Ç¤¹¡£
2.16. ¥é¥Ã¥×¥È¥Ã¥× PC ¤Î¥Þ¥¦¥¹/¥È¥é¥Ã¥¯¥Ü¡¼¥ë/¥¿¥Ã¥Á¥Ñ¥Ã¥É¤Ï»È¤¨¤Þ¤¹¤«?
2.17. ¤É¤ó¤Ê¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.18. ¤É¤ó¤Ê¥Æ¡¼¥×¥Á¥§¥ó¥¸¥ã¡¼¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.19. ¤É¤ó¤Ê¥µ¥¦¥ó¥É¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.20. pcm ¥É¥é¥¤¥Ð¤Ç es1370 ¤«¤é²»¤¬½Ð¤Ê¤¤¤Î¤Ï¤É¤¦¤Ë¤«¤Ê¤ê¤Þ¤»¤ó¤«?
2.21. ¤É¤ó¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.22. ¿ôÃͱ黻¥³¥×¥í¥»¥Ã¥µ¤ò»ý¤Ã¤Æ¤¤¤Þ¤»¤ó¤¬¡¢²¿¤«¤Þ¤º¤¤¤Ç¤·¤ç¤¦¤«?
2.23. FreeBSD ¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥Ç¥Ð¥¤¥¹¤Ï¾¤Ë¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤«?
2.24. ¥Ñ¥ï¡¼¥Þ¥Í¡¼¥¸¥á¥ó¥Èµ¡Ç½ÉÕ¤­¤Î¥é¥Ã¥×¥È¥Ã¥× PC ¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡Ä¡£
2.25. Micron ¥·¥¹¥Æ¥à¤¬µ¯Æ°»þ¤Ë¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
2.26. ¿·¤·¤¤ Adaptec ¥³¥ó¥È¥í¡¼¥é¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ FreeBSD ¤¬¸¡½Ð¤Ç¤­¤Ê¤¤¤è¤¦¤Ç¤¹¡£
2.27. Æ⢤ΠPlug & Play ¥â¥Ç¥à¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢FreeBSD ¤¬¸¡½Ð¤Ç¤­¤Ê¤¤¤è¤¦¤Ç¤¹¡£
2.28. ¥·¥ê¥¢¥ë¥³¥ó¥½¡¼¥ë¤Ç boot: ¥×¥í¥ó¥×¥È¤òɽ¼¨¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?
2.29. ¤Ê¤¼ Micron ¥³¥ó¥Ô¥å¡¼¥¿¤Ç 3Com PCI ¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤¬Æ°¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?
2.30. Âоη¿¥Þ¥ë¥Á¥×¥í¥»¥·¥ó¥° (SMP) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
2.31. ASUS K7V ¥Þ¥¶¡¼¥Ü¡¼¥É¤Î¥·¥¹¥Æ¥à¤Ç¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤ò»È¤¦¤È¡¢ ¥·¥¹¥Æ¥à¤¬¥Ï¥ó¥°¥¢¥Ã¥×¤·¤Þ¤¹¡£ Âбþºö¤Ï¤¢¤ê¤Þ¤»¤ó¤«?

2.1. FreeBSD ¤Ï¡¢ ¤É¤ó¤Ê¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?

FreeBSD ¤Ï¡¢EIDE ¤È SCSI ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹ (¸ß´¹¥³¥ó¥È¥í¡¼¥é¤â´Þ¤ß¤Þ¤¹¡£ ¼¡¤ÎÀỲ¾È)¡£ ¤Þ¤¿Æȼ«¤Î “Western Digital” ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò»ÈÍѤ·¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥É¥é¥¤¥Ö (MFM¡¢ RLL¡¢ESDI¡¢¤â¤Á¤í¤ó IDE) ¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ Æȼ«»ÅÍͤΥ¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò»ÈÍѤ¹¤ë ESDI ¥³¥ó¥È¥í¡¼¥é¤Ç¤ÏÆ°ºî¤·¤Ê¤¤¤â¤Î¤¬¤¢¤ê¡¢ WD1002/3/6/7 ¤È¤½¤Î¸ß´¹¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤È¾×Æͤ·¤Þ¤¹¡£

2.2. ¤É¤Î SCSI ¥³¥ó¥È¥í¡¼¥é¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?

FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Ëµ­¤µ¤ì¤Æ¤¤¤ë´°Á´¤Ê¥ê¥¹¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.3. ¤É¤ó¤Ê CD-ROM ¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?

¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë SCSI ¥³¥ó¥È¥í¡¼¥é¤ËÀܳ¤Ç¤­¤ë SCSI ¥É¥é¥¤¥Ö¤Ï¡¢¤¹¤Ù¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¤Þ¤¿¡¢°Ê²¼¤ÎÀìÍÑ CD-ROM ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£

  • ¥ß¥Ä¥ß LU002 (8bit)¡¢LU005 (16bit) ¤ª¤è¤Ó FX001D (16bit 2ÇÜ®)¡£

  • ¥½¥Ë¡¼ CDU 31/33A

  • Sound Blaster Èó SCSI ¥¿¥¤¥×¤Î CD-ROM

  • ¾¾²¼/Panasonic CD-ROM

  • ATAPI ¸ß´¹¤Î IDE CD-ROM

SCSI ¤Ç¤Ê¤¤¥«¡¼¥É¤Ï¤¹¤Ù¤Æ¡¢SCSI ¥É¥é¥¤¥Ö¤è¤ê¤â¶Ë¤á¤ÆÆ°ºî®ÅÙ¤¬ ÃÙ¤¤¤³¤È¤¬ÃΤé¤ì¤Æ¤ª¤ê¡¢ATAPI CD-ROM ¤Ë¤ÏÆ°ºî¤·¤Ê¤¤¤â¤Î¤â¤¢¤ë¤è¤¦¤Ç¤¹¡£

BSDi ¤Î FreeBSD 2.2 CD-ROM ¤«¤é¤Ï CD ¤«¤é¤ÎľÀܵ¯Æ°¤¬ ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

2.4. FreeBSD ¤Ï¡¢¤É¤Î CD-RW ¥É¥é¥¤¥Ö¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¤«?

FreeBSD ¤Ï ATAPI ¸ß´¹¤Î IDE CD-R ¤Þ¤¿¤Ï CD-RW ¥É¥é¥¤¥Ö¤Ç ¤¢¤ì¤ÐÂбþ¤·¤Æ¤¤¤Þ¤¹¡£FreeBSD ¥Ð¡¼¥¸¥ç¥ó 4.0 °Ê¹ß¤Ë¤Ä¤¤¤Æ¤Ï¡¢ burncd(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò¤´Í÷¤¯¤À¤µ¤¤¡£¤½¤ì°ÊÁ°¤Î ¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤Ç¤Ï¡¢ /usr/share/examples/atapi ¤Ë¤¢¤ëÎã¤ò ¤´Í÷¤¯¤À¤µ¤¤¡£

¤Þ¤¿¡¢FreeBSD ¤Ï SCSI ¤Î CD-R ¤Þ¤¿¤Ï CD-RW ¥É¥é¥¤¥Ö¤Ë¤â Âбþ¤·¤Æ¤¤¤Þ¤¹¡£ports ¤Þ¤¿¤Ï packages ¤«¤é cdrecord ¥³¥Þ¥ó¥É¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢ ¥«¡¼¥Í¥ë¤Ë pass ¥Ç¥Ð¥¤¥¹¤¬ÁȤ߹þ¤Þ¤ì¤Æ ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

2.5. ZIP ¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

¤â¤Á¤í¤ó¡¢ FreeBSD ¤Ï SCSI ZIP ¥É¥é¥¤¥Ö (³°ÉÕ¤±) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ZIP ¥É¥é¥¤¥Ö¤Ï SCSI ID ¤ò 5 ¤« 6 ¤ËÀßÄꤷ¤¿¾õÂ֤Ǥʤé»ÈÍѤǤ­¤Þ¤¹¤¬¡¢ ¤â¤· SCSI ¥Û¥¹¥È¥¢¥À¥×¥¿¤Î BIOS ¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤µ¤¨¤¤¤ì¤Ð ZIP ¥É¥é¥¤¥Ö¤«¤éµ¯Æ°¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¤É¤Î¥Û¥¹¥È¥¢¥À¥×¥¿¤¬ SCSI ID ¤ò 0 ¤ä 1 °Ê³°¤ËÀßÄꤷ¤¿¥Ç¥Ð¥¤¥¹¤«¤é µ¯Æ°¤Ç¤­¤ë¤Î¤«¤Ï¤ï¤«¤ê¤Þ¤»¤ó¡£¤½¤¦¤·¤¿¤¤¾ì¹ç¤Ï¡¢¥¢¥À¥×¥¿¤Î ¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

ATAPI (IDE) ZIP ¥É¥é¥¤¥Ö¤Ï¡¢FreeBSD 2.2.6 °Ê¹ß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥Ð¡¼¥¸¥ç¥ó 3.0 °Ê¹ß¤Î FreeBSD ¤Ç¤Ï¡¢ ¥Ñ¥é¥ì¥ë¥Ý¡¼¥ÈÀܳ¤Î ZIP ¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ºÇ¶á¤Î¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤ò¤ª»È¤¤¤Ç¤·¤¿¤é¡¢ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë scbus0¡¢ da0¡¢ ppbus0¡¢ vp0 ¤Î³Æ¥É¥é¥¤¥Ð¤¬µ­½Ò¤µ¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ (GENERIC ¥«¡¼¥Í¥ë¤Ë¤Ï vp0 ¤ò½ü¤¯¤¹¤Ù¤Æ¤Î¥É¥é¥¤¥Ð¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹)¡£ ¤³¤ì¤é¤¹¤Ù¤Æ¤Î¥É¥é¥¤¥Ð¤¬¤¢¤ì¤Ð¡¢ ¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤Î¥É¥é¥¤¥Ö¤Ï /dev/da0s4 ¤È¤Ê¤ê¤Þ¤¹¡£ ¥Ç¥£¥¹¥¯¤Ï mount /dev/da0s4 /mnt ¤È¤¹¤ë¤« mount_msdos /dev/da0s4 /mnt (DOS ¥Ç¥£¥¹¥¯¤Î¾ì¹ç) ¤È¤¹¤ë¤³¤È¤Ç¥Þ¥¦¥ó¥È¤Ç¤­¤Þ¤¹¡£

¤½¤ì¤«¤é¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤Ë´Ø¤¹¤ëÃí°Õ¤ª¤è¤Ó¡¢ ¡Ö¥Õ¥©¡¼¥Þ¥Ã¥È¡×¤Ë´Ø¤¹¤ëÃí°Õ¤Ë¤Ä¤¤¤Æ¤â ³Îǧ¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£

2.6. ¤Ç¤Ï¡¢JAZ ¤ä EZ¡¢ ¤½¤ì¤«¤é¤½¤Î¾¤Î¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

FreeBSD ¤Ç¤Ï¡¢IDE ¥Ð¡¼¥¸¥ç¥ó¤Î EZ ¥É¥é¥¤¥Ö¤ò½ü¤¯¤¹¤Ù¤Æ¤Î SCSI ¥Ç¥Ð¥¤¥¹¤Ï¡¢ SCSI ¤Î¥Ç¥£¥¹¥¯¤ÈƱÅù¤Ë°·¤ï¤ì¤Þ¤¹¡£ ¤Þ¤¿ IDE EZ ¤Ï IDE ¥É¥é¥¤¥Ö¤ÈƱÅù¤È¤Ê¤ê¤Þ¤¹¡£

¥·¥¹¥Æ¥à²ÔƯÃæ¤Î¥á¥Ç¥£¥¢¸ò´¹¤Ë¤Ä¤¤¤Æ FreeBSD ¤¬¤É¤ì¤Û¤É¤¦¤Þ¤¯Æ°¤¯¤«Ä꤫¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤â¤Á¤í¤ó¥á¥Ç¥£¥¢¤òÆþ¤ìÂؤ¨¤ëÁ°¤Ë¤½¤Î¥É¥é¥¤¥Ö¤Î¥Þ¥¦¥ó¥È¤ò²ò½ü¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤·¡¢ FreeBSD ¤¬¤½¤ì¤é¤òǧ¼±¤¹¤ë¤Ë¤Ï¡¢ µ¯Æ°»þ¤Ë³°Éô¥æ¥Ë¥Ã¥È¤Ë¤âÅŸ»¤¬ÅêÆþ¤µ¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤Ç¤·¤ç¤¦¡£

¡Ö¥Õ¥©¡¼¥Þ¥Ã¥È¡×¤Ë´Ø¤¹¤ëÃí°Õ¤â»²¾È¤Î¤³¤È¡£

2.7. ¤É¤Î¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

°ìÍ÷¤Ï ¤½¤Î¾¤Î¥Ç¥Ð¥¤¥¹¤ÎÀá¤Ë¤¢¤ê¤Þ¤¹¡£

̵̾¤Î¥«¡¼¥É¤Ë¤â¤¦¤Þ¤¯Æ°¤¯¤â¤Î¤¬¤¢¤ê¡¢ ÆÃ¤Ë AST ¸ß´¹¤È¤¤¤ï¤ì¤Æ¤¤¤ë¤â¤Î¤Ë¿¤¯¸«¤é¤ì¤Þ¤¹¡£

¥«¡¼¥ÉÀßÄê¤Î¾ÜºÙ¤Ê¾ðÊó¤Ï¡¢sio(4) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.8. USB ¥­¡¼¥Ü¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢FreeBSD ¤Ç»È¤¨¤Þ¤¹¤«?

USB ¥Ç¥Ð¥¤¥¹¤Ï FreeBSD 3.1 ¤«¤é¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤·¤¿¤¬¡¢ ¼ÂÁõ¤Ï FreeBSD 3.2 ¤Ç¤¢¤Ã¤Æ¤â¤Þ¤À´°Á´¤Ç¤Ï¤Ê¤¤¤¿¤á¡¢ ɬ¤º¤·¤â°ÂÄꤷ¤ÆÆ°ºî¤¹¤ë¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£ ¤â¤·¡¢¤½¤ì¤Ç¤â USB ¥­¡¼¥Ü¡¼¥É¤ò»È¤Ã¤Æ¤ß¤¿¤¤¤È¤¤¤¦¿Í¤Ï¡¢ °Ê²¼¤Î¼ê½ç¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

  1. FreeBSD 3.2 ¤«¡¢¤½¤ì°Ê¹ß¤ò»È¤¤¤Þ¤¹¡£

  2. ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤òÄɲä·¡¢ ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Þ¤¹¡£

    device  uhci
    device  ohci
    device  usb
    device  ukbd
    options KBD_INSTALL_CDEV
    

    FreeBSD 4.0 ¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ Âå¤ï¤ê¤Ë¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

    controller      uhci0
    controller      ohci0
    controller      usb0
    controller      ukbd0
    options         KBD_INSTALL_CDEV
    
  3. /dev ¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¡¢ ¼¡¤Î¤è¤¦¤Ë¤·¤Æ¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤òºîÀ®¤·¤Þ¤¹¡£

    # cd /dev
    # ./MAKEDEV kbd0 kbd1
    
  4. /etc/rc.conf ¤òÊÔ½¸¤·¡¢ °Ê²¼¤Î¹Ô¤òÄɲä·¤Þ¤¹¡£

    usbd_enable="YES"
    usbd_flags=""
    

¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤µ¤»¤¿¸å¡¢ AT¡¢USB ξÊý¤Î¥­¡¼¥Ü¡¼¥É¤¬Àܳ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢ AT ¥­¡¼¥Ü¡¼¥É¤Ï /dev/kbd0 ¤Ë¡¢ USB ¥­¡¼¥Ü¡¼¥É¤Ï /dev/kbd1¤Ë¤Ê¤ê¤Þ¤¹¡£ °ìÊý¡¢USB ¥­¡¼¥Ü¡¼¥É¤À¤±¤¬Àܳ¤µ¤ì¤Æ¤¤¤ë¤Ê¤é¡¢ /dev/ukbd0 ¤È¤Ê¤ê¤Þ¤¹¡£

USB ¥­¡¼¥Ü¡¼¥É¤ò¥³¥ó¥½¡¼¥ë¤ÇÍøÍѤ¹¤ë¤Ë¤Ï¡¢ ¤½¤ì¤ò¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð¤ËÂФ·¤ÆÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥·¥¹¥Æ¥à¤Î½é´ü²½¤ÎºÝ¤Ë¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ê¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# kbdcontrol -k /dev/kbd1 < /dev/ttyv0 > /dev/null

¤¿¤À¤·¡¢USB ¥­¡¼¥Ü¡¼¥É¤·¤«Àܳ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤½¤ì¤Ï /dev/kbd0 ¤È¤·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢ ¥³¥Þ¥ó¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤´Ãí°Õ¤¯¤À¤µ¤¤¡£

# kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null

¾å¤Î¥³¥Þ¥ó¥É¤Ï¡¢/etc/rc.i386 ¤ËÄɲ乤ë¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£

¤³¤ÎÀßÄê¤ò°ìÅٹԤʤäƤ¤¤ì¤Ð¡¢ X ´Ä¶­¤Ç¤âÆä˾¤ÎÀßÄê¤Ê¤·¤Ë USB ¥­¡¼¥Ü¡¼¥É¤¬ÍøÍѤǤ­¤Þ¤¹¡£

USB ¥­¡¼¥Ü¡¼¥É¤Î³èÀþÁÞÈ´ (¥Û¥Ã¥È¥×¥é¥°µ¡Ç½) ¤Ï¡¢ ¤Þ¤À¤ª¤½¤é¤¯¤­¤Á¤ó¤ÈÆ°ºî¤·¤Ê¤¤¤È»×¤ï¤ì¤Þ¤¹¡£ ¥È¥é¥Ö¥ë¤òÈò¤±¤ë¤¿¤á¤Ë¤â¡¢¥­¡¼¥Ü¡¼¥É¤Ï¥·¥¹¥Æ¥à¤òµ¯Æ°¤µ¤»¤ëÁ°¤ËÀܳ¤·¤Æ¤ª¤­¡¢ ¥·¥ã¥Ã¥È¥À¥¦¥ó¤¹¤ë¤Þ¤Ç¤Ï¤º¤µ¤Ê¤¤¤è¤¦¤Ë¤·¤¿Êý¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£

¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ukbd(4) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.9. ÄÁ¤·¤¤¥Ð¥¹¥Þ¥¦¥¹¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?

FreeBSD ¤Ï Microsoft¡¢Logitech¡¢ ATI Åù¤Î¥á¡¼¥«¡¼¤«¤é½Ð¤Æ¤¤¤ë¥Ð¥¹¥Þ¥¦¥¹¤È InPort ¥Ð¥¹¥Þ¥¦¥¹¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£FreeBSD 2.X ¤Î¾ì¹ç¡¢ ¥Ð¥¹¥Þ¥¦¥¹¤Î¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Ï GENERIC ¥«¡¼¥Í¥ë¤Ëɸ½à¤Ç´Þ¤Þ¤ì¤Þ¤¹¤¬¡¢ FreeBSD 3.X °Ê¹ß¤Ç¤Ïɸ½à¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¡£¤â¤·¥Ð¥¹¥Þ¥¦¥¹¤Î¥Ç¥Ð¥¤¥¹ ¥É¥é¥¤¥Ð¤ò´Þ¤à¥«¡¼¥Í¥ë¤ò¼«Ê¬¤Ç¹½ÃÛ¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

¤½¤ì¤Ï FreeBSD 3.0 ¤ò´Þ¤à¡¢¤½¤ì°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Î¾ì¹ç¤Ï¼¡¤Î¤È¤ª¤ê¡¢

device mse0 at isa? port 0x23c tty irq5 vector mseintr

FreeBSD 3.X ¤Ç¤Ï¡¢¼¡¤Î¤È¤ª¤ê¤Ç¤¹¡£

device mse0 at isa? port 0x23c tty irq5

¤½¤·¤Æ FreeBSD 4.X ¤È¤½¤ì°Ê¹ß¤Ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

device mse0 at isa? port 0x23c irq5

Ä̾ï¥Ð¥¹¥Þ¥¦¥¹¤Ë¤ÏÀìÍѤΥ¤¥ó¥¿¥Õ¥§¡¼¥¹¥«¡¼¥É¤¬Éí°¤·¤Æ¤¤¤Þ¤¹¡£ ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¥«¡¼¥É¤Ë¤è¤Ã¤Æ¤Ï¥Ý¡¼¥È¥¢¥É¥ì¥¹¤ä³ä¤ê¹þ¤ßÈÖ¹æ¤ò¾åµ­¤Î ÀßÄê°Ê³°¤ËÊѹ¹¤Ç¤­¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¾Ü¤·¤¯¤Ï¥Ð¥¹¥Þ¥¦¥¹¤Î¥Þ¥Ë¥å¥¢¥ë¤È mse(4) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.10. PS/2 ¥Þ¥¦¥¹ (¡Ö¥Þ¥¦¥¹¥Ý¡¼¥È¥Þ¥¦¥¹¡×¡¢¡Ö¥­¡¼¥Ü¡¼¥É¥Þ¥¦¥¹¡×) ¤ò »È¤¦¤Ë¤Ï¤É¤Î¤è¤¦¤ËÀßÄꤹ¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?

¤¢¤Ê¤¿¤¬ 2.2.5 °Ê¹ß¤Î¥Ð¡¼¥¸¥ç¥ó FreeBSD ¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ê¤é¡¢ ɬÍפʥɥ饤¥Ð psm ¤Ï¥«¡¼¥Í¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ÆÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¥«¡¼¥Í¥ë¤Ïµ¯Æ°»þ¤Ë PS/2 ¥Þ¥¦¥¹¤ò¸¡½Ð¤¹¤ë¤Ç¤·¤ç¤¦¡£

¤¢¤Ê¤¿¤Î»È¤Ã¤Æ¤¤¤ë FreeBSD ¤¬Èæ³ÓŪ¿·¤·¤¤¤±¤ì¤ÉÁ°¤Î¥Ð¡¼¥¸¥ç¥ó (2.1.x °Ê¹ß) ¤Î¤â¤Î¤Ê¤é¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤Î»þ¤Ë¡¢Ã±¤Ë¥«¡¼¥Í¥ë¤Î¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤Î¥á¥Ë¥å¡¼¾å¤Ç PS/2 ¥Þ¥¦¥¹¤òÍ­¸ú²½¤¹¤ë¤À¤±¤Ç¤¹¡¢¤¢¤ë¤¤¤Ï¸å¤Ç boot: ¥×¥í¥ó¥×¥È¾å¤Ç -c ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¤â¥á¥Ë¥å¡¼¤Ï¸½¤ì¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵¸ú¤ËÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ÌÀ¼¨Åª¤ËÍ­¸ú²½¤·¤Æ¤¢¤²¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£

¤¢¤Ê¤¿¤Î»È¤Ã¤Æ¤¤¤ë FreeBSD ¤¬Èæ³ÓŪ¸Å¤¤¤â¤Î¤Ê¤é¡¢ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤ò²Ã¤¨¤Æ ¥«¡¼¥Í¥ë¤òºÆ¥³¥ó¥Ñ¥¤¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¤½¤ì¤Ï FreeBSD 3.0 ¤ò´Þ¤à¡¢¤½¤ì°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¼¡¤Î¤È¤ª¤ê¡¢

device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

FreeBSD 3.1 ¤ò´Þ¤à¡¢¤½¤ì°Ê¹ß¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¼¡¤Î¤È¤ª¤ê¡¢

device psm0 at isa? tty irq 12

FreeBSD 4.0 ¤È¤½¤ì°Ê¹ß¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¼¡¤Î¤È¤ª¤ê¤Ç¤¹¡£

device psm0 at atkbdc? irq 12

¥«¡¼¥Í¥ë¤ÎºÆ¹½ÃۤˤĤ¤¤Æ¤è¤¯ÃΤé¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

µ¯Æ°»þ¤Ë¥«¡¼¥Í¥ë¤¬ psm0 ¤ò¸¡½Ð¤·¤¿¤é¡¢ psm0 ¤Î¥¨¥ó¥È¥ê¤¬ /dev ¤ÎÃæ¤Ë¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤Ë¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# cd /dev; sh MAKEDEV psm0
¤³¤ì¤Ï root ¤Ç¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¤È¤­¤Ë¹Ô¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤¡£

2.11. X Window System °Ê³°¤Î´Ä¶­¤Ç¥Þ¥¦¥¹¤ò»È¤¦¤³¤È¤Ï²Äǽ¤Ç¤¹¤«?

¤â¤·¥Ç¥Õ¥©¥ë¥È¤Î¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð¤Ç¤¢¤ë syscons ¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥Æ¥­¥¹¥È¥³¥ó¥½¡¼¥ë¾å¤Ç¥Þ¥¦¥¹¤ò»È¤Ã¤Æ¡¢ ¥Æ¥­¥¹¥È¤Î¥«¥Ã¥È¥¢¥ó¥É¥Ú¡¼¥¹¥È¤¬¤Ç¤­¤Þ¤¹¡£ ¥Þ¥¦¥¹¥Ç¡¼¥â¥ó¤Ç¤¢¤ë moused ¤òµ¯Æ°¤·¡¢ ²¾ÁÛ¥³¥ó¥½¡¼¥ë¤Ç¥Þ¥¦¥¹¥Ý¥¤¥ó¥¿¤òÍ­¸ú¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

# moused -p /dev/xxxx -t yyyy
# vidcontrol -m on

¤³¤³¤Ç xxxx ¤Ï¥Þ¥¦¥¹¤Î¥Ç¥Ð¥¤¥¹Ì¾¡¢ yyyy ¤Ï¥Þ¥¦¥¹¤Î¥×¥í¥È¥³¥ë¥¿¥¤¥×¤Ç¤¹¡£ ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥×¥í¥È¥³¥ë¥¿¥¤¥×¤Ë¤Ä¤¤¤Æ¤Ï moused(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¥·¥¹¥Æ¥à¤òµ¯Æ°¤¹¤ë»þ¤Ë¼«Æ°Åª¤Ë moused ¤òµ¯Æ°¤·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£ FreeBSD 2.2.1 ¤Ç¤Ï°Ê²¼¤ÎÊÑ¿ô¤ò /etc/sysconfig ¤ÇÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

mousedtype="yyyy"
mousedport="xxxx"
mousedflags=""

FreeBSD 2.2.2 °Ê¹ß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï /etc/rc.conf ¤Ç°Ê²¼¤Î¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡£

moused_type="yyyy"
moused_port="xxxx"
moused_flags=""

FreeBSD 3.1 ¤È¤½¤ì°Ê¹ß¤Ç PS/2 ¥Þ¥¦¥¹¤òÍøÍѤ¹¤ë¾ì¹ç¤Ï¡¢ moused_enable="YES" ¤ò /etc/rc.conf ¤Ë½ñ¤­²Ã¤¨¤ë¤À¤±¤Ç¤¹¡£

¤Þ¤¿¡¢µ¯Æ°»þ¤Ë¤¹¤Ù¤Æ¤Î²¾ÁÛüËö¤Ç¡¢ ɸ½à¤Î¥³¥ó¥½¡¼¥ë¤Ë²Ã¤¨¥Þ¥¦¥¹¥Ç¡¼¥â¥ó¤â»È¤¨¤ë¤è¤¦¤Ë¤·¤¿¤¤¡¢ ¤È¤¤¤¦¾ì¹ç¤Ë¤Ï¡¢°Ê²¼¤Î¹Ô¤ò /etc/rc.conf ¤Ë²Ã¤¨¤Þ¤¹¡£

allscreens_flags="-m on"

FreeBSD 2.2.6 °Ê¹ß¤Î¾ì¹ç¤Ç Èæ³ÓŪ¿·¤·¤¤¥·¥ê¥¢¥ë¥Þ¥¦¥¹¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢ ¥Þ¥¦¥¹¥Ç¡¼¥â¥ó¤Ï¥Þ¥¦¥¹¤Î¥×¥í¥È¥³¥ë¥¿¥¤¥×¤ò¼«Æ°È½Ê̤Ǥ­¤Þ¤¹¡£ ¼«Æ°È½Ê̤ò»î¤ß¤ë¤Ë¤Ï¡¢¥×¥í¥È¥³¥ë¥¿¥¤¥×¤È¤·¤Æ auto ¤ò»ØÄꤷ¤Þ¤¹¡£

¥Þ¥¦¥¹¥Ç¡¼¥â¥ó¤ò¼Â¹ÔÃæ¤Ï¡¢¥Þ¥¦¥¹¥Ç¡¼¥â¥ó¤È¾¤Î¥×¥í¥°¥é¥à (¤¿¤È¤¨¤Ð X Window System) ¤Î´Ö¤Ç¥Þ¥¦¥¹¤Ø¤Î¥¢¥¯¥»¥¹¤òÄ´À°¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤³¤ÎÌäÂê¤Ë¤Ä¤¤¤Æ¤Ï X ¤È¥Þ¥¦¥¹¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

2.12. ¥Þ¥¦¥¹¤ò»È¤Ã¤Æ¡¢ ¥Æ¥­¥¹¥È¥³¥ó¥½¡¼¥ë¤Ç¥«¥Ã¥È¥¢¥ó¥É¥Ú¡¼¥¹¥È¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤¹¤«?

¥Þ¥¦¥¹¥Ç¡¼¥â¥ó¤òµ¯Æ° (Á°¤Î¼ÁÌä¤ËÂФ¹¤ëÅú¤¨¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤) ¤·¤¿¤¢¤È¡¢ ¥Ü¥¿¥ó 1 (º¸¥Ü¥¿¥ó) ¤ò²¡¤·¤Ê¤¬¤é¥Þ¥¦¥¹¤òÆ°¤«¤·¤ÆÈϰϤò»ØÄꤷ¤Þ¤¹¡£ ¥Ü¥¿¥ó 2 (Ãæ¥Ü¥¿¥ó) ¤Þ¤¿¤Ï¥Ü¥¿¥ó 3 (±¦¥Ü¥¿¥ó) ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¥Æ¥­¥¹¥È ¥«¡¼¥½¥ë¤Î°ÌÃÖ¤ËÁªÂò¤·¤¿ÈϰϤΥƥ­¥¹¥È¤¬¥Ú¡¼¥¹¥È¤µ¤ì¤Þ¤¹¡£

FreeBSD 2.2.6 °Ê¹ß¤Ç¤Ï¡¢¥Ü¥¿¥ó 2 ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¥Ú¡¼¥¹¥È¤µ¤ì¡¢¥Ü¥¿¥ó 3 ¤ò¥¯¥ê¥Ã¥¯¤·¤¿¾ì¹ç¤Ë´û¸¤ÎÁªÂòÈϰϤ¬¸½ºß¤Î¥Þ¥¦¥¹¥Ý¥¤¥ó¥¿¤Î°ÌÃÖ¤Þ¤Ç ¡Ö±äĹ¤Þ¤¿¤Ïû½Ì¡×¤µ¤ì¤Þ¤¹¡£¤â¤·¥Þ¥¦¥¹¤ËÃæ¥Ü¥¿¥ó¤¬¤Ê¤¤¤Ê¤é¡¢ moused ¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤ÆÃæ¥Ü¥¿¥ó¤Î¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó¤ò¤¹¤ë¤«¡¢ ¾¤Î¥Ü¥¿¥ó¤òÃæ¥Ü¥¿¥ó¤È¤·¤Æ»È¤¦»ö¤¬¤Ç¤­¤Þ¤¹¡£ ¾Ü¤·¤¯¤Ï moused(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.13. USB ¥Þ¥¦¥¹¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢FreeBSD ¤Ç»È¤¨¤Þ¤¹¤«?

USB ¥Ç¥Ð¥¤¥¹¤Ï FreeBSD 3.1 ¤«¤é¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤·¤¿¤¬¡¢ ¼ÂÁõ¤Ï FreeBSD 3.2 ¤Ç¤¢¤Ã¤Æ¤â¤Þ¤À´°Á´¤Ç¤Ï¤Ê¤¤¤¿¤á¡¢ ɬ¤º¤·¤â°ÂÄꤷ¤ÆÆ°ºî¤¹¤ë¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£ ¤â¤·¡¢¤½¤ì¤Ç¤â USB ¥Þ¥¦¥¹¤ò»È¤Ã¤Æ¤ß¤¿¤¤¤È¤¤¤¦¿Í¤Ï¡¢ °Ê²¼¤Î¼ê½ç¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

  1. FreeBSD 3.2 ¤«¡¢¤½¤ì°Ê¹ß¤ò»È¤¤¤Þ¤¹¡£

  2. ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤òÄɲä·¡¢ ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Þ¤¹¡£

    device  uhci
    device  ohci
    device  usb
    device  ums
    

    FreeBSD 4.0 ¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ Âå¤ï¤ê¤Ë¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

    controller      uhci0
    controller      ohci0
    controller      usb0
    device          ums0
    
  3. /dev ¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¡¢ ¼¡¤Î¤è¤¦¤Ë¤·¤Æ¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤òºîÀ®¤·¤Þ¤¹¡£

    # cd /dev
    # ./MAKEDEV ums0
    
  4. /etc/rc.conf ¤òÊÔ½¸¤·¡¢ °Ê²¼¤Î¹Ô¤òÄɲä·¤Þ¤¹¡£

    moused_enable="YES"
    moused_type="auto"
    moused_port="/dev/ums0"
    moused_flags=""
    usbd_enable="YES"
    usbd_flags=""
    

    moused ¤ÎÀßÄê¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ Á°¹à ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

  5. X ¤Î¥»¥Ã¥·¥ç¥ó¤Ç USB ¥Þ¥¦¥¹¤ò»È¤¦¤Ë¤Ï¡¢ XF86Config ¤òÊÔ½¸¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ XFree86 3.3.2¡¢¤â¤·¤¯¤Ï¤½¤ì°Ê¹ß¤òÍøÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ Pointer ¥»¥¯¥·¥ç¥ó¤¬¼¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

    Device          "/dev/sysmouse"
    Protocol        "Auto"
    

    ¤½¤ì¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î XFree86 ¤òÍøÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ Pointer ¥»¥¯¥·¥ç¥ó¤¬¼¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

    Device          "/dev/sysmouse"
    Protocol        "SysMouse"
    

X ´Ä¶­¤Ç¤Î¥Þ¥¦¥¹¤ÎÍøÍѤˤĤ¤¤Æ¤Ï¡¢ ¾¤Î¹à ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

USB ¥Þ¥¦¥¹¤Î³èÀþÁÞÈ´ (¥Û¥Ã¥È¥×¥é¥°µ¡Ç½) ¤Ï¡¢ ¤Þ¤À¤ª¤½¤é¤¯¤­¤Á¤ó¤ÈÆ°ºî¤·¤Ê¤¤¤È»×¤ï¤ì¤Þ¤¹¡£ ¥È¥é¥Ö¥ë¤òÈò¤±¤ë¤¿¤á¤Ë¤â¡¢¥Þ¥¦¥¹¤Ï¥·¥¹¥Æ¥à¤òµ¯Æ°¤µ¤»¤ëÁ°¤ËÀܳ¤·¤Æ¤ª¤­¡¢ ¥·¥ã¥Ã¥È¥À¥¦¥ó¤¹¤ë¤Þ¤Ç¤Ï¤º¤µ¤Ê¤¤¤è¤¦¤Ë¤·¤¿Êý¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£

2.14. ¤ï¤¿¤·¤Î¥Þ¥¦¥¹¤Ë¤Ï¥Û¥¤¡¼¥ëµ¡Ç½¤äÊØÍø¤Ê¥Ü¥¿¥ó¤¬¤Ä¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤Ï FreeBSD ¤Ç¤â»È¤¨¤ë¤Î¤Ç¤¹¤«?

Åú¤¨¤Ï»ÄÇ°¤Ê¤¬¤é¡Ö¾ì¹ç¤Ë¤è¤ê¤Þ¤¹¡×¤Ç¤¹¡£ ¤³¤¦¤·¤¿¥Þ¥¦¥¹¤ÎÉÕ²ÃŪ¤Êµ¡Ç½¤ÏÂçÄñ¤Î¾ì¹ç¡¢Æüì¤Ê¥É¥é¥¤¥Ð¤òɬÍפȤ·¤Þ¤¹¡£ ¥Þ¥¦¥¹¤Î¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤ä¥æ¡¼¥¶¤Î¥×¥í¥°¥é¥à¤¬ ¤½¤Î¥Þ¥¦¥¹¤ËÂФ¹¤ë¸ÇÍ­¤Î¥µ¥Ý¡¼¥È¤ò¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢ ɸ½àŪ¤Ê 2 ¥Ü¥¿¥ó/3 ¥Ü¥¿¥ó¥Þ¥¦¥¹¤Î¤è¤¦¤Ë¿¶Éñ¤¤¤Þ¤¹¡£

X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤Î´Ä¶­¤Ç¤Î¥Û¥¤¡¼¥ë¤Î»È¤¤Êý¤Ë¤Ä¤¤¤Æ¤Ï¡¢ X ¤È¥Û¥¤¡¼¥ë¤Î¹à¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

2.15. ¤ï¤¿¤·¤Î¥Þ¥¦¥¹¤Ï¤­¤Á¤ó¤ÈÆ°¤¤¤Æ¤¯¤ì¤Ê¤¤¤è¤¦¤Ç¤¹¡£ ¥Þ¥¦¥¹¥«¡¼¥½¥ë¤¬²èÌÌÃæ¤ò¤È¤Ó¤Þ¤ï¤ê¤Þ¤¹¡£ ¤³¤Î¥Þ¥¦¥¹¤Ë¤Ï¥Û¥¤¡¼¥ë¤¬¤Ä¤¤¤Æ¤¤¤Æ¡¢ Àܳ¤Ï PS/2 ¥Ý¡¼¥È¤Ç¤¹¡£

FreeBSD 3.2 ¤ª¤è¤Ó¤½¤ì°ÊÁ°¤Î PS/2 ¥Þ¥¦¥¹¥É¥é¥¤¥Ð psm ¤Ë¤Ï¡¢ Logitech ¥â¥Ç¥ë M-S48 ¤È¤½¤Î OEM ¤Î¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ÇÉÔ¶ñ¹ç¤¬È¯À¸¤·¤Þ¤¹¡£ °Ê²¼¤Î¥Ñ¥Ã¥Á¤ò /sys/i386/isa/psm.c ¤ËŬÍѤ·¤Æ¡¢¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£

Index: psm.c
===================================================================
RCS file: /src/CVS/src/sys/i386/isa/Attic/psm.c,v
retrieving revision 1.60.2.1
retrieving revision 1.60.2.2
diff -u -r1.60.2.1 -r1.60.2.2
--- psm.c	1999/06/03 12:41:13	1.60.2.1
+++ psm.c	1999/07/12 13:40:52	1.60.2.2
@@ -959,14 +959,28 @@
     sc->mode.packetsize = vendortype[i].packetsize;

     /* set mouse parameters */
+#if 0
+    /*
+     * A version of Logitech FirstMouse+ won't report wheel movement,
+     * if SET_DEFAULTS is sent...  Don't use this command.
+     * This fix was found by Takashi Nishida.
+     */
     i = send_aux_command(sc->kbdc, PSMC_SET_DEFAULTS);
     if (verbose >= 2)
 	printf("psm%d: SET_DEFAULTS return code:%04x\n", unit, i);
+#endif
     if (sc->config & PSM_CONFIG_RESOLUTION) {
         sc->mode.resolution
 	    = set_mouse_resolution(sc->kbdc,
-	        (sc->config & PSM_CONFIG_RESOLUTION) - 1);
+				   (sc->config & PSM_CONFIG_RESOLUTION) - 1);
+    } else if (sc->mode.resolution >= 0) {
+	sc->mode.resolution
+	    = set_mouse_resolution(sc->kbdc, sc->dflt_mode.resolution);
+    }
+    if (sc->mode.rate > 0) {
+	sc->mode.rate = set_mouse_sampling_rate(sc->kbdc, sc->dflt_mode.rate);
     }
+    set_mouse_scaling(sc->kbdc, 1);

     /* request a data packet and extract sync. bits */
     if (get_mouse_status(sc->kbdc, stat, 1, 3) < 3) {

FreeBSD 3.2 ¤è¤ê¿·¤·¤¤¥ê¥ê¡¼¥¹¤Ç¤Ï¤­¤Á¤ó¤ÈÆ°ºî¤¹¤ë¤Ï¤º¤Ç¤¹¡£

2.16. ¥é¥Ã¥×¥È¥Ã¥× PC ¤Î¥Þ¥¦¥¹/¥È¥é¥Ã¥¯¥Ü¡¼¥ë/¥¿¥Ã¥Á¥Ñ¥Ã¥É¤Ï»È¤¨¤Þ¤¹¤«?

2.17. ¤É¤ó¤Ê¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

FreeBSD ¤Ï SCSI ¤È QIC-36 (QIC-02 ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ÉÕ¤­) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Ë¤Ï 8-mm (Exabyte ¤È¸Æ¤Ð¤ì¤Æ¤¤¤Þ¤¹) ¤ä DAT ¥É¥é¥¤¥Ö¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

½é´ü¤Î 8-mm ¥É¥é¥¤¥Ö¤ÎÃæ¤Ë¤Ï SCSI-2 ¤È¤Þ¤Ã¤¿¤¯¸ß´¹À­¤ò»ý¤¿¤Ê¤¤¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤é¤Ï FreeBSD ¾å¤Ç¤ÏÆ°ºî¤·¤Þ¤»¤ó¡£

2.18. ¤É¤ó¤Ê¥Æ¡¼¥×¥Á¥§¥ó¥¸¥ã¡¼¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

FreeBSD 2.2 ¤Ï ch(4) ¥Ç¥Ð¥¤¥¹¤È chio(1) ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤¿ SCSI ¥Á¥§¥ó¥¸¥ã¡¼¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¼ÂºÝ¤Î¥Á¥§¥ó¥¸¥ã¡¼¤ÎÀ©¸æÊýË¡¤Î¾ÜºÙ¤Ï¡¢chio(1) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

»ÈÍѤ·¤Æ¤¤¤ëÀ½Éʤ¬ AMANDA ¤Î¤è¤¦¤Ë¥Á¥§¥ó¥¸¥ã¡¼¤ËÂбþºÑ¤ß¤Î¤â¤Î¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢ ¼¡¤Î¤³¤È¤Ë¤Ä¤¤¤Æα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤é¤ÎÀ½ÉʤÏǤ°Õ¤Î¥Ý¥¤¥ó¥È´Ö¤Î¥Æ¡¼¥×¤Î°ÜÆ°¤òÀ©¸æ¤¹¤ë¤À¤±¤Ê¤Î¤Ç¡¢ ¥Æ¡¼¥×¤¬¤É¤Î¥¹¥í¥Ã¥È¤ËÆþ¤Ã¤Æ¤¤¤ë¤«¡¢¸½ºß¥É¥é¥¤¥Ö¤Ë¤¢¤ë¥Æ¡¼¥×¤¬ ¤É¤Î¥¹¥í¥Ã¥È¤ËÌá¤ë¤Ù¤­¤«¤òÇÄ°®¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

2.19. ¤É¤ó¤Ê¥µ¥¦¥ó¥É¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

FreeBSD ¤Ï SoundBlaster¡¢SoundBlaster Pro¡¢SoundBlaster 16¡¢ Pro Audio Spectrum 16¡¢AdLib ¤½¤ì¤«¤é Gravis UltraSound ¥µ¥¦¥ó¥É¥«¡¼¥É¤ò ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£MPU-401 ¤ä¤½¤Î¸ß´¹¥«¡¼¥É¤âµ¡Ç½¤ËÀ©¸Â¤Ï¤¢¤ë¤â¤Î¤Î ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥Þ¥¤¥¯¥í¥½¥Õ¥È¥µ¥¦¥ó¥É¥·¥¹¥Æ¥à¤Î¥¹¥Ú¥Ã¥¯¤Ë½àµò ¤·¤¿¥«¡¼¥É¤â¡¢pcm ¥É¥é¥¤¥Ð¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

注意: ¤³¤ì¤é¤Ï¥µ¥¦¥ó¥É¤Ë¤Ä¤¤¤Æ¤Î¤ß¤ÎÏäǤ¹! ¤³¤ì¤é¤Î¥É¥é¥¤¥Ð¤Ï CD-ROM¡¢SCSI¡¢¥«¡¼¥É¾å¤Ë¤¢¤ë¥¸¥ç¥¤¥¹¥Æ¥£¥Ã¥¯¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó (SoundBlaster ¤ÏÎã³°¤Ç¤¹)¡£SoundBlaster SCSI ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ÈÈó SCSI CD-ROM ¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¤½¤Î¥Ç¥Ð¥¤¥¹¤«¤é¤Ïµ¯Æ°¤Ç¤­¤Þ¤»¤ó¡£

2.20. pcm ¥É¥é¥¤¥Ð¤Ç es1370 ¤«¤é²»¤¬½Ð¤Ê¤¤¤Î¤Ï¤É¤¦¤Ë¤«¤Ê¤ê¤Þ¤»¤ó¤«?

¥Þ¥·¥ó¤òµ¯Æ°¤¹¤ë¤´¤È¤Ë°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# mixer pcm 100 vol 100 cd 100

2.21. ¤É¤ó¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

¤è¤ê´°Á´¤Ê°ìÍ÷¤Ë¤Ä¤¤¤Æ¤Ï¥¤¡¼¥µ¥Í¥Ã¥È¥«¡¼¥É¤ÎÀá¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.22. ¿ôÃͱ黻¥³¥×¥í¥»¥Ã¥µ¤ò»ý¤Ã¤Æ¤¤¤Þ¤»¤ó¤¬¡¢²¿¤«¤Þ¤º¤¤¤Ç¤·¤ç¤¦¤«?

注意: ¤³¤ì¤é¤Ï 386/486SX/486SLC ¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë±Æ¶Á¤·¤Þ¤¹ - ¤Û¤«¤Î¥Þ¥·¥ó¤Ç¤Ï CPU ¤ËÆ⢤µ¤ì¤Æ¤¤¤Þ¤¹¡£



°ìÈ̤ˤ³¤ì¤é¤ÏÌäÂê¤È¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢¿ôÃͱ黻¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó¥³¡¼¥É¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤«¡¢ Àµ³Î¤µ¤Î¤¤¤º¤ì¤«¤òÁªÂò¤¹¤ë¾õ¶·¤¬¤¢¤ê¤Þ¤¹ (¾Ü¤·¤¯¤Ï FP ¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó ¤Ë¤Ä¤¤¤Æ¤ÎÀá¤ò¤´Í÷¤¯¤À¤µ¤¤)¡£ ¤È¤¯¤Ë¡¢X ¾å¤Ç¸Ì¤òÉÁ¤¯ºÝ¤Ë¤È¤Æ¤âÃÙ¤¯¤Ê¤ë¤³¤È¤Ç¤·¤ç¤¦¡£ ¿ôÃͱ黻¥³¥×¥í¥»¥Ã¥µ¤ò¹ØÆþ¤µ¤ì¤ë¤³¤È¤ò¶¯¤¯¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¤È¤Æ¤âÌòΩ¤Ä¤³¤È¤Ç¤·¤ç¤¦¡£

注意: ¾¤Î¿ôÃͱ黻¥³¥×¥í¥»¥Ã¥µ¤è¤ê¤âÍ¥¤ì¤¿¥³¥×¥í¥»¥Ã¥µ¤â¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¸À¤¤¤Ë¤¯¤¤¤³¤È¤Ê¤Î¤Ç¤¹¤¬¡¢Intel ¤òÇ㤦¤¿¤á¤ËÌöµ¯¤Ë¤Ê¤ë¿Í¤â¤¤¤Ê¤¤¤Ç¤·¤ç¤¦¡£ ¤½¤ì¤¬ FreeBSD ¾å¤ÇÆ°¤¯¤È¤¤¤¦³Î¿®¤¬¤Ê¤¤¤Î¤Ê¤é¡¢¥¯¥í¡¼¥ó¤Ë¤´ÍÑ¿´¤ò¡£

2.23. FreeBSD ¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥Ç¥Ð¥¤¥¹¤Ï¾¤Ë¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤«?

FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Ëµ­¤µ¤ì¤Æ¤¤¤ë¡¢ ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¾¤Î¥Ç¥Ð¥¤¥¹¤Î°ìÍ÷¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.24. ¥Ñ¥ï¡¼¥Þ¥Í¡¼¥¸¥á¥ó¥Èµ¡Ç½ÉÕ¤­¤Î¥é¥Ã¥×¥È¥Ã¥× PC ¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡Ä¡£

FreeBSD ¤Ï°ìÉô¤Î¥Þ¥·¥ó¤Î APM ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ LINT ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë ¤Î APM ¤ÎÉôʬ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ¤µ¤é¤Ë¾Ü¤·¤¤¤³¤È¤Ï apm(4) ¤ËºÜ¤Ã¤Æ¤¤¤Þ¤¹¡£

2.25. Micron ¥·¥¹¥Æ¥à¤¬µ¯Æ°»þ¤Ë¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

ÆÃÄê¤Î Micron À½¤Î¥Þ¥¶¡¼¥Ü¡¼¥É¤ÎÃæ¤Ë¤Ï¡¢PCI BIOS ¤¬µ¬³ÊÄ̤ê¤Ë ¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¤Ë FreeBSD ¤Îµ¯Æ°¤Ë¼ºÇÔ¤¹¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¤½¤Î BIOS ¤Ï¡¢PCI ¥Ç¥Ð¥¤¥¹¤ò¤¢¤ë¥¢¥É¥ì¥¹¤ÇÀßÄꤷ¤¿¤ÈÊó¹ð¤¹¤ë¤Ë¤â ´Ø¤ï¤é¤º¡¢¼ÂºÝ¤Ë¤Ï¤½¤¦¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¡£

¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ë¤Ë¤Ï¡¢BIOS ¤Î “Plug and Play Operating System” ¤ò̵¸ú¤ËÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¤Þ¤¿¡¢¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html#micron ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.26. ¿·¤·¤¤ Adaptec ¥³¥ó¥È¥í¡¼¥é¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ FreeBSD ¤¬¸¡½Ð¤Ç¤­¤Ê¤¤¤è¤¦¤Ç¤¹¡£

¿·¤·¤¤ AIC789x ¥·¥ê¡¼¥º¤Î Adaptec ¥Á¥Ã¥×¤Ï¡¢3.0 ¤Ç¥Ç¥Ó¥å¡¼¤·¤¿ CAM SCSI ¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ 2.2-STABLE ¤Î¥Ñ¥Ã¥Á¤Ï ftp://ftp.FreeBSD.org/pub/FreeBSD/development/cam/ ¤Ë¤¢¤ê¤Þ¤¹¡£ CAM ¥·¥¹¥Æ¥à¤¬Æþ¤Ã¤Æ¤¤¤ë¹âµ¡Ç½¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤Ï http://people.FreeBSD.org/~abial/cam-boot/ ¤Ë¤¢¤ê¤Þ¤¹¡£ ¤É¤Á¤é¤Î¾ì¹ç¤Ë¤·¤Æ¤â¡¢ºî¶È¤ò»Ï¤á¤ëÁ°¤Ë README ¤ò¤ªÆɤߤ¯¤À¤µ¤¤¡£

2.27. Æ⢤ΠPlug & Play ¥â¥Ç¥à¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢FreeBSD ¤¬¸¡½Ð¤Ç¤­¤Ê¤¤¤è¤¦¤Ç¤¹¡£

¥â¥Ç¥à¤Î PnP ID ¤ò ¥·¥ê¥¢¥ë¥É¥é¥¤¥Ð¤Î PnP ID ¥ê¥¹¥È¤ËÄɲ乤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£ Plug & Play ¥µ¥Ý¡¼¥È¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢ controller pnp0 ¤ò¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó ¥Õ¥¡¥¤¥ë¤ËÉÕ¤±²Ã¤¨¡¢ ¿·¤·¤¤¥«¡¼¥Í¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥«¡¼¥Í¥ë¤Ï¡¢¸¡½Ð¤·¤¿¤¹¤Ù¤Æ¤Î¥Ç¥Ð¥¤¥¹¤Î PnP ID ¤òɽ¼¨¤·¤Þ¤¹¡£ ¥â¥Ç¥à¤ÎÍó¤Ë¤¢¤ë PnP ID ¤ò /sys/i386/isa/sio.c ¤Î 2777 ¹ÔÌܤ¯¤é¤¤¤Ë¤¢¤ë¥Æ¡¼¥Ö¥ë¤Ë½ñ¤­Æþ¤ì¤Æ¤¯¤À¤µ¤¤¡£ ¥Æ¡¼¥Ö¥ë¤ò¸«¤Ä¤±¤ë¤Ë¤Ï¡¢¹½Â¤ÂÎ siopnp_ids[] ¤Îʸ»úÎó SUP1310 ¤òõ¤·¤Þ¤¹¡£ ¥«¡¼¥Í¥ë¤òºî¤êľ¤·¤¿¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤¦¤¹¤ì¤Ð¡¢¥â¥Ç¥à¤¬¸¡½Ð¤µ¤ì¤ë¤Ï¤º¤Ç¤¹¡£

µ¯Æ°»þ¤Î¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤ÎºÝ¤Ë¡¢pnp ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ PnP ¤ÎÀßÄê¤ò¥Þ¥Ë¥å¥¢¥ë¤Ç¹Ô¤Ê¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤½¤Î¾ì¹ç¡¢¥â¥Ç¥à¤ò¸¡½Ð¤µ¤»¤ë¤¿¤á¤Î¥³¥Þ¥ó¥É¤Ï

pnp 1 0 enable os irq0 3 drq0 0 port0 0x2f8

¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

2.28. ¥·¥ê¥¢¥ë¥³¥ó¥½¡¼¥ë¤Ç boot: ¥×¥í¥ó¥×¥È¤òɽ¼¨¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?

  • options COMCONSOLE ¤ò»ØÄꤷ¤Æ¥«¡¼¥Í¥ë¤ò¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£

  • ¤½¤·¤Æ /boot.config ¤òºîÀ®¤·¤Æ -P ¤È¤À¤±½ñ¤­Æþ¤ì¤Æ¤¯¤À¤µ¤¤¡£

  • ¤½¤Î¸å¡¢¥­¡¼¥Ü¡¼¥É¤ò¥·¥¹¥Æ¥à¤«¤éÈ´¤­¤Þ¤¹¡£

  • /usr/src/sys/i386/boot/biosboot/README.serial ¤Ë¡¢ ¤³¤ì¤Ë´Ø¤¹¤ë¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

2.29. ¤Ê¤¼ Micron ¥³¥ó¥Ô¥å¡¼¥¿¤Ç 3Com PCI ¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤¬Æ°¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?

ÆÃÄê¤Î Micron À½¤Î¥Þ¥¶¡¼¥Ü¡¼¥É¤ÎÃæ¤Ë¤Ï¡¢PCI BIOS ¤¬µ¬³ÊÄ̤ê¤Ë ¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¤Ë FreeBSD ¤Îµ¯Æ°¤Ë¼ºÇÔ¤¹¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¤½¤Î BIOS ¤Ï¡¢PCI ¥Ç¥Ð¥¤¥¹¤ò¤¢¤ë¥¢¥É¥ì¥¹¤ÇÀßÄꤷ¤¿¤ÈÊó¹ð¤¹¤ë¤Ë¤â ´Ø¤ï¤é¤º¡¢¼ÂºÝ¤Ë¤Ï¤½¤¦¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¡£

¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ë¤Ë¤Ï¡¢BIOS ¤Î “Plug and Play Operating System” ¤ò̵¸ú¤ËÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¤Þ¤¿¡¢¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html#micron ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

2.30. Âоη¿¥Þ¥ë¥Á¥×¥í¥»¥·¥ó¥° (SMP) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

SMP ¤Ï¡¢3.0-STABLE ¤È¤½¤ì°Ê¹ß¤Î¥ê¥ê¡¼¥¹¤Ç¤Î¤ß¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ GENERIC ¥«¡¼¥Í¥ë¤Ç¤Ï SMP ¤ÏÍ­¸ú²½¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Î¤Ç¡¢ SMP ¤òÍ­¸ú²½¤¹¤ë¤Ë¤Ï¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ /sys/i386/conf/LINT ¤ò¸«¤Æ¡¢ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤Ë¤É¤Î¥ª¥×¥·¥ç¥ó¤òÄɲ乤ì¤ÐÎɤ¤¤Î¤«³Î¤«¤á¤Æ¤¯¤À¤µ¤¤¡£

2.31. ASUS K7V ¥Þ¥¶¡¼¥Ü¡¼¥É¤Î¥·¥¹¥Æ¥à¤Ç¥Ö¡¼¥È¥Õ¥í¥Ã¥Ô¡¼¤ò»È¤¦¤È¡¢ ¥·¥¹¥Æ¥à¤¬¥Ï¥ó¥°¥¢¥Ã¥×¤·¤Þ¤¹¡£ Âбþºö¤Ï¤¢¤ê¤Þ¤»¤ó¤«?

BIOS ¥»¥Ã¥È¥¢¥Ã¥×¤Ç “µ¯Æ°»þ¤Î¥¦¥£¥ë¥¹Êݸǽ” ¤ò̵¸ú²½¤·¤Æ¤¯¤À¤µ¤¤¡£


第 3章¥È¥é¥Ö¥ë¥·¥å¡¼¥Æ¥£¥ó¥°

Ìõ: ÆâÀî ´î¾Ï ¡¢ 1997 ǯ 11 ·î 10 Æü

3.1. ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤ËÉÔÎÉ¥Ö¥í¥Ã¥¯¤¬¤¢¤ê¤Þ¤¹!
3.2. Bustek 742a EISA SCSI ¤¬Ç§¼±¤µ¤ì¤Þ¤»¤ó¡£
3.3. HP Netserver ¾å¤Î¥ª¥ó¥Ü¡¼¥É SCSI ¥³¥ó¥È¥í¡¼¥é¤¬Ç§¼±¤µ¤ì¤Þ¤»¤ó¡£
3.4. ¤³¤Î CMD640 IDE ¥³¥ó¥È¥í¡¼¥é¤Ï¤É¤³¤«¤ª¤«¤·¤¤¤è¤¦¤Ç¤¹¡£
3.5. ed1: timeout ¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬¤¤¤Ä¤â½Ð¤Þ¤¹¡£
3.6. CDROM ¤ò¥Þ¥¦¥ó¥È¤·¤è¤¦¤È¤¹¤ë¤È Incorrect super block ¤È¸À¤ï¤ì¤Þ¤¹¡£
3.7. CDROM ¤ò¥Þ¥¦¥ó¥È¤·¤è¤¦¤È¤¹¤ë¤È Device not configured ¤È¸À¤ï¤ì¤Þ¤¹¡£
3.8. CDROM ¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤È¡¢¥Õ¥¡¥¤¥ë̾Ãæ¤Î±Ñ¿ô»ú°Ê³°¤Î ʸ»ú¤¬¡¢“?” ¤Èɽ¼¨¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
3.9. »ä¤Î¥×¥ê¥ó¥¿¤Ï¤È¤Æ¤Ä¤â¤Ê¤¯ÃÙ¤¤¤Î¤Ç¤¹¡£ ¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤·¤ç¤¦?
3.10. ¤ï¤¿¤·¤Î¥×¥í¥°¥é¥à¤Ï»þ¡¹ Signal 11 ¤Î¥¨¥é¡¼¤Ç»ß¤Þ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
3.11. µ¯Æ°¤Î»þ¤Ë²èÌ̤¬¿¿¤Ã°Å¤Ë¤Ê¤Ã¤ÆƱ´ü¤â¼è¤ì¤Þ¤»¤ó¡£
3.12. 128MB ¤Î RAM ¤¬¤¢¤ë¤Î¤Ç¤¹¤¬¡¢64MB ¤·¤«Ç§¼±¤·¤Þ¤»¤ó¡£
3.13. FreeBSD 2.0 ¤¬ kmem_map too small! ¤È¸À¤Ã¤Æ¥Ñ¥Ë¥Ã¥¯¤·¤Þ¤¹¡£
3.14. ¿·¤·¤¤¥«¡¼¥Í¥ë¤ÇºÆµ¯Æ°¤¹¤ë¤È CMAP busy panic ¤È¤Ê¤Ã¤Æ¥Ñ¥Ë¥Ã¥¯¤òµ¯¤³¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
3.15. ahc0: brkadrint, Illegal Host Access at seqaddr 0x0 ¤È¤¤¤¦¥¨¥é¡¼¤¬½Ð¤Þ¤¹
3.16. sendmail ¤¬ mail loops back to myself ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤ò½Ð¤¹¤Î¤Ç¤¹¤¬¡£
3.17. ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¤¦¤Þ¤¯Æ°¤«¤Ê¤¤
3.18. »ä¤Î¥Þ¥·¥ó¤Ç calcru: negative time... ¤Èɽ¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬
3.19. pcm0 not found ¤È¤¤¤¦É½¼¨¤ò¸«¤¿¤ê ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë¤Ï device pcm0 ¤È ½ñ¤¤¤Æ¤¢¤ë¤Î¤Ë¥µ¥¦¥ó¥É¥«¡¼¥É¤¬ pcm1 ¤È¤·¤Æ ȯ¸«¤µ¤ì¤¿¤ê¤·¤Þ¤¹¡£
3.20. ¥×¥é¥°¥¢¥ó¥É¥×¥ì¥¤¤Î¥«¡¼¥É¤¬Ç§¼±¤µ¤ì¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿ (¤Þ¤¿¤Ï¡¢unknown ¤Èǧ¼±¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿)¡£
3.21. top ¤ä systat ¤Î ¼Â¹ÔÃæ¤Ë “nlist failed” ¤È¤¤¤¦ ¥¨¥é¡¼¤¬¤Ç¤Þ¤¹¡£
3.22. ssh(1) ¤ä telnet(1) ¤Ç¥³¥ó¥Ô¥å¡¼¥¿¤ËÀܳ¤¹¤ë ¤Î¤Ë¡¢¤É¤¦¤·¤Æ¤³¤ó¤Ê¤Ë»þ´Ö¤¬¤«¤«¤ë¤Î¤Ç¤¹¤«?
3.23. file: table is full” ¤È¤¤¤¦ ¥á¥Ã¥»¡¼¥¸¤¬·«¤êÊÖ¤· dmesg ¤Ë¤¢¤é¤ï¤ì¤Þ¤¹¡£
3.24. laptop ¤Î»þ´Ö¤¬¶¸¤Ã¤Æ¡¢Â礭¤¯¿Ê¤ó¤À¤êÃ٤줿¤ê¤·¤Þ¤¹¡£
3.25. BIOS ²èÌ̤¬½Ð¤¿¸å¡¢FreeBSD ¤Î¥Ö¡¼¥È¥í¡¼¥À¤¬ “Read error” ¤Èɽ¼¨¤·¤Æ»ß¤Þ¤Ã¤Æ ¤·¤Þ¤¤¤Þ¤¹¡£
3.26. Ê̤Υª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬¡¢¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ò ²õ¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£¤É¤¦¤¹¤ì¤ÐÉüµì¤Ç¤­¤ë¤Ç¤·¤ç¤¦¤«¡£

3.1. ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤ËÉÔÎÉ¥Ö¥í¥Ã¥¯¤¬¤¢¤ê¤Þ¤¹!

SCSI ¥Ç¥£¥¹¥¯¤Î¾ì¹ç¤Ï¼«Æ°Åª¤ËºÆ¥Þ¥Ã¥×¤¹¤ëµ¡Ç½¤¬¤¢¤ë¤Ï¤º¤Ç¤¹¡£ ¤·¤«¤·¡¢Íý²ò¤·Æñ¤¤Íýͳ¤«¤é¿¤¯¤Î¥É¥é¥¤¥Ö¤¬¤³¤Îµ¡Ç½¤¬Ìµ¸ú²½ ¤µ¤ì¤Æ½Ð²Ù¤µ¤ì¤Æ¤¤¤Þ¤¹¡Ä¡£

¤³¤ì¤òÍ­¸ú²½¤¹¤ë¤Ë¤Ï¡¢ ºÇ½é¤Î¥Ç¥Ð¥¤¥¹¤Î¥â¡¼¥É¥Ú¡¼¥¸¤òÊѹ¹¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ç¡¢FreeBSD ¾å¤Ç¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹ (root ¸¢¸Â¤Ç¹Ô¤Ê¤¤¤Þ¤¹)¡£

# scsi -f /dev/rsd0c -m 1 -e -P 3

¤½¤·¤Æ¡¢AWRE ¤È ARRE ¤ÎÃͤò 0 ¤«¤é 1 ¤ØÊѹ¹¤·¤Þ¤¹

AWRE (Auto Write Reallocation Enbld):  1
ARRE (Auto Read Reallocation Enbld):  1

°Ê²¼¤Ï¡¢Ted Mittelstaedt »á¤«¤é´ó¤»¤é¤ì¤¿¤â¤Î¤Ç¤¹¡£

IDE ¥É¥é¥¤¥Ö¤Î¾ì¹ç¤ÏÄ̾ÉÔÎÉ¥Ö¥í¥Ã¥¯¤ÏÀøºßŪ¤Ê¾ã³²¤ÎÃû¸õ¤Ç¤¹¡£ ºÇ¶á¤Î IDE ¥É¥é¥¤¥Ö¤Ï¡¢ÆâÉô¤ÎÉÔÎÉ¥Ö¥í¥Ã¥¯ºÆ¥Þ¥Ã¥Ô¥ó¥°µ¡Ç½¤òÍ­¸ú¤Ë¤·¤¿¾õÂÖ¤Ç ½Ð²Ù¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢º£Æü¤Î IDE ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥á¡¼¥«¤Ï¡¢ ½Ð²Ù°Ê¹ß¤ËÉÔÎÉ¥Ö¥í¥Ã¥¯¤¬È¯À¸¤¹¤ë¤³¤È¤Ë´Ø¤·¤ÆÊݾڤòÄ󶡤·¤Æ¤¤¤Æ¡¢ ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Î¤¢¤ë¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤ò¸ò´¹¤¹¤ë¥µ¡¼¥Ó¥¹¤ò¹Ô¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¤â¤·¡¢ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Î¤¢¤ë IDE ¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤òÉüµì¤·¤è¤¦¤È»×¤¦¤Ê¤é¡¢ IDE ¥É¥é¥¤¥Ö¥á¡¼¥«¤¬Ä󶡤¹¤ë IDE ¿ÇÃÇ¥×¥í¥°¥é¥à¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¡¢ ¤½¤Î¥É¥é¥¤¥Ö¤Ë»È¤Ã¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¼ï¤Î¥×¥í¥°¥é¥à¤ÏÂçÄñ¡¢ ¥É¥é¥¤¥Ö¤ÎÀ©¸æÉôʬ¤ËÂФ·¤ÆÉÔÎÉ¥Ö¥í¥Ã¥¯¤òºÆÁöºº¤·¡¢ ÉÔÎÉ¥Ö¥í¥Ã¥¯¤ò»ÈÍÑÉÔǽ¤Ë¤¹¤ë¤è¤¦¤Ë¥»¥Ã¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

ESDI¡¢RLL ¤ª¤è¤Ó MFM ¥É¥é¥¤¥Ö¤Î¾ì¹ç¡¢ ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Ï¥É¥é¥¤¥Ö¤ÎÀµ¾ï¤ÊÉôʬ¤Ç¤¢¤ê¡¢ °ìÈÌŪ¤Ë¸À¤Ã¤Æ¾ã³²¤òɽ¤¹¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ PC ¤Ç¤Ï¡¢¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¥³¥ó¥È¥í¡¼¥é¥«¡¼¥É¤È BIOS ¤¬ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Î»ÈÍÑÉÔǽ²½¤Îºî¶È¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£ DOS ¤Ê¤É¡¢¥Ç¥£¥¹¥¯¥¢¥¯¥»¥¹¤Ë BIOS ¤ò·Ðͳ¤¹¤ë OS ¤Ë¤È¤Ã¤Æ¤ÏÍ­¸ú¤ËƯ¤­¤Þ¤¹¤¬¡¢FreeBSD ¤Î¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ð¤Ï BIOS ¤òÍøÍѤ·¤Þ¤»¤ó¡£¤½¤Î¤¿¤á¡¢ ÂåÂؤȤ·¤Æ bad144 ¤È¤¤¤¦µ¡¹½¤¬Â¸ºß¤·¤Þ¤¹¡£ bad144 ¤Ï¡¢wd ¥É¥é¥¤¥Ð¤Ç¤À¤± (¤Ä¤Þ¤ê FreeBSD 4.0 ¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤)Æ°ºî¤·¡¢SCSI ¥É¥é¥¤¥Ð¤ËÍøÍѤ¹¤ë¤³¤È¤Ï ¤Ç¤­¤Þ¤»¤ó¡£bad144 ¤Ï¡¢ ¸¡½Ð¤µ¤ì¤¿ÉÔÎÉ¥»¥¯¥¿¤ò¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤Ëµ­Ï¿¤¹¤ë¤È¤¤¤¦µ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£

bad144 ¤òÍøÍѤ¹¤ë¾å¤Ç¡¢Ãí°Õ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ÅÀ¤¬°ì¤Ä¤¢¤ê¤Þ¤¹¡£ ¤½¤ì¤Ï¡¢ÉÔÎÉ¥Ö¥í¥Ã¥¯¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤Ï¡¢ ¥Ç¥£¥¹¥¯¤ÎºÇ½ª¥È¥é¥Ã¥¯¤ËÃÖ¤«¤ì¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥£¥¹¥¯¤ÎÀèƬ¤ÎÉնᡢ /kernel ¥Õ¥¡¥¤¥ë¤¬°ÌÃÖ¤·¤Æ¤¤¤ë¤Ç¤¢¤í¤¦Éôʬ¤ÇȯÀ¸¤·¤¿ÉÔÎÉ¥»¥¯¥¿¤¬µ­Ï¿¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï BIOS ¥³¡¼¥ë¤ò»È¤Ã¤Æ¥«¡¼¥Í¥ë¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤àµ¯Æ°¥×¥í¥°¥é¥à¤¬¡¢ ¥¢¥¯¥»¥¹²Äǽ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¤Ä¤Þ¤ê¡¢bad144 ¤òÍøÍѤ¹¤ë¥Ç¥£¥¹¥¯¤Ï 1024 ¥·¥ê¥ó¥À¡¢16 ¥Ø¥Ã¥É¡¢63 ¥»¥¯¥¿¤òĶ¤¨¤Æ¤Ï¤Ê¤é¤Ê¤¤¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¡¢ bad144 ¤òÍøÍѤ·¤¿¥Ç¥£¥¹¥¯¤¬¼Â¼Á 500MB ¤òĶ¤¨¤é¤ì¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

bad144 ¤ò»È¤¦¤Ë¤Ï¡¢FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ëɽ¼¨¤µ¤ì¤ë fdisk ²èÌÌ¤Ç “Bad Block” Áöºº¤ò ON ¤ËÀßÄꤹ¤ë¤À¤±¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢FreeBSD 2.2.7 °Ê¹ß¤Çµ¡Ç½¤·¤Þ¤¹¡£ ¥Ç¥£¥¹¥¯¤Ï¡¢1024 ¥·¥ê¥ó¥À°ÊÆâ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ï»öÁ°¤Ë¾¯¤Ê¤¯¤È¤â 4 »þ´Ö¡¢ ¥Ç¥£¥¹¥¯¤¬²¹Å٤ˤè¤Ã¤ÆËÄÄ¥¤·¡¢ ¥È¥é¥Ã¥¯¤Ë¶Ê¤¬¤ê¤¬½Ð¤ë¤Þ¤Ç²óž¤µ¤»¤ë¤³¤È¤ò¤ªÁ¦¤á¤·¤Þ¤¹ (ÌõÃí: ²¹ÅÙÊѲ½¤ËÂФ¹¤ëËÄÄ¥¤Ë¤è¤Ã¤Æ¡¢ ¥Ç¥£¥¹¥¯¤¬Èù¾®ÊÑ·Á¤¹¤ë¤³¤È¤Ë¤è¤êȯÀ¸¤¹¤ëÉÔÎÉ¥»¥¯¥¿¤ò³Î¼Â¤Ë¸¡½Ð¤¹¤ë¤¿¤á¤Ç¤¹)¡£

ÂçÍÆÎ̤ΠESDI ¥É¥é¥¤¥Ö¤Î¤è¤¦¤Ë 1024 ¥·¥ê¥ó¥À¤òĶ¤¨¤ë¥Ç¥£¥¹¥¯¤Î¾ì¹ç¡¢ DOS ¾å¤Ç¤½¤Î¥Ç¥£¥¹¥¯¤¬ÍøÍѤǤ­¤ë¤è¤¦¡¢ ESDI ¥³¥ó¥È¥í¡¼¥é¤ÏÆüì¤ÊÊÑ´¹¥â¡¼¥É¤òÍøÍѤ·¤Þ¤¹¡£ fdisk ¤Î “set geometry” ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ “ÊÑ´¹¤µ¤ì¤¿ (translated)” ¥¸¥ª¥á¥È¥ê¤ËÀÚÂؤ¨¤ë¤È¡¢wd ¥É¥é¥¤¥Ð¤Ï¤³¤ÎÊÑ´¹¥â¡¼¥É¤ò²ò¼á¤Ç¤­¤Þ¤¹¡£ ¤½¤ÎºÝ¡¢FreeBSD ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤¹¤ë¤Î¤Ë “dangerously dedicated” ¥â¡¼¥É¤òÍøÍѤ·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ ¤³¤Î¥â¡¼¥É¤Ï¡¢¤½¤Î¤è¤¦¤Ê¥¸¥ª¥á¥È¥ê¤ò̵»ë¤¹¤ë¤«¤é¤Ç¤¹¡£ ¤¿¤È¤¨ fdisk ¤¬¥ª¡¼¥Ð¡¼¥é¥¤¥É¤µ¤ì¤¿¥¸¥ª¥á¥È¥ê¾ðÊó¤ò»È¤Ã¤¿¤È¤·¤Æ¤â¡¢ °ÍÁ³¤È¤·¤Æ¥Ç¥£¥¹¥¯¤Î¿¿¤ÎÂ礭¤µ¤òÊÝ»ý¤·¤Æ¤¤¤ë¤¿¤á¡¢Â礭¤¹¤®¤ë FreeBSD ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤·¤è¤¦¤È¤·¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£ ¥Ç¥£¥¹¥¯¥¸¥ª¥á¥È¥ê¾ðÊó¤¬ÊÑ´¹¤µ¤ì¤¿¥¸¥ª¥á¥È¥ê¾ðÊó¤Ë¤«¤ï¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¼êÆ°¤Ç¥Ö¥í¥Ã¥¯¿ô¤òÆþÎϤ·¡¢ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

ÂçÍÆÎ̤ΠESDI ¥Ç¥£¥¹¥¯¤ò ESDI ¥³¥ó¥È¥í¡¼¥é¤Ç¥»¥Ã¥È¥¢¥Ã¥×¤¹¤ë¤Ë¤Ï¡¢ ¤Á¤ç¤Ã¤È¤·¤¿¥È¥ê¥Ã¥¯¤ò»È¤¤¤Þ¤¹¡£¤Þ¤º¡¢DOS ¤Î¥Ç¥£¥¹¥¯¤Çµ¯Æ°¤·¤Æ ¤½¤Î¥Ç¥£¥¹¥¯¤ò DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤È¤·¤Æ¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤Þ¤¹¡£ ¤½¤·¤Æ FreeBSD ¤òµ¯Æ°¤·¡¢¥¤¥ó¥¹¥È¡¼¥é¤Î fdisk ²èÌÌ¤Ç DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤È¥Ö¥í¥Ã¥¯¿ô¤òÆɤߤȤꡢ¥á¥â¤·¤Æ¤ª¤­¤Þ¤¹¡£ ¥¸¥ª¥á¥È¥ê¾ðÊó¤ò DOS ¤¬ÍøÍѤ·¤Æ¤¤¤ë¤â¤Î¤ÈƱ°ì¤ËºÆÀßÄꤷ¡¢ DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤·¤Æ “cooperative” FreeBSD ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò ÀèÄøµ­Ï¿¤·¤¿¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤ò»È¤Ã¤ÆºîÀ®¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òµ¯Æ°²Äǽ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ËÀßÄꤷ¡¢ÉÔÎÉ¥Ö¥í¥Ã¥¯Áöºº¤ò Í­¸ú¤Ë¤·¤Þ¤¹¡£ ¼ÂºÝ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤Ï¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬ºîÀ®¤µ¤ì¤ëÁ°¤Ë bad144 ¤¬ºÇ½é¤Ë¼Â¹Ô¤µ¤ì¤Þ¤¹ (Alt-F2 ¤ò²¡¤¹¤³¤È¤Ç¾õ¶·¤ò³Îǧ¤Ç¤­¤Þ¤¹)¡£ ÉÔÎÉ¥»¥¯¥¿¥Õ¥¡¥¤¥ë¤òºîÀ®Ãæ¤Ë²¿¤é¤«¤Î¾ã³²¤¬È¯À¸¤·¤¿¤Ê¤é¡¢ ¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Æ¡¢¤â¤¦°ìÅٺǽ餫¤é¤ä¤êľ¤·¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤ª¤½¤é¤¯¥Ç¥£¥¹¥¯¥¸¥ª¥á¥È¥ê¾ðÊó¤ÎÀßÄê¤òÂ礭¤¯¤·¤¹¤®¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦ (¤ä¤êľ¤·¤Ï¡¢DOS ¤Ë¤è¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó³ÎÊݤò´Þ¤ß¤Þ¤¹)¡£

¤â¤·¡¢ÉÔÎÉ¥Ö¥í¥Ã¥¯¤ÎºÆ¥Þ¥Ã¥Ô¥ó¥°¤òÍ­¸ú¤Ë¤·¤Æ¤¤¤ÆÉÔÎÉ¥Ö¥í¥Ã¥¯¤¬¸«ÉÕ¤«¤Ã¤¿¤é¡¢ ¥É¥é¥¤¥Ö¤Î¸ò´¹¤ò¹Í¤¨¤Æ¤¯¤À¤µ¤¤¡£ÉÔÎÉ¥Ö¥í¥Ã¥¯¤Ï¡¢»þ´Ö¤È¤È¤â¤Ë°­²½¤¹¤ë¤«¤é¤Ç¤¹¡£

3.2. Bustek 742a EISA SCSI ¤¬Ç§¼±¤µ¤ì¤Þ¤»¤ó¡£

¤³¤Î¾ðÊó¤Ï 742a ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¤¬¡¢Â¾¤Î Buslogic ¥«¡¼¥É¤Ë¤Ä¤¤¤Æ¤â ƱÍͤΤ³¤È¤¬¸À¤¨¤Þ¤¹¡£(Bustek = Buslogic)

742a ¥«¡¼¥É¤Ë¤ÏÂ礭¤¯¤ï¤±¤Æ 2 ¤Ä¤Î¡Ö¥Ð¡¼¥¸¥ç¥ó¡×¤¬Â¸ºß¤·¤Þ¤¹¡£ ¥Ï¡¼¥É¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó¤Î A-G ¤È H °Ê¹ß¤Ç¤¹¡£¥ê¥Ó¥¸¥ç¥ó¤Î ʸ»ú¤Ï¥«¡¼¥É¤Î¶ù¤Ë¤¢¤ë¥¢¥»¥ó¥Ö¥êÈÖ¹æ¤Î¸å¤í¤Ë¤¢¤ê¤Þ¤¹¡£ 742a ¤ÏÆó¤Ä¤Î ROM ¥Á¥Ã¥×¤ò»ý¤Ã¤Æ¤ª¤ê¡¢°ì¤Ä¤Ï BIOS ¥Á¥Ã¥×¤Ç ¤â¤¦°ì¤Ä¤Ï¥Õ¥¡¡¼¥à¥¦¥§¥¢¥Á¥Ã¥×¤Ç¤¹¡£FreeBSD ¤Ï¤¢¤Ê¤¿¤Î »ý¤Ã¤Æ¤¤¤ë¤â¤Î¤¬¤É¤Î BIOS ¥Ð¡¼¥¸¥ç¥ó¤«¤ÏÌäÂꤢ¤ê¤Þ¤»¤ó¤¬¡¢ ¥Õ¥¡¡¼¥à¥¦¥§¥¢¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ä¤¤¤Æ¤ÏÌäÂê¤È¤Ê¤ê¤Þ¤¹¡£ Buslogic ¤Îµ»½Ñ¥µ¥Ý¡¼¥ÈÉôÌç¤ËÏ¢Íí¤¹¤ì¤Ð¡¢¥¢¥Ã¥×¥°¥ì¡¼¥ÉÈǤΠROM ¤òÁ÷¤Ã¤Æ¤¯¤ì¤ë¤³¤È¤Ç¤·¤ç¤¦¡£BIOS ¥Á¥Ã¥×¤È ¥Õ¥¡¡¼¥à¥¦¥§¥¢¥Á¥Ã¥×¤Ï¥Ú¥¢¤Ç½Ð²Ù¤µ¤ì¤Þ¤¹¡£ ¥¢¥À¥×¥¿¥«¡¼¥É¤Î¥Ï¡¼¥É¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó¤Ë¤¢¤ï¤»¤¿ ºÇ¤â¿·¤·¤¤¥Õ¥¡¡¼¥à¥¦¥§¥¢ ROM ¤ò»ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

¥ê¥Ó¥¸¥ç¥ó A-G ¤Î¥«¡¼¥É¤Ë¤Ï¡¢2.41/2.21 ¤Þ¤Ç¤Î BIOS/¥Õ¥¡¡¼¥à¥¦¥§¥¢¤Î¥»¥Ã¥È¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥ê¥Ó¥¸¥ç¥ó H °Ê¹ß¤Î¥«¡¼¥É¤Ë¤Ï¡¢ºÇ¿·¤Î¤â¤Î¤Ç¤¢¤ë 4.70/3.37 ¤Î BIOS/¥Õ¥¡¡¼¥à¥¦¥§¥¢¤Î¥»¥Ã¥È¤ò »ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¡¼¥à¥¦¥§¥¢¤Î°ã¤¤¤Ï¡¢ ¥Õ¥¡¡¼¥à¥¦¥§¥¢ 3.37 ¤¬ ¡Ö¥é¥¦¥ó¥É¥í¥Ó¥óÊý¼°¡× ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤È¤³¤í¤«¤é¤­¤Æ¤¤¤Þ¤¹¡£

Buslogic ¤Î¥«¡¼¥É¤Ë¤Ï¡¢À½Â¤ÈÖ¹æ¤â¹ï°õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¸Å¤¤ ¥Ï¡¼¥É¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó¤Î¥«¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Buslogic ¤Î RMA ÉôÌç¤ËÌ䤤¹ç¤ï¤»¤ÆÀ½Â¤ÈÖ¹æ¤òÅÁ¤¨¤ë¤È¡¢¿·¤·¤¤¥Ï¡¼¥É¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó¤Î ¥«¡¼¥É¤Ë¸ò´¹¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤â¤·¥«¡¼¥É¤¬½½Ê¬¿·¤·¤±¤ì¤Ð¡¢Èà¤é¤Ï ¸ò´¹¤Ë±þ¤¸¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£

FreeBSD 2.1 ¤Ï ¥Õ¥¡¡¼¥à¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó 2.21 °Ê¹ß¤Î¤â¤Î¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤è¤ê¤â¸Å¤¤¥Õ¥¡¡¼¥à¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó¤Î¤â¤Î¤Ï¡¢ Buslogic ¥«¡¼¥É¤È¤·¤ÆÀµ¾ï¤Ëǧ¼±¤µ¤ì¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢Adaptec 1540 ¤È¤·¤Æǧ¼±¤µ¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ½é´ü¤Î Buslogic ¤Î¥Õ¥¡¡¼¥à¥¦¥§¥¢¤Ï AHA1540 ¡Ö¸ß´¹¡×¥â¡¼¥É¤ò »ý¤Ã¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·¡¢EISA ¥«¡¼¥É¤Ë¤È¤Ã¤Æ¤³¤ì¤Ï ¤è¤¤¤³¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¸Å¤¤¥Ï¡¼¥É¥¦¥§¥¢¥ê¥Ó¥¸¥ç¥ó¤Î¥«¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤Æ¥Õ¥¡¡¼¥à¥¦¥§¥¢ 2.21 ¤òÆþ¼ê¤¹¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢¥¸¥ã¥ó¥Ñ W1 ¤Î°ÌÃÖ¤ò¥Ç¥Õ¥©¥ë¥È¤Î A-B ¤«¤é B-C ¤Ë¹ç¤ï¤»¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£

3.3. HP Netserver ¾å¤Î¥ª¥ó¥Ü¡¼¥É SCSI ¥³¥ó¥È¥í¡¼¥é¤¬Ç§¼±¤µ¤ì¤Þ¤»¤ó¡£

´ðËÜŪ¤Ë¤³¤ì¤Ï´ûÃΤÎÌäÂê¤Ç¤¹¡£HP Netserver ¥Þ¥·¥ó¤Î EISA ¥ª¥ó¥Ü¡¼¥É SCSI ¥³¥ó¥È¥í¡¼¥é¤Ï EISA ¤Î¥¹¥í¥Ã¥ÈÈÖ¹æ 11 ¤òÀêÍ­¤·¤Þ¤¹¤¬¡¢¡ÖËÜÅö¤Î¡×EISA ¥¹¥í¥Ã¥È¤Ï¤¹¤Ù¤Æ¤½¤ì¤è¤ê¤âÁ°¤Î¥¢¥É¥ì¥¹¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¡£ »ÄÇ°¤Ê¤¬¤é¡¢ 10 Èְʾå¤Î EISA ¥¹¥í¥Ã¥È¤Ï PCI ¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿¥¢¥É¥ì¥¹¶õ´Ö¤È¾×Æͤ·¡¢FreeBSD ¤Î¼«Æ°¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤Ï¡¢ ¸½¾õ¤Ç¤Ï¤¦¤Þ¤¯¤³¤Î¾õ¶·¤ò½èÍý¤Ç¤­¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¡£

¤Ç¤¹¤«¤é¸½»þÅÀ¤Ç¤ÎºÇÎɤÎÊýË¡¤Ï¡¢¥«¡¼¥Í¥ë¥ª¥×¥·¥ç¥ó¤Î EISA_SLOTS ¤ò 12 ¤ËÊѤ¨¡¢ ¥¢¥É¥ì¥¹¶õ´Ö¤Î¾×Æͤ¬¤Ê¤¤¤«¤Î ¤è¤¦¤Ê¤Õ¤ê¤ò¤µ¤»¤ë¤³¤È¤Ç¤¹ :) ¥«¡¼¥Í¥ë¤ÎºÆ¹½Ãۤ˵­½Ò¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¤·¤Æ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£

¤â¤Á¤í¤ó¡¢¤³¤ì¤Ï¤³¤Î¤è¤¦¤Ê¥Þ¥·¥ó¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¤Ë ¡ÖÍñ¤¬À褫¡¢ ·Ü¤¬À褫¡×¤È¤¤¤Ã¤¿ÌäÂê¤òÀ¸¤ß½Ð¤¹¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ë¤¿¤á¤Ë¡¢ ¥æ¡¼¥¶¥³¥ó¥Õ¥£¥° (UserConfig) ¤ÎÃæ¤Ë¤ÏÆÃÊ̤ʻÅÁȤߤ¬ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¤È¤­ “visual” ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï»ÈÍѤ»¤º¡¢ ¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£Ã±½ã¤Ë

eisa 12
quit

¤È¥×¥í¥ó¥×¥È¾å¤«¤éÂǤÁ¹þ¤ß¡¢ ¸å¤ÏÉáÄ̤˥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤È¤Ë¤«¤¯¥«¥¹¥¿¥à¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë¤È¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤Ê¤¦¤³¤È¤ò ¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£

¤¦¤Þ¤¯¤¤¤±¤Ð¡¢¾­Íè¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¤³¤ÎÌäÂ꤬²ò·è¤·¤Æ¤¤¤ë¤³¤È¤Ç¤·¤ç¤¦¡£

注意: HP Netserver ¤Ç¤Ï´í¸±³Ð¸ç¤ÎÀìÍѥǥ£¥¹¥¯¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£ ¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï ¤³¤ÎÃí°Õ»ö¹à ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

3.4. ¤³¤Î CMD640 IDE ¥³¥ó¥È¥í¡¼¥é¤Ï¤É¤³¤«¤ª¤«¤·¤¤¤è¤¦¤Ç¤¹¡£

¤½¤ì¤Ï²õ¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¡£Î¾Êý¤Î¥Á¥ã¥ó¥Í¥ë¤òƱ»þ¤ËÀ©¸æ¤Ç¤­¤Ê¤¤¤Î¤Ç¤¹¡£

¸½ºß¡¢¤³¤Î¥Á¥Ã¥×¤ò»È¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤ò¼«Æ°Åª¤Ë¸¡½Ð¤·¤Æ¡¢ ¤¦¤Þ¤¯Æ°¤«¤¹¤¿¤á¤Î¤·¤¯¤ß¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤¯¤ï¤·¤¯¤Ï wd(4) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

CMD640 IDE ¥³¥ó¥È¥í¡¼¥é¤ò»È¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤Ç FreeBSD 2.2.1 ¤¢¤ë¤¤¤Ï 2.2.2 ¤ò»È¤¤¡¢ ¤«¤Ä¥»¥«¥ó¥À¥ê¤Î¥Á¥ã¥Í¥ë¤ò»È¤¤¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ options "CMD640" ¤òÍ­¸ú¤Ë¤·¤Æ¥«¡¼¥Í¥ë¤òºî¤êľ¤·¤Æ¤¯¤À¤µ¤¤¡£ FreeBSD 2.2.5 °Ê¹ß¤Ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤½¤¦¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

3.5. ed1: timeout ¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬¤¤¤Ä¤â½Ð¤Þ¤¹¡£

¤¿¤Ö¤ó IRQ ¤Î¾×Æͤ¬¸¶°ø¤Ç¤·¤ç¤¦ (Æó¤Ä¤Î¥Ü¡¼¥É¤¬Æ±¤¸ IRQ ¤ò»ÈÍѤ·¤Æ¤¤¤ë¤Ê¤É)¡£FreeBSD 2.0.5R °ÊÁ°¤Ï¤³¤ì¤Ë´Ø¤·¤Æ´²Âç¤Ç¡¢ IRQ ¤Î¾×Æͤ¬¤¢¤Ã¤Æ¤â¥Í¥Ã¥È¥ï¡¼¥¯¥É¥é¥¤¥Ð¤Ïµ¡Ç½¤·¤Æ¤¤¤Þ¤·¤¿¡£ ¤·¤«¤· 2.0.5R °Ê¹ß¤Ï¤â¤Ï¤ä¡¢IRQ ¤Î¾×Æͤ˴²Âç¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ -c ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤Æµ¯Æ°¤·¡¢ ed0/de0/... ¤Î¥¨¥ó¥È¥ê¤ò¥Ü¡¼¥É¤ÎÀßÄê¤Ë¹ç¤ï¤»¤Æ¤¯¤À¤µ¤¤¡£

¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤Î BNC ¥³¥Í¥¯¥¿ (ÌõÃí: 10BASE-2 ¥¿¥¤¥×¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹) ¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢ ¥Ç¥Ð¥¤¥¹¤Î¥¿¥¤¥à¥¢¥¦¥È¤Ï¥¿¡¼¥ß¥Í¡¼¥·¥ç¥ó¤ÎÉÔÎɤˤè¤Ã¤Æ¤âµ¯¤­¤Þ¤¹¡£ ¤³¤ì¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤Ë¤Ï¥±¡¼¥Ö¥ë¤ò³°¤·¤Æ¥¿¡¼¥ß¥Í¡¼¥¿¤òľÀÜ NIC ¤ËÀܳ¤·¤Þ¤¹¡£¤½¤·¤Æ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬¾Ã¤¨¤ë¤«¤É¤¦¤« ³Îǧ¤·¤Þ¤¹¡£

NE2000 ¥³¥ó¥Ñ¥Á¥Ö¥ë¥«¡¼¥É¤Î¤Ê¤«¤Ë¤Ï¡¢ UTP ¥Ý¡¼¥È¤Î¥ê¥ó¥¯¤¬¤Ê¤«¤Ã¤¿¤ê¥±¡¼¥Ö¥ë¤¬Àܳ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë ¤³¤Î¥¨¥é¡¼¤ò½Ð¤¹¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

3.6. CDROM ¤ò¥Þ¥¦¥ó¥È¤·¤è¤¦¤È¤¹¤ë¤È Incorrect super block ¤È¸À¤ï¤ì¤Þ¤¹¡£

mount(8) ¤Ë¥Þ¥¦¥ó¥È¤·¤¿¤¤¥Ç¥Ð¥¤¥¹¤Î¥¿¥¤¥×¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï mount(8) ¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò ufs ¤È¤ß¤Ê¤·¤Þ¤¹¡£CDROM ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò ¥Þ¥¦¥ó¥È¤·¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð -t cd9660 ¤È mount(8) ¤Ë¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤ÆÌÀ¼¨¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¤â¤Á¤í¤ó CDROM ¤¬ ISO 9660 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç¤¢¤ë¾ì¹ç¤Ç¤¹¡£¤Û¤È¤ó¤É¤Î CDROM ¤Ï¤³¤Î·Á¼°¤Ç¤¹¡£1.1R ¤Î FreeBSD ¤Ç¤Ï (ÌõÃí: 2.1.5R¡¢ 2.2R ¤Ç¤âƱÍͤǤ¹) ¼«Æ°Åª¤Ë Rock Ridge ³ÈÄ¥ (Ť¤¥Õ¥¡¥¤¥ë̾¤Ø¤ÎÂбþ) ¤ò¤¦¤Þ¤¯²ò¼á¤·¤Þ¤¹¡£

CDROM ¤Î¥Ç¥Ð¥¤¥¹ /dev/cd0c ¤ò /mnt ¤Ë¥Þ¥¦¥ó¥È¤·¤¿¤¤¾ì¹ç¤ÎÎã¤Ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# mount -t cd9660 /dev/cd0c /mnt

¥Ç¥Ð¥¤¥¹¤Î̾Á°¤Ï¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë¤è¤Ã¤Æ¤ÏÊ̤Î̾Á°¤Ë¤Ê¤Ã¤Æ¤¤¤ë ¤«¤â¤·¤ì¤Ê¤¤¤Î¤ÇÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤ (/dev/cd0c ¤Ï¤³¤Î¾ì¹ç¤ÎÎã¤Ç¤¹)¡£ ¥ª¥×¥·¥ç¥ó -t cd9660 ¤Ë¤è¤Ã¤Æ mount_cd9660 ¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¤¿¤áÎã¤Ï¼¡¤Î¤è¤¦¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

# mount_cd9660 /dev/cd0c /mnt

3.7. CDROM ¤ò¥Þ¥¦¥ó¥È¤·¤è¤¦¤È¤¹¤ë¤È Device not configured ¤È¸À¤ï¤ì¤Þ¤¹¡£

¤³¤ì¤Ï °ìÈÌŪ¤Ë CDROM ¥É¥é¥¤¥Ö¤ÎÃæ¤Ë CDROM ¤¬Æþ¤Ã¤Æ¤¤¤Ê¤¤¤«¡¢ ¥É¥é¥¤¥Ö¤¬¥Ð¥¹¾å¤Ë¸«¤¨¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¥É¥é¥¤¥Ö¤Ë CDROM ¤òÆþ¤ì¤ë¤«¡¢IDE (ATAPI) ¤Ç¤¢¤ì¤Ð master/slave ¤Î¾õÂÖ¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢CDROM ¥É¥é¥¤¥Ö¤Ë CDROM ¤òÆþ¤ì¤Æ¤«¤éǧ¼±¤¹¤ë¤Þ¤Ç¤Ë¤Ï¿ôÉ䫤«¤ê¤Þ¤¹¤Î¤Ç¡¢ ¾¯¤·ÂԤäƤߤƤ¯¤À¤µ¤¤¡£

SCSI CDROM ¤Ç¤Ï¥Ð¥¹¥ê¥»¥Ã¥È¤Ø¤Î±þÅú»þ´Ö¤¬ÃÙ¤¤¤¿¤á¤Ë¡¢ ¼ºÇÔ¤¹¤ë¤³¤È¤¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ SCSI CDROM ¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤ò²Ã¤¨¤Æ ºÆ¥³¥ó¥Ñ¥¤¥ë¤·¤Æ»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

options "SCSI_DELAY=15"

ÌõÃí: ¸½ºß¤Î GENERIC ¥«¡¼¥Í¥ë¤Ç¤Ï¾å¤ÎÀßÄê¤Ï¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ÌäÂ꤬¤¢¤ë¾ì¹ç¤Ï SCSI_DELAY ¤Î¿ôÃͤòÁý¤ä¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

3.8. CDROM ¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤È¡¢¥Õ¥¡¥¤¥ë̾Ãæ¤Î±Ñ¿ô»ú°Ê³°¤Î ʸ»ú¤¬¡¢“?” ¤Èɽ¼¨¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¤â¤Ã¤È¤â¤¢¤ê¤½¤¦¤Ê¤Î¤Ï¡¢¤½¤Î CDROM ¤¬ “Joliet” ³ÈÄ¥¤òÍøÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤ª¤è¤Ó ¥Ç¥£¥ì¥¯¥È¥ê¤Ë´Ø¤¹¤ë¾ðÊó¤òÊݸ¤·¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£¤³¤Î³ÈÄ¥¤Ï¡¢ ¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë̾¤ò Unicode ¤Î 2 ¥Ð¥¤¥Èʸ»ú¤ÇÊݸ¤¹¤ë¤è¤¦¤Ë µ¬Äꤷ¤Æ¤¤¤Þ¤¹¡£¸½ºß¡¢FreeBSD ¥«¡¼¥Í¥ë¤ËÈÆÍÑŪ¤Ê Unicode ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òƳÆþ¤¹¤ëºî¶È¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢ ¤Þ¤À´°Î»¤·¤Æ¤¤¤Þ¤»¤ó¡£¤·¤¿¤¬¤Ã¤Æ¡¢CD9660 ¥É¥é¥¤¥Ð¤Ï¥Õ¥¡¥¤¥ë̾¤Îʸ»ú¤ò²òÆɤǤ­¤Þ¤»¤ó¡£

°ì»þŪ¤Ê²ò·èºö¤È¤·¤Æ¡¢FreeBSD 4.3R °Ê¹ß¤Ç¤Ï¡¢CD9660 ¥É¥é¥¤¥Ð¤ËÆÃÊ̤ʻųݤ±¤ò»Ü¤·¤Æ¡¢¥æ¡¼¥¶¡¼¤¬¤½¤Î¾ì¤ÇŬÀÚ¤Ê ÊÑ´¹É½¤òÆɤ߹þ¤á¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£°ìÈÌŪ¤Ê¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ë Âбþ¤·¤¿¤¤¤¯¤Ä¤«¤Î¥â¥¸¥å¡¼¥ë¤¬ sysutils/cd9660_unicode port ¤ÇÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ÌõÃí: ¤³¤Îµ­½Ò¤Ï¸Å¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ±Ñ¸ìÈǤε­½Ò¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

3.9. »ä¤Î¥×¥ê¥ó¥¿¤Ï¤È¤Æ¤Ä¤â¤Ê¤¯ÃÙ¤¤¤Î¤Ç¤¹¡£ ¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤·¤ç¤¦?

¥Ñ¥é¥ì¥ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ç¡¢ÌäÂê¤Ï¤È¤ó¤Ç¤â¤Ê¤¯ÃÙ¤¤¤À¤±¤Ç¤¢¤ë¤Ê¤é¡¢ ¥×¥ê¥ó¥¿¥Ü¡¼¥È¤ò “polled” ¥â¡¼¥É¤ËÀßÄꤷ¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

# lptcontrol -p

HP ¤Î¿·¤·¤¤¥×¥ê¥ó¥¿¤Ë¤Ï¡¢ ³ä¤ê¹þ¤ß¥â¡¼¥É¤Ç»È¤¨¤Ê¤¤¤â¤Î¤¬¤¢¤ë¤è¤¦¤Ç¤¹ (´°Á´¤Ë¤ï¤«¤Ã¤¿¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬)¡£ ¥¿¥¤¥ß¥ó¥°¤ÎÌäÂê¤Î¤è¤¦¤Ë»×¤ï¤ì¤Þ¤¹¡£

3.10. ¤ï¤¿¤·¤Î¥×¥í¥°¥é¥à¤Ï»þ¡¹ Signal 11 ¤Î¥¨¥é¡¼¤Ç»ß¤Þ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

Signal 11 ¥¨¥é¡¼¤Ï¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬ µö²Ä¤òÍ¿¤¨¤Æ¤¤¤Ê¤¤¥á¥â¥ê¤Ë¥¢¥¯¥»¥¹¤·¤è¤¦¤È¤·¤¿¤È¤­¤ËȯÀ¸¤·¤Þ¤¹¡£ ¤³¤Î¤è¤¦¤Ê¤³¤È¤¬¥é¥ó¥À¥à¤Ê´Ö³Ö¤Çµ¯¤Ã¤Æ¤¤¤ë¤è¤¦¤Ê¤é¡¢ Ãí°Õ¿¼¤¯Ä´ºº¤·¤Æ¤¤¤Ã¤¿Êý¤¬Îɤ¤¤Ç¤¹¡£

¤³¤Î¼ê¤ÎÌäÂê¤Ï¤¿¤¤¤Æ¤¤¤Î¾ì¹ç¡¢°Ê²¼¤Î¤É¤Á¤é¤«¤Ç¤¹¡£

  1. ¤½¤ÎÌäÂ꤬ÆÃÄê¤Î¡¢ ¤¢¤Ê¤¿¤¬¼«Ê¬¤Ç³«È¯¤·¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Î¤ßµ¯¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢ ¤¢¤Ê¤¿¤Î¥³¡¼¥É¤Ë¥Ð¥°¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¡£

  2. ¤½¤ì¤¬ FreeBSD ¤Î¥Ù¡¼¥¹¥·¥¹¥Æ¥à¤Î°ìÉô¤È´ØÏ¢¤¹¤ëÌäÂê¤Ê¤é¡¢ ¥³¡¼¥É¤Ë¥Ð¥°¤¬¤¢¤ë¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤·¤«¤·¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢ ÉáÄ̤ΠFAQ ¤ÎÆɼԤ¬¤½¤Î¤è¤¦¤Ê¥³¡¼¥É¤ò»È¤¦¤è¤¦¤Ë¤Ê¤ë¤º¤Ã¤ÈÁ°¤Ë¡¢ ¤½¤¦¤¤¤Ã¤¿ÌäÂê¤Ïȯ¸«¤µ¤ì¡¢½¤Àµ¤µ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹ (¤½¤ì¤¬ -current ¤ÎÌòÌܤʤΤǤ¹¤«¤é)¡£

¤½¤ì¤¬ FreeBSD ¤Î¥Ð¥°¤Ç¤Ï¡Ö¤Ê¤¤¡×¤È¤¤¤¦·èÄêŪ¤Ê¥±¡¼¥¹¤È¤·¤Æ¡¢ ¤½¤ÎÌäÂê¤ÎȯÀ¸¤¬¥×¥í¥°¥é¥à¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¤¤ë¤È¤­¤Ç¤¢¤ê¡¢ ¥³¥ó¥Ñ¥¤¥ëËè¤ËËè²ó¡¢¥³¥ó¥Ñ¥¤¥é¤ÎµóÆ°¤¬ÊѤë¤È¤¤¤¦¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

¤¿¤È¤¨¤Ð¡¢¤¢¤Ê¤¿¤¬ “make buildworld” ¤ò¼Â¹Ô¤·¤Æ¤¤¤Æ¡¢ ¥³¥ó¥Ñ¥¤¥é¤¬ ls.c ¤«¤é ls.o ¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤·¤¿¤È¤­¤Ë ¥³¥ó¥Ñ¥¤¥ë¤Ë¼ºÇÔ¤·¤¿¤È¤·¤Þ¤¹¡£¤â¤¦°ìÅÙ “make buildworld” ¤ò¼Â¹Ô¤·¤¿¤È¤­¤Ë¡¢¤Þ¤Ã¤¿¤¯Æ±¤¸¾ì½ê¤Ç¥³¥ó¥Ñ¥¤¥ë¤¬¼ºÇÔ¤·¤¿¤Î¤Ê¤é¡¢ ¤½¤ì¤Ï build ¤¬²õ¤ì¤Æ¤¤¤ë (ÌõÃí: ¤Ä¤Þ¤ê¥½¡¼¥¹¤Ë¥Ð¥°¤¬¤¢¤ë) ¤È¸À¤¦¤³¤È¤Ç¤¹ -- ¥½¡¼¥¹¤ò¹¹¿·¤·¤Æ¤ä¤ê¤Ê¤ª¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤·¥³¥ó¥Ñ¥¤¥ë¤¬Ê̤ξì½ê¤Ç¤·¤¯¤¸¤Ã¤Æ¤¤¤¿¤é¡¢ ¤½¤ì¤Ï¥Ï¡¼¥É¥¦¥§¥¢¤ÎÌäÂê¤Ç¤¹¡£

¤¢¤Ê¤¿¤Î¤ä¤ë¤Ù¤­»ö¤Ï:

Á°¼Ô¤Î¾ì¹ç¤Ï¡¢ ¤½¤Î¥×¥í¥°¥é¥à¤Î´Ö°ã¤Ã¤¿¥¢¥É¥ì¥¹¤Ø¥¢¥¯¥»¥¹¤·¤è¤¦¤È¤·¤Æ¤¤¤ëÉôʬ¤ò¡¢ gdb Åù¤Î¥Ç¥Ð¥Ã¥¬¤Ç¸«¤Ä¤±¤Æ½¤Àµ¤·¤Þ¤¹¡£

¸å¼Ô¤Î¾ì¹ç¤Ï¡¢ ¥Ï¡¼¥É¥¦¥§¥¢¤ËÌäÂ꤬¤Ê¤¤¤³¤È¤ò³Î¤«¤á¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¤½¤Î°ìÈÌŪ¤Ê¸¶°ø¤È¤·¤Æ :

  1. ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤¬Ç®¤ò»ý¤Á¤¹¤®¤Æ¤¤¤ë¤«¤âÃΤì¤Þ¤»¤ó: ¥±¡¼¥¹¤Î¥Õ¥¡¥ó¤¬¤Á¤ã¤ó¤ÈÆ°¤¤¤Æ¤¤¤Æ¥Ç¥£¥¹¥¯¤òÎä¤ä¤·¤Æ¤¤¤ë¤« ³Î¤«¤á¤Æ¤¯¤À¤µ¤¤ (¤¿¤Ö¤ó¡¢Â¾¤ÎÉôÉʤâ²áÇ®¤·¤Æ¤¤¤Þ¤¹)¡£

  2. CPU ¤¬¥ª¡¼¥Ð¡¼¥Ò¡¼¥È¤·¤Æ¤¤¤Þ¤¹: CPU ¤ò¥ª¡¼¥Ð¡¼¥¯¥í¥Ã¥¯¤·¤Æ¤¤¤Þ¤»¤ó¤«? ¤µ¤â¤Ê¤±¤ì¤Ð CPU ¥Õ¥¡¥ó¤¬»à¤ó¤Ç¤¤¤ë¤Î¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤¤¤º¤ì¤Ë¤»¤è¡¢¾¯¤Ê¤¯¤È¤âÌäÂê²ò·è¤Î´Ö¤Ç¤Ï ¥Ï¡¼¥É¥¦¥§¥¢¤¬Æ°¤¯¤Ù¤¯»ØÄꤵ¤ì¤¿¾ò·ï¤ÇÆ°¤«¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥¯¥í¥Ã¥¯¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ËÌᤷ¤Æ¤¯¤À¤µ¤¤¡£

    ¤â¤·¤¢¤Ê¤¿¤¬¥¯¥í¥Ã¥¯¥¢¥Ã¥×¤ò¤·¤Æ¤¤¤ë¤Î¤Ê¤é¡¢ ÃÙ¤¤¥·¥¹¥Æ¥à¤Ç¤â¡¢¥·¥¹¥Æ¥à¤¬¾Æ¤­ÉÕ¤¤¤Æ Ç㤤´¹¤¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¯¤Ê¤ë¤è¤ê¤º¤Ã¤È¥Þ¥·¤À¤È¤¤¤¦¤³¤È¤ò ³Ð¤¨¤Æ¤ª¤¤¤¿Êý¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£ Â礭¤¤¥³¥ß¥å¥Ë¥Æ¥£¤Ç¤ÏÆäˡ¢ ¤¢¤Ê¤¿¤¬¤½¤ì¤¬°ÂÁ´¤À¤È»×¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ï´Ø·¸¤Ê¤¯¡¢ ¥ª¡¼¥Ð¡¼¥¯¥í¥Ã¥¯¤·¤¿¥·¥¹¥Æ¥à¤ËȯÀ¸¤·¤¿ÌäÂê¤Ë¤ÏƱ¾ðŪ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

  3. ²ø¤·¤¤¥á¥â¥ê: ¤â¤·Ê£¿ô¤Î SIMM ¤ä DIMM ¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é¤½¤ì¤òÁ´ÉôÈ´¤¤¤Æ¤«¤é ³Æ SIMM ¤ä DIMM ¤òÊ̸ĤËÁȤ߹þ¤ó¤À¥·¥¹¥Æ¥à¤òΩ¤Á¾å¤²¤Æ¤ë¤³¤È¤Ç ¤É¤Î DIMM/SIMM ¤¬²ø¤·¤¤¤Î¤«¡¢¤½¤ì¤È¤âÁȹç¤ï¤»¤¬°­¤¤¤Î¤« ¤ÈÌäÂê¤ÎÉý¤¬¶¹¤Þ¤ê¤Þ¤¹¡£

  4. ³Ú´ÑŪ¤¹¤®¤ë¥Þ¥¶¡¼¥Ü¡¼¥É¤ÎÀßÄê: ¤Û¤È¤ó¤É¤Î¾ì¹ç¤Ëɸ½àÀßÄê¤Ç½½Ê¬¤Ê¥¿¥¤¥ß¥ó¥°¤ò¡¢ BIOS ¤ÎÀßÄê¤ä¥Þ¥¶¡¼¥Ü¡¼¥É¾å¤Î¥¸¥ã¥ó¥Ñ¥Ô¥ó¤òÊѤ¨¤ë¤³¤È¤Ç¡¢ ¤µ¤Þ¤¶¤Þ¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤·¤«¤·»þ¤Ë¤Ï RAM ¤Î ¥¢¥¯¥»¥¹¥¦¥§¥¤¥È¤òÄ㤯¤·¤¹¤®¤¿¤ê “RAM Speed: Turbo” ¤ä ¤½¤Î¼ê¤Î BIOS ¤ÎÀßÄê¤Ç¤ª¤«¤·¤ÊµóÆ°¤¬µ¯¤³¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ BIOS ¤òɸ½à¤ÎÀßÄê¤ËÌ᤹¤È¤¤¤¦¤Î¤Ï¤¤¤¤¥¢¥¤¥Ç¥£¥¢¤Ç¤¹¤¬¡¢ ¤½¤ÎÁ°¤Ë¤¢¤Ê¤¿¤ÎÀßÄê¤ò½ñ¤­Î±¤á¤Æ¤ª¤¤¤¿Êý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£

  5. ¥Þ¥¶¡¼¥Ü¡¼¥É¤Ø¤ÎÅŸ»¤¬°ÂÄꤷ¤Æ¤¤¤Ê¤¤¡£ ¤â¤·»È¤Ã¤Æ¤¤¤Ê¤¤ I/O ¥Ü¡¼¥É¤ä¥Ï¡¼¥É¥Ç¥£¥¹¥¯¡¢ CDROM Åù¤¬¤¢¤ë¤Ê¤é¡¢°ìö¤½¤ì¤é¤«¤éÅŸ»¥±¡¼¥Ö¥ë¤òÈ´¤­¡¢ ÅŸ»¤¬¾®¤µ¤ÊÉé²Ù¤Ê¤é¤Ê¤ó¤È¤«Æ°ºî¤¹¤ë¤«³Îǧ¤·¤Þ¤·¤ç¤¦¡£ ¤¢¤ë¤¤¤ÏÊ̤ÎÅŸ»¤ò»î¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£ ¤½¤Î»þ¤Ï¤Ê¤ë¤Ù¤¯¡¢¾¯¤·ÍÆÎ̤ÎÂ礭¤¤¤â¤Î¤Ç»î¤·¤Þ¤·¤ç¤¦ (¤¿¤È¤¨¤Ð¡¢º£¤ÎÅŸ»ÍÆÎ̤¬ 250W ¤À¤Ã¤¿¤é 300W ¤Î¤â¤Î¤ò»î¤·¤Þ¤¹)¡£

SIG11 FAQ (²¼¤Ë¼¨¤·¤Þ¤¹) ¤Ë¤Ï¤³¤ì¤é¤ÎÌäÂê¤Î¤¹¤Ù¤Æ¤¬ ¾Ü¤·¤¯ÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Linux ¤Î»ëÅÀ¤Ë´ð¤Å¤¯¤â¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤âÆɤó¤Ç¤ª¤¤¤¿Êý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£¤½¤³¤Ç¤Ï¤Þ¤¿¡¢ ¥á¥â¥ê¤Î¥Æ¥¹¥È¤ò¹Ô¤¦¥½¥Õ¥È¥¦¥§¥¢¤ä¡¢ ¥Ï¡¼¥É¥¦¥§¥¢¤¬¤Ê¤¼ÌäÂê¤Î¤¢¤ë¥á¥â¥ê¤ò¸«Æ¨¤·¤Æ¤·¤Þ¤¦¤«¤Ë¤Ä¤¤¤Æ¤â µÄÏÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ºÇ¸å¤Ë¡¢¤³¤ì¤é¤¬¤É¤ì¤â½õ¤±¤Ë¤Ê¤é¤Ê¤«¤Ã¤¿¤é¡¢ FreeBSD ¤Î¥Ð¥°¤òȯ¸«¤·¤¿²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ °Ê²¼¤ÎÀâÌÀ¤òÆɤó¤Ç¾ã³²Êó¹ð¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£

¾ÜºÙ¤Ê FAQ ¤Ï¡¢ the SIG11 problem FAQ ¤Ë¤¢¤ê¤Þ¤¹¡£

3.11. µ¯Æ°¤Î»þ¤Ë²èÌ̤¬¿¿¤Ã°Å¤Ë¤Ê¤Ã¤ÆƱ´ü¤â¼è¤ì¤Þ¤»¤ó¡£

¤³¤ì¤Ï ATI Mach 64 ¥Ó¥Ç¥ª¥«¡¼¥É¤Î´ûÃΤÎÌäÂê¤Ç¤¹¡£ ¤³¤ÎÌäÂê¤Ï¥«¡¼¥É¤¬¥¢¥É¥ì¥¹ 2e8 ¤ò»È¤¤¡¢ 4 ÈÖÌܤΥ·¥ê¥¢¥ë¥Ý¡¼¥È¤â¤³¤³¤ò»È¤¦¤È¤¤¤¦¤³¤È¤Ë¤¢¤ê¤Þ¤¹¡£ sio(4) ¥É¥é¥¤¥Ð¤Î¥Ð¥° (»ÅÍÍ?) ¤Î¤¿¤á¡¢ 4 ÈÖÌܤΥ·¥ê¥¢¥ë¥Ý¡¼¥È¤¬¤Ê¤¯¤Æ¤â¡¢ Ä̾盧¤Î¥¢¥É¥ì¥¹¤ò»È¤¦ sio3 (4 ÈÖÌܤΥݡ¼¥È¤Ë¤¢¤¿¤ê¤Þ¤¹) ¤ò̵¸ú¤Ë¤·¤Æ¤â¡¢¥É¥é¥¤¥Ð¤Ï¤³¤Î¥¢¥É¥ì¥¹¤ò¤µ¤ï¤ê¤Þ¤¹¡£

¥Ð¥°¤¬½¤Àµ¤µ¤ì¤ë¤Þ¤Ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤ÆÂн褷¤Æ¤¯¤À¤µ¤¤¡£

  1. µ¯Æ°¥×¥í¥ó¥×¥È¤¬½Ð¤¿¤é -c ¤ÈÆþÎϤ·¤Þ¤¹ (¤³¤ì¤Ë¤è¤ê¥«¡¼¥Í¥ë¤Ï¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥â¡¼¥É¤ËÆþ¤ê¤Þ¤¹)¡£

  2. sio0, sio1, sio2, sio3 (¤³¤ì¤é¤¹¤Ù¤Æ) ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ ¤³¤ì¤Ë¤è¤Ã¤Æ sio(4) ¥É¥é¥¤¥Ð¤ÏÆ°ºî¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹¤¬¡¢ÌäÂê¤Ï¤¢¤ê¤Þ¤»¤ó¡£

  3. exit ¤ÈÆþÎϤ·¤Æµ¯Æ°¤ò³¹Ô¤·¤Þ¤¹¡£

¤â¤·¥·¥ê¥¢¥ë¥Ý¡¼¥È¤òÍ­¸ú¤Ë¤·¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð°Ê²¼¤ÎÊѹ¹¤ò¹Ô¤Ê¤Ã¤Æ ¿·¤·¤¤¥«¡¼¥Í¥ë¤òºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ /usr/src/sys/i386/isa/sio.c ¤ÎÃæ¤Ç 1 ¥õ½ê¤¢¤ë 0x2e8 ¤È¤¤¤¦Ê¸»úÎó¤òõ¤·¡¢ ¤³¤Îʸ»úÎó¤È¤½¤Î¼êÁ°¤Ë¤¢¤ë¥³¥ó¥Þ¤òºï½ü¤·¤Þ¤¹ (¸å¤í¤Î¥³¥ó¥Þ¤Ï»Ä¤·¤Þ¤¹)¡£ ¸å¤ÏÄ̾ï¤Î¼ê³¤­¤Ë¤·¤¿¤¬¤Ã¤Æ¿·¤·¤¤¥«¡¼¥Í¥ë¤òºî¤ê¤Þ¤¹¡£

¤³¤ÎÂнè¤ò¹Ô¤Ê¤Ã¤¿¸å¤Ç¤â¤Þ¤À X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤Ï¤¦¤Þ¤¯Æ°¤«¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤½¤Î¾ì¹ç¤Ï¡¢ »ÈÍѤ·¤Æ¤¤¤ë XFree86 ¤¬¤¹¤¯¤Ê¤¯¤È¤â XFree86 3.3.3 °Ê¹ß¤Ç¤¢¤ë¤³¤È¤ò³Î¤«¤á¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì°Ê¹ß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ Mach64 ¥«¡¼¥É¤ä¤½¤ì¤é¤Î¥«¡¼¥É¤Î¤¿¤á¤Ë¤Ä¤¯¤é¤ì¤¿ X ¥µ¡¼¥Ð ¤ÎÁȹþ¤ß¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£

3.12. 128MB ¤Î RAM ¤¬¤¢¤ë¤Î¤Ç¤¹¤¬¡¢64MB ¤·¤«Ç§¼±¤·¤Þ¤»¤ó¡£

FreeBSD ¤¬¥á¥â¥ê¤Î¥µ¥¤¥º¤ò BIOS ¤«¤é¼èÆÀ¤¹¤ëÊýË¡¤ÎÀ©¸Â¤Ë¤è¤ê¡¢ KB ñ°Ì¤Ç 16 ¥Ó¥Ã¥Èʬ¤Þ¤Ç¤·¤«¸¡½Ð¤Ç¤­¤Þ¤»¤ó (¤¹¤Ê¤ï¤ÁºÇÂç 65535KB=64MB ¤Ç¤¹¡£¤³¤ì¤è¤ê¾¯¤Ê¤¤¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£ ¤¢¤ë BIOS ¤Î¾ì¹ç¤Ï¥á¥â¥ê¥µ¥¤¥º¤¬ 16MB ¤ËÀ©¸Â¤µ¤ì¤Þ¤¹)¡£ 64MB °Ê¾å¤Î¥á¥â¥ê¤òÀѤó¤Ç¤¤¤ë¾ì¹ç¡¢ FreeBSD ¤Ï¤½¤ì¤ò¸¡½Ð¤·¤è¤¦¤È¤·¤Þ¤¹¡£ ¤·¤«¤·¤½¤Î»î¤ß¤Ï¼ºÇÔ¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£

¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ë¤Ë¤Ï¡¢ °Ê²¼¤Ë¼¨¤¹¥«¡¼¥Í¥ë¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ´°Á´¤Ê¥á¥â¥ê¾ðÊó¤ò BIOS ¤«¤é¼èÆÀ¤¹¤ëÊýË¡¤â¤¢¤ê¤Þ¤¹¤¬¡¢ µ¯Æ°¥Ö¥í¥Ã¥¯¤Ë¶õ¤­¤¬Ìµ¤¤¤¿¤á¼ÂÁõ¤Ç¤­¤Þ¤»¤ó¡£ µ¯Æ°¥Ö¥í¥Ã¥¯¤ÎÌäÂ꤬²ò·è¤µ¤ì¤ì¤Ð¡¢ ¤¤¤Ä¤«³ÈÄ¥ BIOS µ¡Ç½¤ò»ÈÍѤ·¤Æ´°Á´¤Ê¥á¥â¥ê¾ðÊó¤ò¼èÆÀ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£ ¤È¤ê¤¢¤¨¤º¸½ºß¤Ï¡¢¥«¡¼¥Í¥ë¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

options "MAXMEM=n"

n ¤Ë¤Ï¡¢ ¥­¥í¥Ð¥¤¥Èñ°Ì¤Ç¥á¥â¥ê¤ÎÎ̤ò»ØÄꤷ¤Þ¤¹¡£128MB ¤Î¾ì¹ç¤Ï¡¢131072 ¤È¤Ê¤ê¤Þ¤¹¡£

3.13. FreeBSD 2.0 ¤¬ kmem_map too small! ¤È¸À¤Ã¤Æ¥Ñ¥Ë¥Ã¥¯¤·¤Þ¤¹¡£

注意: ¥á¥Ã¥»¡¼¥¸¤Ï¡¢mb_map too small! ¤Î¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£



¤³¤Î¥Ñ¥Ë¥Ã¥¯¤Ï¡¢¥Í¥Ã¥È¥ï¡¼¥¯¥Ð¥Ã¥Õ¥¡ (ÆÃ¤Ë mbuf ¥¯¥é¥¹¥¿) ¤Î²¾ÁÛ¥á¥â¥ê¤¬Ìµ¤¯¤Ê¤Ã¤¿¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤ËÄɲä·¤Æ mbuf ¥¯¥é¥¹¥¿¤Ë»ÈÍѤǤ­¤ë²¾ÁÛ¥á¥â¥ê¤ÎÎ̤òÁý¤ä¤·¤Æ¤¯¤À¤µ¤¤¡£

options "NMBCLUSTERS=n"

n ¤Ë¤Ï¡¢ Ʊ»þ¤Ë»ÈÍѤ·¤¿¤¤ TCP ¥³¥Í¥¯¥·¥ç¥ó¤Î¿ô¤Ë±þ¤¸¤Æ 512 ¤«¤é 4096 ¤Þ¤Ç¤Î¿ôÃͤò»ØÄê¤Ç¤­¤Þ¤¹¡£ ¤È¤ê¤¢¤¨¤º 2048 ¤ò»î¤·¤Æ¤ß¤ë¤Î¤ò¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¤³¤ì¤Ç¥Ñ¥Ë¥Ã¥¯¤Ï´°Á´¤ÎͽËɤǤ­¤ë¤Ï¤º¤Ç¤¹¡£ mbuf ¥¯¥é¥¹¥¿¤Î³ä¤êÅö¤Æ¡¢»ÈÍѾõ¶·¤Ë¤Ä¤¤¤Æ¤Ï¡¢ netstat -m ¤ÇÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹ (netstat(1) ¤ò¤´Í÷¤¯¤À¤µ¤¤)¡£ NMBCLUSTERS ¤Î¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 512 + MAXUSERS * 16 ¤Ç¤¹¡£

3.14. ¿·¤·¤¤¥«¡¼¥Í¥ë¤ÇºÆµ¯Æ°¤¹¤ë¤È CMAP busy panic ¤È¤Ê¤Ã¤Æ¥Ñ¥Ë¥Ã¥¯¤òµ¯¤³¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë /var/db/kvm_*.db ¤Ë¤ª¤¤¤ÆÈϰϳ°¤Î¥Ç¡¼¥¿¤ò¸¡½Ð¤¹¤ë¤¿¤á¤Î¥í¥¸¥Ã¥¯¤Ï¼ºÇÔ¤¹¤ë¤³¤È¤¬¤¢¤ê¡¢ ¤³¤¦¤·¤¿Ì·½â¤Î¤¢¤ë¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¥Ñ¥Ë¥Ã¥¯¤ò°ú¤­µ¯¤³¤¹¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£

¤³¤ì¤¬µ¯¤³¤Ã¤¿¤Ê¤é¡¢¥·¥ó¥°¥ë¥æ¡¼¥¶¤ÇºÆµ¯Æ°¤·¤¿¸å¤Ë¡¢ °Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# rm /var/db/kvm_*.db

3.15. ahc0: brkadrint, Illegal Host Access at seqaddr 0x0 ¤È¤¤¤¦¥¨¥é¡¼¤¬½Ð¤Þ¤¹

¤³¤ì¤Ï Ultrastor SCSI Host Adapter ¤È¾×Æͤ·¤Æ¤¤¤Þ¤¹¡£

µ¯Æ°»þ¤Ë kernel configuration ¥á¥Ë¥å¡¼¤ËÆþ¤ê¡¢ ÌäÂê¤òµ¯¤³¤·¤Æ¤¤¤ë uha0 ¤ò disable ¤Ë¤·¤Þ¤·¤ç¤¦¡£

3.16. sendmail ¤¬ mail loops back to myself ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤ò½Ð¤¹¤Î¤Ç¤¹¤¬¡£

¤³¤Î»ö¤Ï¡¢sendmail FAQ ¤Ë¼¡¤Î¤è¤¦¤Ë½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£

        * "Local configuration error" ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Þ¤¹¡£¤¿¤È¤¨¤Ð:

        553 relay.domain.net config error: mail loops back to myself
        554 <user@domain.net>... Local configuration error

        ¤Î¤è¤¦¤Êʪ¤Ç¤¹¤¬¡¢¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¤³¤ÎÌäÂê¤ò²ò·è¤Ç¤­¤Þ¤¹¤«?

        ¤³¤ì¤Ï¡¢¤¿¤È¤¨¤Ð domain.net ¤Î¤è¤¦¤Ê¥É¥á¥¤¥ó°¸¤Æ¤Î¥á¡¼¥ë¤ò MX record ¤Ç
        ÆÃÄê¤Î¥Û¥¹¥È (¤³¤³¤Ç¤Ï relay.domain.net) ¤ËÁ÷¤í¤¦¤È¤·¤¿¤Î¤Ë¡¢
        ¤½¤Î¥Û¥¹¥È¤Ç¤Ï domain.net °¸¤Æ¤Î¥á¡¼¥ë¤ò¼õ¤±¼è¤ì¤ë¤è¤¦¤ÊÀßÄê¤Ë
        ¤Ê¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£ÀßÄê¤ÎºÝ¤Ë FEATURE(use_cw_file) ¤ò
        »ØÄꤷ¤Æ¤¢¤ë¾ì¹ç¤Ë¤Ï /etc/sendmail.cw ¤ÎÃæ¤Ë domain.net ¤ò
        Äɲ䷤Ƥ¯¤À¤µ¤¤¡£¤â¤·¤¯¤Ï¡¢/etc/sendmail.cf ¤ÎÃæ¤Ë
        "Cw domain.net" ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£
            

¤â¤Ï¤ä¸½ºß¤Î sendmail FAQ ¤Ï sendmail release ¤È¤Ï°ì½ï¤Ë¤ÏÊݼ餵¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¤·¤«¤·¼¡¤Î¥Í¥Ã¥È¥Ë¥å¡¼¥¹¤ËÄê´üŪ¤ËÅê¹Æ¤µ¤ì¤Æ¤Þ¤¹¡£ comp.mail.sendmail¡¢ comp.mail.misc¡¢ comp.mail.smail¡¢ comp.answers¡¢ news.answers¡£ ¤Þ¤¿¡¢¥á¡¼¥ë·Ðͳ¤Ç¥³¥Ô¡¼¤òÆþ¼ê¤¹¤ë¾ì¹ç¤Ï mail-server@rtfm.mit.edu °¸¤Þ¤ÇËÜʸ¤Ë send usenet/news.answers/mail/sendmail-faq ¤È½ñ¤¤¤ÆÁ÷¤ê¤Þ¤¹¡£

3.17. ¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¤¦¤Þ¤¯Æ°¤«¤Ê¤¤

¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î¥¿¡¼¥ß¥Ê¥ë¥¿¥¤¥×¤¬ FreeBSD ¤Î¥³¥ó¥½¡¼¥ë¤ÇɬÍפȤµ¤ì¤Æ¤¤¤ë cons25 °Ê³°¤Î¤â¤Î¤Ç¤¹¡£

¤³¤ÎÌäÂê¤ò²ò·è¤·¤¦¤ëÊýË¡¤Ï¤¤¤í¤¤¤í¤¢¤ê¤Þ¤¹:

  • ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Ë¥í¥°¥¤¥ó¤·¤¿¸å¡¢ ¤½¤Î¥ê¥â¡¼¥È¥Þ¥·¥ó¤¬ ansi ¤« sco ¤Î¥¿¡¼¥ß¥Ê¥ë¥¿¥¤¥×¤òÃΤäƤ¤¤ë¤Ê¤é¡¢ shell ÊÑ¿ô¤Î TERM ¤Ë¤½¤ì¤é¤Î¤¤¤º¤ì¤«¤òÀßÄꤷ¤Þ¤¹¡£

  • FreeBSD ¤Î¥³¥ó¥½¡¼¥ë¦¤Ç screen ¤Î¤è¤¦¤Ê VT100 ¥¨¥ß¥å¥ì¡¼¥¿¤ò»ÈÍѤ·¤Þ¤¹¡£ screen ¤Ï°ì¤Ä¤Î¥¿¡¼¥ß¥Ê¥ë¤ÎÃæ¤ÇÊ£¿ô¤Î¥»¥Ã¥·¥ç¥ó¤òÊÂÎóÆ°ºî¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤·¡¢ ËÜÍè¤Îµ¡Ç½¤âÍ¥¤ì¤Æ¤¤¤Þ¤¹¡£ ³Æ¡¹¤Î screen ¤Î¥¦¥£¥ó¥É¥¦¤Ï VT100 ¥¿¡¼¥ß¥Ê¥ë¤Î¤è¤¦¤Ë¿¶¤ëÉñ¤¦¤Î¤Ç¡¢ ¥ê¥â¡¼¥È¦¤ÇÀßÄꤵ¤ì¤ë¤Ù¤­ TERM ÊÑ¿ô¤Ï vt100 ¤È¤Ê¤ê¤Þ¤¹¡£

  • ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î¥¿¡¼¥ß¥Ê¥ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë cons25 ¤Î¥¨¥ó¥È¥ê¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£ ¤³¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤Ï¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ë°Í¸¤·¤Þ¤¹¡£ ¥ê¥â¡¼¥È¤Î¥·¥¹¥Æ¥à¤Î¥·¥¹¥Æ¥à´ÉÍý¥Þ¥Ë¥å¥¢¥ë¤¬Ìò¤ËΩ¤Ä¤³¤È¤Ç¤·¤ç¤¦¡£

  • FreeBSD ¦¤Ç X ¥µ¡¼¥Ð¤òµ¯Æ°¤·¤Æ¡¢ ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Ë xterm ¤ä rxvt ¤Î¤è¤¦¤Ê X ¥Ù¡¼¥¹¤Î¥¿¡¼¥ß¥Ê¥ë¥¨¥ß¥å¥ì¡¼¥¿¤ò»È¤Ã¤Æ¥í¥°¥¤¥ó¤·¤Þ¤¹¡£ (ÌõÃí: ÆüËܸ줬ɬÍפʾì¹ç¤Ï kterm Åù¤ò ÍøÍѤ·¤Þ¤¹) ¥ê¥â¡¼¥È¥Û¥¹¥È¤Î TERM ÊÑ¿ô¤Ï xterm ¤â¤·¤¯¤Ï vt100 (ÌõÃí: ¤â¤·¤¯¤Ï kterm) ¤ËÀßÄꤷ¤Þ¤¹¡£

3.18. »ä¤Î¥Þ¥·¥ó¤Ç calcru: negative time... ¤Èɽ¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬

¤³¤ì¤Ï¡¢³ä¤ê¹þ¤ß¤Ë´ØÏ¢¤¹¤ë¤µ¤Þ¤¶¤Þ¤ÊÉÔ¶ñ¹ç¤Ë¤è¤Ã¤ÆȯÀ¸¤·¤Þ¤¹¡£ ¤¢¤ë¤¤¤Ï¡¢¤¢¤ë¥Ç¥Ð¥¤¥¹¤¬¸µ¡¹»ý¤Ã¤Æ¤¤¤ë¥Ð¥°¤¬É½Ì̲½¤·¤¿¤Î¤«¤âÃΤì¤Þ¤»¤ó¡£ ¤³¤Î¾É¾õ¤òºÆ¸½¤µ¤»¤ë°ì¤Ä¤ÎÊýË¡¤È¤·¤Æ¡¢¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¾å¤Ç¡¢ TCP/IP ¤ò Â礭¤Ê MTU ¤ÇÁö¤é¤»¤ë¤È¤¤¤¦¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ ¥°¥é¥Õ¥£¥Ã¥¯¥¢¥¯¥»¥é¥ì¡¼¥¿¤¬¤³¤Î¾É¾õ¤òµ¯¤³¤¹¤³¤È¤¬¤¢¤ê¤Þ¤¹¤¬¡¢ ¤½¤Î¾ì¹ç¤Ï¤Þ¤º¡¢¥«¡¼¥É¤Î³ä¤ê¹þ¤ßÀßÄê¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

¤³¤ÎÌäÂê¤ÎÉûºîÍѤȤ·¤Æ¡¢ ¥×¥í¥»¥¹¤¬ “SIGXCPU exceeded cpu time limit” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤È¤È¤â¤Ë½ªÎ»¤·¤Æ¤·¤Þ¤¦¡¢¤È¤¤¤¦¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

1998 ǯ 11 ·î 29 Æü¤Ë¸ø³«¤µ¤ì¤¿ FreeBSD 3.0 °Ê¹ß¤Ç ¤³¤ÎÌäÂ꤬²ò·è¤·¤Ê¤¤¤Ê¤é¡¢¼¡¤Î sysctl ÊÑ¿ô¤ò¥»¥Ã¥È¤·¤Æ¤¯¤À¤µ¤¤¡£

# sysctl -w kern.timecounter.method=1

¤³¤ì¤Ï¡¢¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤Ø¶¯¤¤±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¤¬¡¢ ÌäÂê¤ÎȯÀ¸¤ËÈæ¤Ù¤ì¤Ð¤ª¤½¤é¤¯µ¤¤Ë¤Ê¤é¤Ê¤¤ÄøÅ٤Ǥ·¤ç¤¦¡£ ¤â¤·¡¢¤³¤ì¤Ç¤â¤Þ¤ÀÌäÂ꤬»Ä¤ë¤è¤¦¤Ê¤é¡¢ ¥«¡¼¥Í¥ë¥ª¥×¥·¥ç¥ó¤Î NTIMECOUNTER ¤òÂ礭¤ÊÃͤËÁý¤ä¤·¤Æ¤¯¤À¤µ¤¤¡£ NTIMECOUNTER=20 ¤Ë¤Þ¤ÇÁý¤ä¤·¤Æ¤â²ò·è¤·¤Ê¤¤¾ì¹ç¤Ï¡¢ ·×»þ½èÍý¤Î¿®ÍêÀ­¤¬ÊݤƤʤ¤Äø¤Î³ä¤ê¹þ¤ß¤¬¡¢ ¤½¤Î¥Þ¥·¥ó¾å¤Çµ¯¤³¤Ã¤Æ¤¤¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

3.19. pcm0 not found ¤È¤¤¤¦É½¼¨¤ò¸«¤¿¤ê ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë¤Ï device pcm0 ¤È ½ñ¤¤¤Æ¤¢¤ë¤Î¤Ë¥µ¥¦¥ó¥É¥«¡¼¥É¤¬ pcm1 ¤È¤·¤Æ ȯ¸«¤µ¤ì¤¿¤ê¤·¤Þ¤¹¡£

¤³¤ì¤Ï FreeBSD 3.x ¤Ç PCI ¤Î¥µ¥¦¥ó¥É¥«¡¼¥É¤ò»È¤Ã¤Æ¤¤¤ë¤È¤­¤Ë ȯÀ¸¤·¤Þ¤¹¡£pcm0 ¥Ç¥Ð¥¤¥¹¤Ï ISA ¤Î¥«¡¼¥ÉÀìÍѤËͽÌ󤵤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£¤³¤Î¤¿¤á¡¢ ¤¢¤Ê¤¿¤¬ PCI ¥«¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤ë¤È¤­¤Ï¤³¤Î¥¨¥é¡¼¤¬É½¼¨¤µ¤ì¡¢ ¥«¡¼¥É¤Ï pcm1 ¤È¤·¤Æ¸¡½Ð¤µ¤ì¤Þ¤¹¡£

注意: ¤³¤Î·Ù¹ð¤ò¡¢Ã±¤Ë¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤ÎÅö³º¹Ô¤ò device pcm1 ¤ËÊѹ¹¤¹¤ë¤³¤È¤Ç ÍÞÀ©¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½¤Î»þ¤Ï pcm1 ¤¬ ISA ¥«¡¼¥É¤Î¤¿¤á¤ËͽÌ󤵤졢PCI ¤Î¥«¡¼¥É¤Ï pcm2 ¤È¤·¤Æ (pcm1 not found ¤Î·Ù¹ð¤È¤È¤â¤Ë) ¸¡½Ð¤µ¤ì¤Þ¤¹¡£

PCI ¤Î¥µ¥¦¥ó¥É¥«¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ê¤é¤Ð¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ snd0 ¥Ç¥Ð¥¤¥¹¤Î¤«¤ï¤ê¤Ë snd1 ¤òºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

# cd /dev
# ./MAKEDEV snd1

¤³¤Î¾õ¶·¤Ï FreeBSD 4.x ¤Ç¤ÏÀ¸¤¸¤Þ¤»¤ó¡£Â¿¤¯¤ÎÅØÎϤηë²Ì¤è¤ê PnP Ãæ¿´¤Ëºî¤êÂؤ¨¤é¤ì¡¢ ¸½ºß¡¢pcm0 ¥Ç¥Ð¥¤¥¹¤Ï ISA ¥«¡¼¥ÉÀìÍѤËͽÌ󤵤줿¤â¤Î¤Ç¤Ï¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£

3.20. ¥×¥é¥°¥¢¥ó¥É¥×¥ì¥¤¤Î¥«¡¼¥É¤¬Ç§¼±¤µ¤ì¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿ (¤Þ¤¿¤Ï¡¢unknown ¤Èǧ¼±¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿)¡£

¸½ºß¤Î FreeBSD 4.x ¤Ï¤è¤ê PnP Ãæ¿´¤Ë ¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤ÎÉûºîÍѤαƶÁ¤Ç¡¢FreeBSD 3.x ¤ÇÆ°¤¤¤Æ¤¤¤¿ PnP ¥Ç¥Ð¥¤¥¹ (¤¿¤È¤¨¤Ð¥µ¥¦¥ó¥É¥«¡¼¥É¤äÆ⢥â¥Ç¥à) ¤ÎÃæ¤Ë¤Ï¡¢ Æ°¤«¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£

¤³¤ÎµóÆ°¤Î¸¶°ø¤Ï Peter Wemm ¤¬ freebsd-questions ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë½ñ¤¤¤¿¡¢°Ê²¼¤Î ¡ÖFreeBSD 4.x ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤¿¤È¤³¤íÆ⢥â¥Ç¥à¤¬ ¸«¤Ä¤«¤é¤Ê¤¯¤Ê¤Ã¤¿¡×¤È¤¤¤¦¥á¡¼¥ë¤Ç²òÀ⤵¤ì¤Æ¤¤¤Þ¤¹¡£ (¤ï¤«¤ê¤ä¤¹¤¯¤¹¤ë¤¿¤á¤Ë [] Æâ¤Ë ¥³¥á¥ó¥È¤ò²Ã¤¨¤Þ¤·¤¿)¡£

PnP BIOS ¤Ï¤¢¤é¤«¤¸¤á¡¢[¥â¥Ç¥à¤ò] ¥Ý¡¼¥È¶õ´Ö¤Ë¸ºß¤·¤Æ¤¤¤ë¤«¤Î¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡£ ¤½¤Î¤¿¤á [3.x ¤Ç¤Ï] ½¾Íè¤Î¼êË¡¤Ë´ð¤Å¤¯ ISA ¥Ç¥Ð¥¤¥¹¤Î¸¡º÷¤Ë¤è¤ê¡¢¥â¥Ç¥à¤Î¸ºß¤ò¡Öȯ¸«¡×¤Ç¤­¤Þ¤¹¡£

4.0 ¤Î ISA ¥³¡¼¥É¤Ï¡¢¤è¤ê PnP Ãæ¿´¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ [3.x ¤Ç¤Ï] ISA ¥Ç¥Ð¥¤¥¹¤Î¸¡º÷¤¬¡Ö¤Ï¤°¤ì¤¿¡×¥Ç¥Ð¥¤¥¹¤òȯ¸«¤·¤Æ¡¢ ¼¡¤Ë PNP ¥Ç¥Ð¥¤¥¹ ID ¤Î¥Þ¥Ã¥Á¤¬¹Ô¤Ê¤ï¤ì¤ë¤³¤È¤Ç¥ê¥½¡¼¥¹¤Î¶¥¹ç¤¬È¯À¸¤·¡¢ ¥Ç¥Ð¥¤¥¹¤Î¸¡º÷¤Ë¼ºÇÔ¤¹¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢4.0 ¤Î ISA ¥³¡¼¥É¤Ç¤Ï Æó½Å¤Ë¸¡º÷¤·¤Ê¤¤¤è¤¦¡¢¥×¥í¥°¥é¥Þ¥Ö¥ë¤Ê¥«¡¼¥É¤ò ºÇ½é¤Ë̵¸ú¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢Âбþ¤·¤Æ¤¤¤ë PnP ¥Ï¡¼¥É¥¦¥§¥¢¤Î PnP ID ¤¬¡¢ ͽ¤á¤ï¤«¤Ã¤Æ¤¤¤ëɬÍפ¬¤¢¤ë¡¢¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¥æ¡¼¥¶¤¬¤³¤ÎµóÆ°¤Ë¤â¤Ã¤È¼ê¤òÆþ¤ì¤é¤ì¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¤¬ TODO ¥ê¥¹¥ÈÃæ¤Ë¤¢¤²¤é¤ì¤Æ¤¤¤Þ¤¹¡£

3.0 ¤ÇÆ°ºî¤·¤Æ¤¤¤¿¥Ç¥Ð¥¤¥¹¤ò 4.0 ¤Ç¤âÆ°ºî¤¹¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢ ¤½¤ì¤Î PnP ID ¤òÄ´¤Ù¡¢ISA ¥Ç¥Ð¥¤¥¹¤Î¸¡º÷¤¬ PnP ¥Ç¥Ð¥¤¥¹¤Î¼±Ê̤˻ȤäƤ¤¤ë¥ê¥¹¥È¤Ë¤½¤ì¤òÄɲ乤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¥Ð¥¤¥¹¤Î¸¡º÷¤Ë»È¤ï¤ì¤ë pnpinfo(8) ¤òÍѤ¤¤Æ¡¢ PnP ID ¤òÆÀ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢Æ⢥â¥Ç¥à¤Ë´Ø¤¹¤ë pnpinfo(8) ¤Î½ÐÎϤϡ¢ °Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

# pnpinfo
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID PMC2430 (0x3024a341), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 0
Device Description: Pace 56 Voice Internal Plug & Play Modem

Logical Device ID: PMC2430 0x3024a341 #0
        Device supports I/O Range Check
TAG Start DF
    I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
        [16-bit addr]
    IRQ: 4  - only one type (true/edge)

[more TAG lines elided]


TAG End DF
End Tag

Successfully got 31 resources, 1 logical fdevs
-- card select # 0x0001

CSN PMC2430 (0x3024a341), Serial Number 0xffffffff

Logical device #0
IO:  0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8
IRQ 5 0
DMA 4 0
IO range check 0x00 activate 0x01

ɬÍפʾðÊó¤Ï¡¢½ÐÎϤÎËÁƬ¤Ë¤¢¤ë “Vendor ID” ¹Ô¤Ë¤¢¤ê¤Þ¤¹¡£ ¤«¤Ã¤³¤ÎÃæ¤Î 16 ¿Ê¿ô (Îã¤ÎÃæ¤Ç¤Ï 0x3024a341) ¤¬ PnP ID ¤Ç¡¢ ľÁ°¤Îʸ»úÎó (PMC2430) ¤Ï¥æ¥Ë¡¼¥¯¤Ê ASCII ID ¤Ç¤¹¡£ ¤³¤Î¾ðÊó¤Ï¥Õ¥¡¥¤¥ë /usr/src/sys/isa/sio.c ¤Ë Äɲ乤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¤Þ¤º¼ºÇÔ¤·¤¿¤È¤­¤ËÈ÷¤¨¤Æ sio.c ¤Î ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¼è¤ë¤Ù¤­¤Ç¤¹¡£¾ã³²Êó¹ð¤òÁ÷¤ë¤¿¤á¤Ë½¤Àµ¥Ñ¥Ã¥Á¤ò ºî¤ë»þ¤Ë¤âɬÍפˤʤë¤Ç¤·¤ç¤¦ (send-pr ¤·¤è¤¦¤È¤·¤Æ¤¤¤Þ¤¹¤è¤Í?)¡£ sio.c ¤òÊÔ½¸¤·¤Æ°Ê²¼¤Î¹Ô¤òõ¤·¤Æ¤¯¤À¤µ¤¤¡£

static struct isa_pnp_id sio_ids[] = {

¤½¤·¤Æ¤¢¤Ê¤¿¤Î¥Ç¥Ð¥¤¥¹¤Î¥¨¥ó¥È¥ê¤òÄɲ乤ëÀµ¤·¤¤¾ì½ê¤òõ¤·¤Þ¤¹¡£ ¥¨¥ó¥È¥ê¤Ï°Ê²¼¤Î¤è¤¦¤Ê·Á¤ò¤·¤Æ¤¤¤Æ¡¢pnpinfo(8) ¤Î ½ÐÎϤˤ¢¤ë ¥Ç¥Ð¥¤¥¹¤ÎÀâÌÀ¤ÎÁ´Éô (¤â¤·¼ý¤Þ¤ì¤Ð) ¤«°ìÉô¤È¤È¤â¤Ë¹Ô¤Î±¦¤ÎÊý¤Î¥³¥á¥ó¥ÈÎΰè¤Ë½ñ¤«¤ì¤Æ¤¤¤ë ASCII ¥Ù¥ó¥À ID ¤Ç¥½¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

{0x0f804f3f, NULL},     /* OZO800f - Zoom 2812 (56k Modem) */
{0x39804f3f, NULL},     /* OZO8039 - Zoom 56k flex */
{0x3024a341, NULL},     /* PMC2430 - Pace 56 Voice Internal Modem */
{0x1000eb49, NULL},     /* ROK0010 - Rockwell ? */
{0x5002734a, NULL},     /* RSS0250 - 5614Jx3(G) Internal Modem */

¤¢¤Ê¤¿¤Î¥Ç¥Ð¥¤¥¹¤Î16¿Ê¿ô¤Î¥Ù¥ó¥À ID ¤òÀµ¤·¤¤¾ì½ê¤Ë Äɲä·¡¢¥Õ¥¡¥¤¥ë¤ò¥»¡¼¥Ö¤·¤Æ¥«¡¼¥Í¥ë¤òºî¤êľ¤·¤ÆºÆµ¯Æ°¤·¤Þ¤¹¡£ ¤¢¤Ê¤¿¤Î¥Ç¥Ð¥¤¥¹¤Ï FreeBSD 3.x ¤Î»þ¤ÈƱ¤¸¤è¤¦¤Ë sio ¤È¤·¤Æ¸«¤Ä¤«¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£

3.21. top ¤ä systat ¤Î ¼Â¹ÔÃæ¤Ë “nlist failed” ¤È¤¤¤¦ ¥¨¥é¡¼¤¬¤Ç¤Þ¤¹¡£

¤³¤Î¥¨¥é¡¼¤Ï¡¢ ¼Â¹Ô¤·¤è¤¦¤È¤·¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬ ¤¢¤ë¥«¡¼¥Í¥ë¥·¥ó¥Ü¥ë¤ò¸¡º÷¤·¤¿·ë²Ì¡¢ ²¿¤é¤«¤ÎÍýͳ¤Ç¤½¤Î¸¡º÷¤Ë¼ºÇÔ¤·¤¿¡¢¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢°Ê²¼¤Ë¼¨¤¹¤¤¤º¤ì¤«¤ÎÍýͳ¤Ë¤è¤ë¤â¤Î¤Ç¤¹¡£

  • ¥«¡¼¥Í¥ë¤È¥æ¡¼¥¶¥é¥ó¥É¤¬Æ±´ü¤·¤Æ¤¤¤Ê¤¤ (¤Ä¤Þ¤ê ¥«¡¼¥Í¥ë¤Ï¿·¤·¤¤¤â¤Î¤ò¹½ÃÛ¤·¤¿¤¬¡¢ installworld ¤Ï¹Ô¤Ê¤Ã¤Æ¤¤¤Ê¤¤¡£ ¤¢¤ë¤¤¤Ï¤½¤ÎµÕ) ¤Î¤Ç¡¢ ¥·¥ó¥Ü¥ë¥Æ¡¼¥Ö¥ë¤¬¥æ¡¼¥¶¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¹Í¤¨¤Æ¤¤¤ë¤â¤Î¤È°Û¤Ê¤Ã¤Æ¤¤¤ë¡£ ¤â¤·¤³¤Î¥±¡¼¥¹¤Ê¤é¡¢°ìÏ¢¤Î¥¢¥Ã¥×¥°¥ì¡¼¥É¼ê½ç¤Ë½¾¤Ã¤Æ¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò¹Ô¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤ (Àµ¤·¤¤¤ä¤êÊý¤Ï /usr/src/UPDATING ¤Ë½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹)¡£

  • ¥«¡¼¥Í¥ë¤ò¥í¡¼¥É¤¹¤ë¤Î¤Ë /boot/loader ¤ò»È¤ï¤º¡¢ ľÀÜ boot2 (boot(8) »²¾È) ¤«¤é¥í¡¼¥É¤·¤Æ¤¤¤ë¡£ ¤â¤Á¤í¤ó /boot/loader ¤ò»È¤ï¤Ê¤¯¤È¤âÌäÂê¤Ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ /boot/loader ¤Ï°ìÈÌŪ¤Ë¡¢ ¥æ¡¼¥¶¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤«¤é¥«¡¼¥Í¥ë¥·¥ó¥Ü¥ë¤ò ¥¢¥¯¥»¥¹¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Îµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£

3.22. ssh(1) ¤ä telnet(1) ¤Ç¥³¥ó¥Ô¥å¡¼¥¿¤ËÀܳ¤¹¤ë ¤Î¤Ë¡¢¤É¤¦¤·¤Æ¤³¤ó¤Ê¤Ë»þ´Ö¤¬¤«¤«¤ë¤Î¤Ç¤¹¤«?

¾É¾õ: TCP ¥³¥Í¥¯¥·¥ç¥ó¤¬³ÎΩ¤·¤Æ¤«¤é¡¢ ¥¯¥é¥¤¥¢¥ó¥È¥½¥Õ¥È¥¦¥§¥¢¤¬¥Ñ¥¹¥ï¡¼¥É¤ò¿Ò¤Í¤Æ¤¯¤ë¤Þ¤Ç (telnet(1) ¤Î¾ì¹ç¤Ï¡¢¥í¥°¥¤¥ó¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤ë¤Þ¤Ç) ¤ËŤ¤»þ´Ö¤¬¤«¤«¤ë¡¢¤È¤¤¤¦¤â¤Î¡£

ÌäÂê: ¤ª¤½¤é¤¯¡¢¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤¬¥¯¥é¥¤¥¢¥ó¥È¤Î IP ¥¢¥É¥ì¥¹¤«¤é¥Û¥¹¥È̾¤ò²ò·è¤·¤è¤¦¤È¤·¤Æ¡¢Ã٤줬À¸¤¸¤Æ¤¤¤ë ¤Î¤Ç¤·¤ç¤¦¡£FreeBSD ¤ËÉÕ°¤¹¤ë SSH ¤ä Telnet ¤ò´Þ¤à¿¤¯¤Î ¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤Ï¡¢¤³¤Î̾Á°²ò·è¤ò¤ª¤³¤Ê¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢ ´ÉÍý¼Ô¤¬¸åÆü»²¾È¤¹¤ë¥í¥°¥Õ¥¡¥¤¥ë¤Ë¡¢¤½¤Î¾¤Î¾ðÊó¤È°ì½ï¤Ë ¥Û¥¹¥È̾¤òµ­Ï¿¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤Î¤¬ÌÜŪ¤Ç¤¹¡£

ÂнèË¡: ¤â¤·¡¢¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿ (¥¯¥é¥¤¥¢¥ó¥È) ¤«¤é¤É¤Î¥µ¡¼¥Ð¤ËÀܳ¤¹¤ë¾ì¹ç¤Ë¤âÌäÂ꤬µ¯¤³¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥¯¥é¥¤¥¢¥ó¥È¤ËÌäÂ꤬¤¢¤ê¤Þ¤¹¡£¤½¤·¤Æ¡¢Ã¯¤«¤¬¤¢¤Ê¤¿¤Î ¥³¥ó¥Ô¥å¡¼¥¿ (¥µ¡¼¥Ð) ¤ËÀܳ¤¹¤ë¤È¤­¤À¤±ÌäÂ꤬µ¯¤³¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¤½¤Î¥µ¡¼¥Ð¤ÎÌäÂê¤Ç¤¹¡£

ÌäÂ꤬¥¯¥é¥¤¥¢¥ó¥È¤Ë¤¢¤ë¾ì¹ç¡¢Í£°ì¤ÎÂнèË¡¤Ï ¥µ¡¼¥Ð¤¬¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Î̾Á°¤ò²ò·è¤Ç¤­¤ë¤è¤¦¤Ë DNS ¤ò½¤Àµ¤¹¤ë¤³¤È¤Ç¤¹¡£ ¾É¾õ¤¬¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯¤ÇȯÀ¸¤·¤Æ¤¤¤ë¤Ê¤é¡¢¥µ¡¼¥Ð¤ÎÀßÄê¤Ë ¸¶°ø¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¤³¤Î¤Þ¤Þ³¤­¤òÆɤߤޤ·¤ç¤¦¡£ ¤½¤¦¤Ç¤Ï¤Ê¤¯¡¢¥°¥í¡¼¥Ð¥ë¤Ê¥¤¥ó¥¿¡¼¥Í¥Ã¥È´Ä¶­¤ÇȯÀ¸¤·¤Æ¤¤¤ë¤Ê¤é¡¢ ISP ¤ËÏ¢Íí¤·¤ÆÌäÂê¤Î½¤Àµ¤ò¤ª´ê¤¤¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤²ÄǽÀ­¤¬¹â¤¤¤Ç¤·¤ç¤¦¡£

ÌäÂ꤬¥µ¡¼¥Ð¤Ë¤¢¤Ã¤Æ¡¢¾É¾õ¤¬¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯¤Ç ȯÀ¸¤·¤Æ¤¤¤ë¤Ê¤é¡¢¥í¡¼¥«¥ë¤Î¥¢¥É¥ì¥¹ÈϰϤˤ¢¤ë¥¢¥É¥ì¥¹¤ò¡¢ ¤½¤ì¤ËÂбþ¤¹¤ë¥Û¥¹¥È̾¤Ë²ò·è¤¹¤ëÌä¹ç¤»¤ò½èÍý¤Ç¤­¤ë¤è¤¦¤Ë¡¢ ¥µ¡¼¥Ð¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¾Ü¤·¤¯¤Ï¡¢hosts(5) ¤ª¤è¤Ó named(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò¤´Í÷¤¯¤À¤µ¤¤¡£¥°¥í¡¼¥Ð¥ë¤Ê¥¤¥ó¥¿¡¼¥Í¥Ã¥È´Ä¶­¤Î¾ì¹ç¤Ï¡¢ ¥µ¡¼¥Ð¤Î¥ê¥¾¥ë¥Ð¤¬Àµ¤·¤¯Æ°ºî¤·¤Æ¤¤¤Ê¤¤¤Î¤¬¸¶°ø¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ³Îǧ¤¹¤ë¤Ë¤Ï¡¢Â¾¤Î¥Û¥¹¥È (¤¿¤È¤¨¤Ð www.yahoo.com) ¤ò°ú¤¤¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤¦¤Þ¤¯¤¤¤«¤Ê¤±¤ì¤Ð¡¢¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿¤ÎÌäÂê¤Ç¤¹¡£

3.23.file: table is full” ¤È¤¤¤¦ ¥á¥Ã¥»¡¼¥¸¤¬·«¤êÊÖ¤· dmesg ¤Ë¤¢¤é¤ï¤ì¤Þ¤¹¡£

¤³¤Î¥¨¥é¡¼¤Ï¡¢¥·¥¹¥Æ¥à¤Î¥Õ¥¡¥¤¥ëµ­½Ò»Ò¤ò»È¤¤²Ì¤¿¤·¤Æ ¤·¤Þ¤Ã¤¿»þ¤ËȯÀ¸¤·¤Þ¤¹¡£¥á¥â¥êÃæ¤Î¥Õ¥¡¥¤¥ë¥Æ¡¼¥Ö¥ë¤¬°ìÇÕ¤Ë ¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¡£

²ò·èË¡:

¼êÆ°¤Ç sysctl ÊÑ¿ô kern.maxfiles ¤Î¸Â³¦ÃͤòÄ´À°¤·¤Þ¤¹¡£

# sysctl -w kern.maxfiles=n

n ¤Ï¡¢¥·¥¹¥Æ¥àÍ×·ï¤Ë¹ç¤ï¤»¤Æ¤¯¤À¤µ¤¤¡£ ¥ª¡¼¥×¥ó¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¡¢¥½¥±¥Ã¥È¤Þ¤¿¤Ï fifo ¤Î¤½¤ì¤¾¤ì¤¬ ¥Õ¥¡¥¤¥ëµ­½Ò»Ò¤ò¾ÃÈñ¤·¤Þ¤¹¡£µ¬ÌϤÎÂ礭¤Ê¥µ¡¼¥Ð¤Ï¡¢ Ʊ»þ¤Ë¼Â¹Ô¤µ¤ì¤ë¥µ¡¼¥Ó¥¹¤Ë±þ¤¸¤Æ¡¢¤¤¤È¤â¤¿¤ä¤¹¤¯²¿Ëü¤â¤Î ¥Õ¥¡¥¤¥ëµ­½Ò»Ò¤òÍ׵ᤷ¤Þ¤¹¡£

¥«¡¼¥Í¥ë¤ËÀßÄꤵ¤ì¤¿¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥¡¥¤¥ëµ­½Ò»Ò¤Î ¿ô¤ò·èÄꤹ¤ë¤Î¤Ï¡¢¼¡¤Î

maxusers        32

¥«¡¼¥Í¥ëÀßÄê¥Õ¥¡¥¤¥ë¤Î maxusers ¹Ô ¤Ç¤¹¡£kern.maxfiles ¤Ï¤³¤ÎÃͤËÈæÎ㤷¤Æ Áý²Ã¤·¤Þ¤¹¡£

¸½ºßÀßÄꤵ¤ì¤Æ¤¤¤ë kern.maxfiles ¤Î Ãͤϡ¢¼¡¤Î¥³¥Þ¥ó¥É¤ÇÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# sysctl kern.maxfiles
kern.maxfiles: 1064
         

3.24. laptop ¤Î»þ´Ö¤¬¶¸¤Ã¤Æ¡¢Â礭¤¯¿Ê¤ó¤À¤êÃ٤줿¤ê¤·¤Þ¤¹¡£

laptop ¤Ë¤ÏÆó¤Ä°Ê¾å¤Î»þ·×¤¬Æ⢤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢FreeBSD ¤¬´Ö°ã¤Ã¤¿Êý¤òÁªÂò¤·¤Æ»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£

dmesg(8) ¤ò¼Â¹Ô¤·¤Æ Timecounter ¤ò´Þ¤à¹Ô¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ºÇ¸å¤Ë½ÐÎϤµ¤ì¤¿¹Ô¤¬ FreeBSD ¤¬ÁªÂò¤·¤¿¤â¤Î¤Ç¡¢¤Þ¤º´Ö°ã¤¤ ¤Ê¤¯ TSC ¤Ç¤·¤ç¤¦¡£

# dmesg | grep Timecounter
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 595573479 Hz

sysctl(3) ÊÑ¿ô kern.timecounter.hardware ¤ò³Îǧ¤¹¤ì¤Ð ΢ÉÕ¤±¤¬¤È¤ì¤Þ¤¹¡£

# sysctl kern.timecounter.hardware
kern.timecounter.hardware: TSC

¥Ð¥Ã¥Æ¥ê¶îÆ°¤·¤Æ¤¤¤ë»þ¤Ë¡¢BIOS ¤¬ CPU ¤Î®ÅÙ¤òÊѤ¨¤ë¤¿¤á¤Ë TSC ¥¯¥í¥Ã¥¯¤òÊѹ¹¤·¤¿¤ê¡¢ÅÅÎÏÀáÌó¥â¡¼¥É¤ËÆþ¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ ¤·¤«¤·¡¢FreeBSD ¤Ï¤½¤¦¤¤¤Ã¤¿Ä´À°¤ò´ØÃΤ·¤Ê¤¤¤Î¤Ç¡¢ »þ´Ö¤¬Áá¤Þ¤Ã¤¿¤êÃ٤줿¤ê¤¹¤ë¤è¤¦¤Ç¤¹¡£

¾åµ­¤ÎÎã¤Ç¤Ï¡¢i8254 ¥¯¥í¥Ã¥¯¤âÍøÍѤǤ­¤Þ¤¹¡£ sysctl(3) ÊÑ¿ô kern.timecounter.hardware ¤Ë¤½¤Î̾¾Î¤ò½ñ¤­¹þ¤ó¤ÇÁªÂò¤Ç¤­¤Þ¤¹¡£

# sysctl -w kern.timecounter.hardware=i8254
kern.timecounter.hardware: TSC -> i8254

¤³¤ì¤Ç¡¢laptop ¤Ï¤è¤êÀµ³Î¤Ê»þ´Ö¤ò¹ï¤à¤Ç¤·¤ç¤¦¡£

¤³¤ÎÊѹ¹¤òµ¯Æ°»þ¤Ë¼«Æ°¤Ç¹Ô¤¦¤Ë¤Ï¡¢¼¡¤Î¹Ô¤ò /etc/sysctl.conf ¤ËÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

kern.timecounter.hardware=i8254

3.25. BIOS ²èÌ̤¬½Ð¤¿¸å¡¢FreeBSD ¤Î¥Ö¡¼¥È¥í¡¼¥À¤¬ “Read error” ¤Èɽ¼¨¤·¤Æ»ß¤Þ¤Ã¤Æ ¤·¤Þ¤¤¤Þ¤¹¡£

FreeBSD ¤Î¥Ö¡¼¥È¥í¡¼¥À¤¬¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤òÀµ¤·¤¯ ǧ¼±¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ç¤¹¡£FreeBSD ¤Î¥¹¥é¥¤¥¹¤ò fdisk ¤Ë¤è¤Ã¤Æ¼êÆ°¤ÇºîÀ®¤·¤¿¤êÊѹ¹¤·¤¿¤ê¤¹¤ëºÝ¤Ë¡¢ ¥¸¥ª¥á¥È¥ê¤ò¸í¤Ã¤Æ»ØÄꤷ¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¡£

¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤ÎÀµ¤·¤¤Ãͤϡ¢¥Þ¥·¥ó¤Î BIOS ¤«¤é ÆÀ¤é¤ì¤Þ¤¹¡£¤½¤Î¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥·¥ê¥ó¥À¡¢¥Ø¥Ã¥É¡¢¥»¥¯¥¿¤Î ¿ô¤òõ¤·¤Æ¤¯¤À¤µ¤¤¡£

sysinstall(8) ¤Î fdisk ¤Ë¤ª¤¤¤Æ¡¢ G ¤òÆþÎϤ·¤Æ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤ò ÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

¥·¥ê¥ó¥À¡¢¥Ø¥Ã¥É¡¢¥»¥¯¥¿¤Î¿ô¤òÆþÎϤ¹¤ë¥À¥¤¥¢¥í¥°¤¬½Ð¤Æ¤­¤Þ¤¹¡£ BIOS ¤«¤éÆÀ¤¿Ãͤò¼ÐÀþ (/) ¤Ç¶èÀڤäÆÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

5000 ¥·¥ê¥ó¥À¡¢250 ¥Ø¥Ã¥É¡¢60 ¥»¥¯¥¿¤Ê¤é¡¢ 5000/250/60 ¤ÈÆþÎϤ·¤Þ¤¹¡£

¥ê¥¿¡¼¥ó¥­¡¼¤ò²¡¤·¤ÆÃͤòÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤«¤é W ¤òÆþÎϤ·¤Æ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ë¿·¤·¤¤¥Ñ¡¼¥Æ¥£ ¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ò½ñ¤­¹þ¤ó¤Ç¤¯¤À¤µ¤¤¡£

3.26. Ê̤Υª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬¡¢¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ò ²õ¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£¤É¤¦¤¹¤ì¤ÐÉüµì¤Ç¤­¤ë¤Ç¤·¤ç¤¦¤«¡£

sysinstall(8) ¤òΩ¤Á¾å¤²¤Æ Configure (ÀßÄê)¡¢Fdisk ¤Î½ç¤ËÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤¬ÃÖ¤«¤ì¤Æ¤¤¤¿ ¥Ç¥£¥¹¥¯¤òÁªÂò¤·¤Æ¡¢¥¹¥Ú¡¼¥¹¥­¡¼¤ò ²¡¤·¤Æ¤¯¤À¤µ¤¤¡£W ¤ò²¡¤·¤ÆÊѹ¹¤ò ¥Ç¥£¥¹¥¯¤Ë½ñ¤­¹þ¤ó¤Ç¤¯¤À¤µ¤¤¡£¤É¤Î¥Ö¡¼¥È¥í¡¼¥À¤ò ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤«¿Ò¤Í¤é¤ì¤Þ¤¹¡£¤³¤³¤ÇÁªÂò¤¹¤ì¤ÐÌ᤻¤Þ¤¹¡£


第 4章¾¦ÍÑ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó

Ìõ: »³²¼ ½ß ¡¢ 1997 ǯ 11 ·î 10 Æü

注意: ¤³¤Î¾Ï¤Ï¤Þ¤À¤Þ¤À¾ðÊó¤¬Â­¤ê¤Þ¤»¤ó¡£ ¾ðÊó¤òÄɲ䷤Ƥ¯¤ì¤ë¤è¤¦¤Ê´ë¶È¤òÂÔ¤Á˾¤ó¤Ç¤¤¤Þ¤¹¡£ FreeBSD ¥°¥ë¡¼¥×¤Ï¤³¤³¤ËºÜ¤Ã¤Æ¤¤¤ë´ë¶È¤«¤é¤Î¶âÁ¬Åª¤Ê»Ù±ç¤ò´üÂÔ¤·¤Æ¤Ï¤¤¤Þ¤»¤ó¤Î¤Ç¡¢ Êô»Åºî¶È¤Î°ì¤Ä¤È¤·¤Æ·ÇºÜ¤·¤Æ¤¤¤Þ¤¹ (¤½¤·¤Æ FreeBSD ¤¬·¸¤ï¤ëÀëÅÁ¤Ï¡¢Ä¹¤¤ÌܤǸ«¤ë¤È FreeBSD ¤ËÂФ·¤Æ¤è¤¤Êý¸þ¤ØƯ¤¯¤È»×¤Ã¤Æ¤¤¤Þ¤¹)¡£ »ä¤¿¤Á¤Ï¾¦ÍÑ¥½¥Õ¥È¥¦¥§¥¢¥Ù¥ó¥À¤Ë¡¢ ¤³¤³¤ÇÀ½ÉʤòÀëÅÁ¤·¤Æ¤â¤é¤¦¤³¤È¤ò˾¤ó¤Ç¤¤¤Þ¤¹¡£¾Ü¤·¤¯¤Ï¡¢ ¾¦ÍÑ¥½¥Õ¥È¥¦¥§¥¢¥Ù¥ó¥ÀÍ÷¤Î¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

4.1. FreeBSD ÍѤΥª¥Õ¥£¥¹¥¹¥¤¡¼¥È¤Ï¤É¤³¤ÇÆþ¼ê¤Ç¤­¤Þ¤¹¤«?
4.2. FreeBSD ÍѤΠMotif ¤Ï¤É¤¦¤ä¤Ã¤¿¤é¼ê¤ËÆþ¤ê¤Þ¤¹¤«
4.3. FreeBSD ÍѤΠCDE ¤Ï¤É¤¦¤ä¤Ã¤¿¤é¼ê¤ËÆþ¤ê¤Þ¤¹¤«
4.4. ¹âµ¡Ç½¤Ê¾¦ÍÑ X ¥µ¡¼¥Ð¤Ã¤Æ¤¢¤ë¤ó¤Ç¤¹¤«?
4.5. FreeBSD ÍѤΥǡ¼¥¿¥Ù¡¼¥¹¥·¥¹¥Æ¥à¤Ï¤¢¤ê¤Þ¤¹¤«?
4.6. Oracle ¤ò FreeBSD ¾å¤ÇÆ°¤«¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

4.1. FreeBSD ÍѤΥª¥Õ¥£¥¹¥¹¥¤¡¼¥È¤Ï¤É¤³¤ÇÆþ¼ê¤Ç¤­¤Þ¤¹¤«?

  • BSDi ¤Ï FreeBSD ¥Í¥¤¥Æ¥£¥ÖÈǤΠVistaSource ApplixWare 5 ¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£

    ApplixWare ¤Ï¡¢¹ë²Ú¤Çµ¡Ç½ËþºÜ¤Î FreeBSD ¸þ¤±¤Î ¾¦ÍÑ¥ª¥Õ¥£¥¹¥¹¥¤¡¼¥È¤Ç¡¢¥ï¡¼¥É¥×¥í¥»¥Ã¥µ¡¢É½·×»»¡¢ ¥×¥ì¥¼¥ó¥Æ¡¼¥·¥ç¥ó¥½¥Õ¥È¥¦¥§¥¢¡¢¥Ù¥¯¥¿ÉÁ²è¥½¥Õ¥È¥¦¥§¥¢¡¢ ¤½¤Î¾¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò·¤¨¤Æ¤¤¤Þ¤¹¡£

    FreeBSD ÈǤΠApplixWare ¤Î¹ØÆþ¤Ï ¤³¤Á¤é¤«¤é¤É¤¦¤¾¡£

  • Linux ÈǤΠStarOffice ¤Ï FreeBSD ¤Ç´°àú¤ËÆ°ºî¤·¤Þ¤¹¡£Linux ÈǤΠStarOffice ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤â¤Ã¤È¤â´Êñ¤ÊÊýË¡¤Ï¡¢FreeBSD Ports ¥³¥ì¥¯¥·¥ç¥ó¤òÍøÍѤ¹¤ë¤³¤È¤Ç¤¹¡£ ¤Þ¤¿¡¢¥ª¡¼¥×¥ó¥½¡¼¥¹¤Î OpenOffice ¤â¾­Íè¤Î¥Ð¡¼¥¸¥ç¥ó¤ÇÆ°ºî¤¹¤ë¤Ç¤·¤ç¤¦¡£

4.2. FreeBSD ÍѤΠMotif ¤Ï¤É¤¦¤ä¤Ã¤¿¤é¼ê¤ËÆþ¤ê¤Þ¤¹¤«

FreeBSD ÍѤÎÎ÷²ÁÈÇ ELF Motif 2.1.20 (i386 ÈÇ¡¢Alpha ÈÇ) ¤Ë´Ø¤¹¤ë¾ðÊó¤ÏApps2go ¤«¤é ¼ê¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤³¤ÎÀ½Éʤˤϡ¢¡Ö³«È¯¼ÔÈÇ (development edition)¡× ¤È¡¢ ¤è¤ê°Â²Á¤Ê¡Ö¥é¥ó¥¿¥¤¥àÈÇ (runtime edition)¡× ¤ÎÆó¤Ä¤ÎÈǤ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤ÎÀ½Éʤϰʲ¼¤Îʪ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

  • OSF/Motif manager¡¢xmbind¡¢panner¡¢wsm¡£

  • uil¡¢mrm¡¢xm¡¢xmcxx¡¢¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë¤ä Imake ¥Õ¥¡¥¤¥ë¤È¤¤¤Ã¤¿³«È¯¼Ô¸þ¤±¥­¥Ã¥È

  • FreeBSD 3.0 °Ê¹ß¤ÇÍøÍѤǤ­¤ë ELF ÈÇ¥¹¥¿¥Æ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê¡¢ ¤ª¤è¤Ó¥À¥¤¥Ê¥ß¥Ã¥¯¥é¥¤¥Ö¥é¥ê

  • ¥Ç¥â¥ó¥¹¥È¥ì¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à

Ãíʸ¤¹¤ëºÝ¤Ë¤Ï FreeBSD ÍѤΠMotif ¤Ç¤¢¤ë¤³¤È¤ò¤­¤Á¤ó¤È ³Îǧ¤·¤Æ¤¯¤À¤µ¤¤ (¤¢¤Ê¤¿¤ÎÍߤ·¤¤¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤ò»ØÄꤹ¤ë¤Î¤â ˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤!)¡£NetBSD ¤ä OpenBSD ÍѤΠMotif ¤â¤Þ¤¿¡¢ Apps2go¤«¤éÈÎÇ䤵¤ì¤Æ¤¤¤Þ¤¹¡£¸½ºß¡¢FTP ¤Ë¤è¤ë ¥À¥¦¥ó¥í¡¼¥É¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï

Apps2go WWW page

Ì䤤¹ç¤ï¤»¤Ï

Sales ¤Þ¤¿¤Ï Support ÅŻҥ᡼¥ë¥¢¥É¥ì¥¹¡£

¤â¤·¤¯¤Ï

phone (817) 431 8775 or +1 817 431-8775

¾¤Î FreeBSD ÍÑ Motif 2.1 (ELF ÈÇ¡¢a.out ÈÇ) ¤Ë´Ø¤¹¤ë¾ðÊó¤Ï Metro Link ¤«¤é¼ê¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤³¤ÎÀ½Éʤϰʲ¼¤Îʪ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

  • OSF/Motif manager¡¢xmbind¡¢panner¡¢wsm¡£

  • uil¡¢mrm¡¢xm¡¢xmcxx¡¢¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë¤ä Imake ¥Õ¥¡¥¤¥ë¤È¤¤¤Ã¤¿³«È¯¼Ô¸þ¤±¥­¥Ã¥È

  • ¥¹¥¿¥Æ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê¡¢¤ª¤è¤Ó¥À¥¤¥Ê¥ß¥Ã¥¯¥é¥¤¥Ö¥é¥ê¡£ (FreeBSD 3.0 °Ê¹ß¤ÇÍøÍѤǤ­¤ë ELF ÈǤ«¡¢ FreeBSD 2.2.8 °ÊÁ°¤ÇÍøÍѤǤ­¤ë a.out ÈǤò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤)

  • ¥Ç¥â¥ó¥¹¥È¥ì¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à

  • À°·ÁºÑ¤ß¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸

Ãíʸ¤¹¤ëºÝ¤Ë¤Ï FreeBSD ÍѤΠMotif ¤Ç¤¢¤ë¤³¤È¤ò¤­¤Á¤ó¤È ³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£Linux ÍѤΠMotif ¤â Metro Link ¤«¤éÈÎÇ䤵¤ì¤Æ¤¤¤Þ¤¹¡£¸½ºß¡¢CDROM ¤ª¤è¤Ó FTP ¤Ë¤è¤ë¥À¥¦¥ó¥í¡¼¥É¤¬ÍøÍѲÄǽ¤Ç¤¹¡£

FreeBSD ÍѤΠa.out ÈÇ Motif 2.0 ¤Ë´Ø¤¹¤ë¾ðÊó¤Ï Xi Graphics ¤«¤é ¼ê¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤³¤ÎÀ½Éʤˤϰʲ¼¤Îʪ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

  • OSF/Motif manager¡¢xmbind¡¢panner¡¢wsm¡£

  • uil¡¢mrm¡¢xm¡¢xmcxx¡¢¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë¤ä Imake ¥Õ¥¡¥¤¥ë¤È¤¤¤Ã¤¿³«È¯¼Ô¸þ¤±¥­¥Ã¥È

  • FreeBSD 2.2.8 °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤ÇÍøÍѤǤ­¤ë¥¹¥¿¥Æ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê¡¢ ¤ª¤è¤Ó¥À¥¤¥Ê¥ß¥Ã¥¯¥é¥¤¥Ö¥é¥ê

  • ¥Ç¥â¥ó¥¹¥È¥ì¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à

  • À°·ÁºÑ¤ß¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸

Ãíʸ¤¹¤ëºÝ¤Ë¤Ï FreeBSD ÍѤΠMotif ¤Ç¤¢¤ë¤³¤È¤ò¤­¤Á¤ó¤È ³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£BSDI ¤ä Linux ÍѤΠMotif ¤â¤Þ¤¿¡¢Xi Graphics ¤«¤éÈÎÇ䤵¤ì¤Æ¤¤¤Þ¤¹¡£¸½ºß¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯ 4ËçÁȤǤ¹¤¬¡¢ ¾­ÍèŪ¤Ë¤Ï CDE ¤Î¤è¤¦¤ËÅý¹ç¤µ¤ì¤¿ CD ¤ËÊѤï¤ë¤Ç¤·¤ç¤¦¡£

4.3. FreeBSD ÍѤΠCDE ¤Ï¤É¤¦¤ä¤Ã¤¿¤é¼ê¤ËÆþ¤ê¤Þ¤¹¤«

°ÊÁ° Xi Graphics ¤è¤ê FreeBSD ÍѤΠCDE ¤¬ ÈÎÇ䤵¤ì¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ï´û¤ËÈÎÇ䤬½ªÎ»¤·¤Æ¤¤¤Þ¤¹¡£

KDE ¿¤¯¤ÎÅÀ¤Ç CDE ¤ÈÎà»÷¤·¤Æ¤¤¤ë¥ª¡¼¥×¥ó¥½¡¼¥¹¤Î X11 ¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­¤Ç¤¹¡£ xfce ¤Î ¥ë¥Ã¥¯ & ¥Õ¥£¡¼¥ë (ÌõÃí: ³°´Ñ¤äÁàºîÊýË¡¤Î¤³¤È) ¤âµ¤¤ËÆþ¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£ KDE¡¢xfce ¤Ï¡¢¤¤¤º¤ì¤â FreeBSD Ports Collection ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

4.4. ¹âµ¡Ç½¤Ê¾¦ÍÑ X ¥µ¡¼¥Ð¤Ã¤Æ¤¢¤ë¤ó¤Ç¤¹¤«?

¤Ï¤¤¡¢Xi Graphics ¤È Metro Link ¤«¤é¡¢FreeBSD ¤Û¤« Intel ¥Ù¡¼¥¹¤Î¥·¥¹¥Æ¥à¤ÇÆ°ºî¤¹¤ë Accelerated-X ¤È¤¤¤¦À½Éʤ¬ÈÎÇ䤵¤ì¤Æ¤¤¤Þ¤¹¡£

Metro Link ¤Ï¡¢FreeBSD ¤Î¥Ñ¥Ã¥±¡¼¥¸Áàºî¥Ä¡¼¥ë¤òÍøÍѤ¹¤ë¤³¤È¤Ç ÍưפËÀßÄ꤬¹Ô¤Ê¤¨¤ë¤Û¤«¡¢¿ô¿¤¯¤Î¥Ó¥Ç¥ª¥Ü¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤¿ ¹âµ¡Ç½¤Ê X ¥µ¡¼¥Ð¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ÇÛÉۤϥХ¤¥Ê¥ê·Á¼°¤Î¤ß¤Ç¡¢ FTP ¤¬ÍøÍѲÄǽ¤Ç¤¹¡£¤â¤Á¤í¤ó¡¢¤È¤Æ¤â°Â²Á ($39) ¤Ë¼ê¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤Þ¤¿¡¢Metro Link ¤Ï ELF ÈÇ¡¢a.out ÈǤΠFreeBSD ÍÑ Motif ¤âÈÎÇ䤷¤Æ¤¤¤Þ¤¹ (Á°¤ò»²¾È)¡£

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï

Metro Link WWW page

Ì䤤¹ç¤ï¤»¤Ï

Sales ¤Þ¤¿¤Ï Support ÅŻҥ᡼¥ë¥¢¥É¥ì¥¹

¤â¤·¤¯¤Ï

phone (954) 938-0283 or +1 954 938-0283

Xi Graphics ¤¬Ä󶡤·¤Æ¤¤¤ë¹âÀ­Ç½¤Ê X ¥µ¡¼¥Ð¤Ï³Ú¤ËÀßÄê¤ò¹Ô¤Ê¤¨¤ë¤Û¤«¡¢ ¿ô¿¤¯¤Î¥Ó¥Ç¥ª¥Ü¡¼¥É ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¥µ¡¼¥Ð¤Ï¥Ð¥¤¥Ê¥ê¤Î¤ß¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ FreeBSD ÍÑ¤È Linux ÍѤÎÅý¹ç¤µ¤ì¤¿¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤ËÆþ¤Ã¤Æ¤¤¤Þ¤¹¡£ Xi Graphics ¤Ï Laptop ¥µ¥Ý¡¼¥È¤ËÆò½¤·¤¿¹âÀ­Ç½ X ¥µ¡¼¥Ð¤âÄ󶡤·¤Æ¤¤¤Þ¤¹¡£

¥Ð¡¼¥¸¥ç¥ó 5.0 ¤Î¡Ö¸ß´¹¥Ç¥â¡×¤¬ÌµÎÁ¤ÇÆþ¼ê¤Ç¤­¤Þ¤¹¡£

¤Þ¤¿ Xi Graphics ¤Ï FreeBSD ÍѤΠMotif ¤È CDE ¤âÈÎÇ䤷¤Æ¤¤¤Þ¤¹ (Á°¤ò»²¾È)¡£

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï

Xi Graphics WWW page

Ì䤤¹ç¤»¤Ï

Sales ¤Þ¤¿¤Ï Support

¤â¤·¤¯¤Ï

phone (800) 946 7433 or +1 303 298-7478.

4.5. FreeBSD ÍѤΥǡ¼¥¿¥Ù¡¼¥¹¥·¥¹¥Æ¥à¤Ï¤¢¤ê¤Þ¤¹¤«?

¤â¤Á¤í¤ó¤Ç¤¹¡£FreeBSD ¤Î¥¦¥§¥Ö¥µ¥¤¥È¤Ë¤¢¤ë ¾¦ÍÑ¥Ù¥ó¥À¡¼ ¤È¤¤¤¦¥»¥¯¥·¥ç¥ó¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

¤Þ¤¿¡¢FreeBSD Ports Collection ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥»¥¯¥·¥ç¥ó¤â»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

4.6. Oracle ¤ò FreeBSD ¾å¤ÇÆ°¤«¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

¤Ï¤¤¡£Linux ÈÇ Oracle ¤ò FreeBSD ¤Ç¥»¥Ã¥È¥¢¥Ã¥×¤¹¤ë¤¿¤á¤ÎÊýË¡¤Ï¡¢ ¼¡¤Ë¼¨¤¹¥Ú¡¼¥¸¤Ë¾Ü¤·¤¯½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£


第 5章¥æ¡¼¥¶¥¢¥×¥ê¥±¡¼¥·¥ç¥ó

Ìõ: »³²¼ ½ß ¡¢ ¹­À¥ ¾»°ì ¡¢ 1997 ǯ 11 ·î 8 Æü

5.1. ¤½¤¦¤¤¤¦¥æ¡¼¥¶¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï¤É¤³¤Ë¤¢¤ë¤Î?
5.2. ¤Ê¤¼ /bin/sh ¤Ï¤³¤ó¤Ê¤ËÄ㵡ǽ¤Ê¤Î¤Ç¤¹¤«? ¤É¤¦¤·¤Æ bash ¤ä¾¤Î¥·¥§¥ë¤òºÎÍѤ·¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?
5.3. libc.so.3.0 ¤Ï¤É¤³¤Ë¤¢¤ê¤Þ¤¹¤«?
5.4. Error: can't find libc.so.4.0 ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬¡£
5.5. 386/486SX ¤Î¥Þ¥·¥ó¤Ç ghostscript ¤òÆ°¤«¤¹¤È¥¨¥é¡¼¤¬¤Ç¤Þ¤¹¡£
5.6. SCO/iBCS2 ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¼Â¹Ô¤¹¤ë¤È¡¢ socksys ¤ÇÍî¤Á¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ (FreeBSD 3.0 ¤È¤½¤ì°ÊÁ°¤Î¤ß)
5.7. INN (¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Ë¥å¡¼¥¹) ¤ÎÀßÄêÊýË¡¤Ï?
5.8. ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Microsoft FrontPage ¤ò¼ê¤ËÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤«?
5.9. FreeBSD ¤Ï Java ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
5.10. 3.x-STABLE ¤òºÜ¤»¤Æ¤¤¤ë¥Þ¥·¥ó¤Ç port ¤¬¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤½¤ì¤Ï¤É¤¦¤·¤Æ¤Ç¤¹¤«?
5.11. ld.so ¤Ï¤É¤³¤Ë¤¢¤ê¤Þ¤¹¤«?
5.12. ¥½¡¼¥¹¥³¡¼¥É¤ò¹¹¿·¤·¤Þ¤·¤¿¡£¤µ¤Æ¡¢¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤Î ports ¤ò¹¹¿·¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Ç¤·¤ç¤¦¤«?

5.1. ¤½¤¦¤¤¤¦¥æ¡¼¥¶¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï¤É¤³¤Ë¤¢¤ë¤Î?

FreeBSD¤Ë°Ü¿¢¤µ¤ì¤¿¥½¥Õ¥È¥¦¥§¥¢¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ä¤¤¤Æ¤Ï¡¢ FreeBSD Ports Collection ¤Î¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ¤³¤Î¥ê¥¹¥È¤Ë¤Ï¸½ºß 3400 ¤ò±Û¤¨¤ë¹àÌܤ¬¤¢¤ê¡¢ ¤·¤«¤âËèÆü¹¹¿·¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ú¡¼¥¸¤ò¤³¤Þ¤á¤Ëˬ¤ì¤ë¤«¡¢ freebsd-announce ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ò¹ØÆɤ¹¤ë¤È¡¢ ¿·¤·¤¯Æþ¤Ã¤¿ ports ¤òÄê´üŪ¤Ë¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

ÂçÉôʬ¤Î ports ¤Ï 2.2 ¤È 3.x ¤ª¤è¤Ó 4.x ¥Ö¥é¥ó¥Á¤ÇÍøÍѤǤ­¤ë¤Ï¤º¤Ç¤¹¡£ ¿¤¯¤Ï 2.1.x ·Ï¤Î¥·¥¹¥Æ¥à¤Ç¤âƱÍͤËÆ°ºî¤¹¤ë¤Ç¤·¤ç¤¦¡£ FreeBSD ¤Î¥ê¥ê¡¼¥¹¤¬½Ð¤ëÅ٤ˡ¢¤½¤Î¥ê¥ê¡¼¥¹¤Î»þÅÀ¤Ç¤Î ports ¥Ä¥ê¡¼¤Î ¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤¬»£¤é¤ì¡¢ports/ ¥Ç¥£¥ì¥¯¥È¥ê¤Ë Ǽ¤á¤é¤ì¤ë¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¤Þ¤¿¡¢“package” ¤È¤¤¤¦¹Í¤¨¤âºÎÍѤµ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï´ðËÜŪ¤Ë¤Ï gzip ¤Ç°µ½Ì¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ë¡¢ ¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë´Ä¶­¤Ë¹ç¤ï¤»¤¿ºî¶È¤¬É¬Íפˤʤ俾ì¹ç¡¢ ¹Ô¤¦µ¡Ç½¤ò¿¾¯ÉÕ¤±²Ã¤¨¤¿¤â¤Î¤Ç¤¹¡£ package ¤ò»È¤¨¤Ð¡¢¤É¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤¬ÇÛÉÛʪ¤È¤·¤Æ´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¡¢ ¤È¸À¤Ã¤¿ºÙ¤«¤¤»öÊÁ¤Ë¤¤¤Á¤¤¤ÁÈѤ蘆¤ì¤ë¤³¤È¤Ê¤¯¡¢ ´Êñ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤ò·«¤êÊÖ¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¤ package ¤¬¤¢¤ë¤Ê¤é¡¢ /stand/sysinstall¤Î¡¢ ¡Ö¥¤¥ó¥¹¥È¡¼¥ë¸å¤Î FreeBSD ¤ÎÀßÄê¤ò¹Ô¤¦¡×¤Î²¼¤Ë¤¢¤ë package ¤Î¥¤¥ó¥¹¥È¡¼¥ë¥á¥Ë¥å¡¼¤ò»È¤¦¤«¡¢ package ¤Î¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Æ pkg_add(1) ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ package ¤Î¥Õ¥¡¥¤¥ë̾¤Ë¤Ï¡¢ Ä̾ïËöÈø¤Ë .tgz ¤¬¤Ä¤¤¤Æ¤¤¤Þ¤¹¡£ CDROM ¤ò¤´»ÈÍѤÎÊý¤Ï¡¢CD ¤Î packages/All ¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤½¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢°Ê²¼¤Î¾ì½ê¤«¤é¡¢ FreeBSD ¤Î³Æ¼ï¥Ð¡¼¥¸¥ç¥ó¤Ë¤¢¤ï¤»¤¿ package ¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë ¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¤ª¶á¤¯¤Î¥ß¥é¡¼¥µ¥¤¥È¤â¤´ÍøÍѤ¯¤À¤µ¤¤¡£

¿·¤·¤¤ ports ¤¬Â³¡¹¤ÈÄɲ䵤ì¤Æ¤¤¤ë¾õÂ֤ʤΤǡ¢¤¹¤Ù¤Æ¤Î ports ¤Ë Âбþ¤¹¤ë package ¤¬Â¸ºß¤¹¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¤³¤È¤ò³Ð¤¨¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ Äê´üŪ¤Ë ftp.FreeBSD.org ¥Þ¥¹¥¿¡¼¥µ¥¤¥È¤òˬ¤ì¤Æ¡¢¤É¤Î¤è¤¦¤Ê package ¤¬ÍøÍѤǤ­¤ë¤Î¤«¥Á¥§¥Ã¥¯¤¹¤ë¤Î¤âÎɤ¤¤Ç¤·¤ç¤¦¡£

5.2. ¤Ê¤¼ /bin/sh ¤Ï¤³¤ó¤Ê¤ËÄ㵡ǽ¤Ê¤Î¤Ç¤¹¤«? ¤É¤¦¤·¤Æ bash ¤ä¾¤Î¥·¥§¥ë¤òºÎÍѤ·¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?

¤½¤ì¤Ï¡¢POSIX ¤¬¤½¤Î¤è¤¦¤Ê¥·¥§¥ë¤¬¤¢¤ë¤³¤È¤òµ¬Äꤷ¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£

¤â¤Ã¤È¹þ¤ßÆþ¤Ã¤¿²óÅú: ¿¤¯¤Î¥æ¡¼¥¶¤Ï¡¢Â¿¤¯¤Î¥·¥¹¥Æ¥à¤ÇƱ¤¸¤è¤¦¤ËÆ°ºî¤Ç¤­¤ë¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤ò½ñ¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤¬¡¢POSIX ¤Ç¥·¥§¥ë¤ä¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥³¥Þ¥ó¥É¤¬ºÙ¤¯µ¬Äꤵ¤ì¤Æ¤¤¤ëÍýͳ¤Ç¤¹¡£ ¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥¹¥¯¥ê¥×¥È¤Ï Bourne shell ¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¤½¤ì¤Ï¡¢¿ô¿¤¯¤Î½ÅÍ×¤Ê¥×¥í¥°¥é¥ß¥ó¥°¥¤¥ó¥¿¥Õ¥§¥¤¥¹ (make(1)¡¢ system(3)¡¢popen(3)¡¢¤ä Perl ¤ä Tcl Åù¤ÎÎà»÷¤Î ¹â¿å½à¥¹¥¯¥ê¥×¥È¸À¸ì) ¤¬¡¢¥³¥Þ¥ó¥É¤Î²ò¼á¤Ë Bourne shell ¤ò»È¤¦¤«¤é¤Ç¤¹¡£ ¤³¤Î¤è¤¦¤Ë Bourne shell ¤¬¶Ë¤á¤ÆÉÑÈˤˤ«¤Ä¹­ÈϰϤǻȤï¤ì¤Æ¤¤¤ë¤¿¤á¡¢ ÁÇÁ᤯µ¯Æ°¤Ç¤­¤Æ³Î¼Â¤ËÆ°ºî¤·¡¢¥á¥â¥ê¤ò¾¯¤·¤·¤«¾ÃÈñ¤·¤Ê¤¤¤È¤¤¤¦¤³¤È¤¬ ½ÅÍפˤʤê¤Þ¤¹¡£

´û¸¤Î¼ÂÁõ¤Ï¡¢ »ä¤¿¤Á¤Ë²Äǽ¤Ê¸Â¤ê¤³¤ì¤é¤Î¿¤¯¤ÎÍ×µá¤òƱ»þ¤ËËþ­¤¹¤ë¤³¤È¤¬¤Ç¤­¤ëºÇÎɤΤâ¤Î¤Ç¤¹¡£ /bin/sh ¤ò¾®¤µ¤¤¤Þ¤Þ¤ËÊݤĤ¿¤á¡¢ »ä¤¿¤Á¤Ï¾¤Î¥·¥§¥ë¤¬»ý¤ÄÍÍ¡¹¤ÊÊØÍø¤Êµ¡Ç½¤òÄ󶡤·¤Æ¤¤¤Þ¤»¤ó¡£ Ports ¥³¥ì¥¯¥·¥ç¥ó¤¬ bash ¤ä scsh¡¢tcsh¡¢zsh ¤Ê¤É¤Î ¿µ¡Ç½¤Ê¥·¥§¥ë¤ò´Þ¤ó¤Ç¤¤¤ë¤«¤é¤Ç¤¹ (¤³¤ì¤é¤Î¥·¥§¥ë¤¹¤Ù¤Æ¤Î ¥á¥â¥ê»ÈÍѾõ¶·¤Ï¡¢ps -u ¤Î “VSZ” ¤ä “RSS” ¤Î¹Ô¤Ç¡¢¤¢¤Ê¤¿¼«¿È¤¬³Îǧ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹)¡£

5.3. libc.so.3.0 ¤Ï¤É¤³¤Ë¤¢¤ê¤Þ¤¹¤«?

FreeBSD 2.1.x ¤Î¥·¥¹¥Æ¥à¤Ç 2.2 °Ê¹ßÍѤΠpackage ¤òÆ°¤«¤½¤¦¤È¤·¤Æ¤¤¤Þ¤¹¤Í? Á°¤Î¥»¥¯¥·¥ç¥ó¤òÆɤó¤Ç¡¢¥·¥¹¥Æ¥à¤Ë¹ç¤Ã¤¿Àµ¤·¤¤ port/package ¤òÆþ¼ê¤·¤Æ¤¯¤À¤µ¤¤¡£

5.4. Error: can't find libc.so.4.0 ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬¡£

²¿¤«¤Î¼ê°ã¤¤¤Ç¡¢4.X ¤È 5.X ¤Î¥·¥¹¥Æ¥àÍÑ package ¤ò¥À¥¦¥ó¥í¡¼¥É¤·¡¢ FreeBSD 2.X¡¢¤â¤·¤¯¤Ï 3.X ¤Î¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¡£ Âбþ¤¹¤ëÀµ¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î package ¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£

5.5. 386/486SX ¤Î¥Þ¥·¥ó¤Ç ghostscript ¤òÆ°¤«¤¹¤È¥¨¥é¡¼¤¬¤Ç¤Þ¤¹¡£

¤¢¤Ê¤¿¤Î¥Þ¥·¥ó¤Ë¤Ï¿ôÃͱ黻¥×¥í¥»¥Ã¥µ¤¬ÅëºÜ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Í? ¥«¡¼¥Í¥ë¤Ë¥³¥×¥í¥»¥Ã¥µ¤ÎÂå¤ï¤ê¤È¤Ê¤ë¿ôÃͱ黻¥¨¥ß¥å¥ì¡¼¥¿¤òÄɲ乤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò¥«¡¼¥Í¥ë¤Î¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ËÄɲ䷤ơ¢ ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£

options GPL_MATH_EMULATE

注意: ¤³¤Î¥ª¥×¥·¥ç¥ó¤òÄɲ乤ë¾ì¹ç¡¢ MATH_EMULATE ¤Î¹Ô¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£

5.6. SCO/iBCS2 ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¼Â¹Ô¤¹¤ë¤È¡¢ socksys ¤ÇÍî¤Á¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ (FreeBSD 3.0 ¤È¤½¤ì°ÊÁ°¤Î¤ß)

¤Þ¤ººÇ½é¤Ë /etc/sysconfig (¤Þ¤¿¤Ï /etc/rc.conf, rc.conf(5) »²¾È) ¤ÎºÇ¸å¤Î¥»¥¯¥·¥ç¥ó¤òÊÔ½¸¤·¡¢ °Ê²¼¤ÎÊÑ¿ô¤ò YES ¤Ëľ¤·¤Þ¤¹¡£

# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO

¤³¤ì¤Ç¥·¥¹¥Æ¥à¤Îµ¯Æ°»þ¤Ë ibcs2 ¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤¬Æɤ߹þ¤Þ¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

¼¡¤Ë /compat/ibcs2/dev/ ¤ò°Ê²¼¤Î¤è¤¦¤ËÊÔ½¸¤·¤Þ¤¹¡£

lrwxr-xr-x  1 root  wheel         9 Oct 15 22:20 X0R@ -> /dev/null
lrwxr-xr-x  1 root  wheel         7 Oct 15 22:20 nfsd@ -> socksys
-rw-rw-r--  1 root  wheel         0 Oct 28 12:02 null
lrwxr-xr-x  1 root  wheel         9 Oct 15 22:20 socksys@ -> /dev/null
crw-rw-rw-  1 root  wheel   41,   1 Oct 15 22:14 spx

open ¤ä close ¤Î½èÍý¤Ï¡¢ socksys ¤«¤é /dev/null (null(4) »²¾È) ¤Ø¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÄ¥¤ë¤³¤È¤ÇÂåÍѤ·¤Þ¤¹¡£ »Ä¤ê¤Î½èÍý¤Ï¡¢-CURRENT ¤ËÆþ¤Ã¤Æ¤¤¤ë¥³¡¼¥É¤¬Ã´Åö¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï°ÊÁ°¤Î¤â¤Î¤è¤ê ¤º¤Ã¤È¥¹¥Ã¥­¥ê¤·¤¿ÊýË¡¤Ç¤¹¡£

5.7. INN (¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Ë¥å¡¼¥¹) ¤ÎÀßÄêÊýË¡¤Ï?

inn ¤Î package ¤ä port ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¢¤È¤Ë Dave Barr's INN Page ¤ò¸«¤Æ¤ß¤Þ¤·¤ç¤¦¡£½é¿´¼Ô¸þ¤±¤Î INN FAQ ¤¬¤¢¤ê¤Þ¤¹¡£

5.8. ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Microsoft FrontPage ¤ò¼ê¤ËÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤«?

¥ë¡¼¥¯¡¢ports ¤ò»È¤¦¤Î¤À! ¥Ñ¥Ã¥Á½èÍýºÑ¤ß¤Î Apache ¤¬ ports ¥Ä¥ê¡¼¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£

5.9. FreeBSD ¤Ï Java ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

¤Ï¤¤¡£ http://www.FreeBSD.org/java/ ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ÆüËܸìÌõ ¤â¤¢¤ê¤Þ¤¹¡£

5.10. 3.x-STABLE ¤òºÜ¤»¤Æ¤¤¤ë¥Þ¥·¥ó¤Ç port ¤¬¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤½¤ì¤Ï¤É¤¦¤·¤Æ¤Ç¤¹¤«?

¤â¤·¡¢¤½¤Î»þÅÀ¤Î -CURRENT ¤« -STABLE ¤ËÈæ¤Ù¤Æ¤º¤Ã¤È¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤òÍøÍѤ·¤Æ¤¤¤ë¤Ê¤é¡¢ http://www.FreeBSD.org/ports/ ¤Ë¤¢¤ë ports ¥¢¥Ã¥×¥°¥ì¡¼¥É¥­¥Ã¥È¤¬É¬ÍפǤ¹¡£ ºÇ¿·¤Î FreeBSD ¤òÍøÍѤ·¤Æ¤¤¤ë¤Î¤ËȯÀ¸¤¹¤ë¾ì¹ç¤Ï¤ª¤½¤é¤¯¡¢ -CURRENT ¤Ç¤ÏÀµ¾ï¤Ê¤Î¤Ë -STABLE ¤Ç¤Ï¤¦¤Þ¤¯Æ°¤«¤Ê¤¯¤Ê¤ë¤è¤¦¤ÊÊѹ¹¤¬¤½¤Î port ¤ËÂФ·¤Æ¹Ô¤Ê¤ï¤ì¡¢¼õÍý¤µ¤ì¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¡£ ports ¥³¥ì¥¯¥·¥ç¥ó¤Ï -CURRENT ¤È -STABLE¡¢ ξÊý¤Î¥Ö¥é¥ó¥Á¤ÇÆ°¤«¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤â¤Î¤Ç¤¹¤Î¤Ç¡¢ ¤â¤·¤½¤ì¤òȯ¸«¤·¤¿¤é send-pr(1) ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¥Ð¥°¥ì¥Ý¡¼¥È¤ÎÄó½Ð¤ò¤ª´ê¤¤¤·¤Þ¤¹¡£

5.11. ld.so ¤Ï¤É¤³¤Ë¤¢¤ê¤Þ¤¹¤«?

3.1-R °Ê¹ß¤Ê¤É¤Î Elf ²½¤µ¤ì¤¿¥Þ¥·¥ó¤Ç Netscape Navigator ¤Ê¤É¤Î aout ·Á¼°¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òÆ°¤«¤¹¤È¤­¤Ë¤Ï¡¢ /usr/libexec/ld.so ¤È aout ¥é¥¤¥Ö¥é¥ê¤Î¥Õ¥¡¥¤¥ë¤¬É¬ÍפǤ¹¡£ ¤½¤ì¤é¤ÏÇÛÉÛʪ¤Î compat22 ¤ËǼ¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£ /stand/sysinstall ¤ä compat22 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î install.sh ¤ò»È¤Ã¤Æ compat22 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¹ç¤ï¤»¤Æ 3.1-R ¤È 3.2-R ¤Î ERRATA ¤â¤ªÆɤߤ¯¤À¤µ¤¤¡£

5.12. ¥½¡¼¥¹¥³¡¼¥É¤ò¹¹¿·¤·¤Þ¤·¤¿¡£¤µ¤Æ¡¢¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤Î ports ¤ò¹¹¿·¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Ç¤·¤ç¤¦¤«?

»ÄÇ°¤Ê¤¬¤é¡¢¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤Î ports ¤ò¹¹¿·¤¹¤ë´Êñ¤Ê ÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£pkg_version ¥³¥Þ¥ó¥É¤ò ÍѤ¤¤Æ ports ¥Ä¥ê¡¼Ãæ¤Î¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Ë¹¹¿·¤¹¤ë ¥¹¥¯¥ê¥×¥È¤ò¼¡¤Î¤è¤¦¤ËÀ¸À®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# pkg_version -c > /tmp/myscript

½ÐÎϤµ¤ì¤¿¥¹¥¯¥ê¥×¥È¤ò»È¤¦Á°¤Ë¡¢¼ê¤Ç ÊÔ½¸¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Î pkg_version ¤Ç¤Ï¡¢¥¹¥¯¥ê¥×¥È¤ÎÀèƬ¤Ë exit ¤òÁÞÆþ¤·¤Æ¶¯À©¤·¤Æ¤¤¤Þ¤¹¡£

¥¹¥¯¥ê¥×¥È¤Î½ÐÎϤˤϡ¢¹¹¿·¤µ¤ì¤¿ packages ¤Ë°Í¸¤¹¤ë packages ¤¬µ­ºÜ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢Êݸ¤·¤Æ¤ª¤­¤Þ¤·¤ç¤¦¡£¤³¤ì¤é¤â ¤ä¤Ï¤ê¹¹¿·¤¹¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£Ä̾¹¹¿·¤¬ ɬÍפȤʤë¤Î¤Ï¡¢¶¦Í­¥é¥¤¥Ö¥é¥ê¤Î¥Ð¡¼¥¸¥ç¥ó¤¬ÊѲ½¤·¡¢ ¤½¤Î¥é¥¤¥Ö¥é¥ê¤òÍøÍѤ·¤Æ¤¤¤ë ports ¤¬¿·¤·¤¤¥é¥¤¥Ö¥é¥ê¤òÍѤ¤¤ë¤¿¤á¤Ë ºÆ¹½ÃÛ¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ç¤¹¡£

¥·¥¹¥Æ¥à¤¬¾ï»þ²ÔÆ°¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢ /etc/periodic.conf ¤Ë weekly_status_pkg_enable="YES" ¤ò ÀßÄꤷ¤Æ¡¢periodic(8) ¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤ÆËè½µ¹¹¿·¤¬É¬Í×¤Ê ports ¤Î°ìÍ÷¤òÀ¸À®¤Ç¤­¤Þ¤¹¡£


第 6章¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó

Ìõ: ¤Ï¤é¤À ¤­¤í¤¦ ¡¢ 1997 ǯ 11 ·î 10 Æü

6.1. ¥«¡¼¥Í¥ë¤ò¥«¥¹¥¿¥Þ¥¤¥º¤·¤¿¤¤¤ó¤Ç¤¹¤¬¡¢Æñ¤·¤¤¤Ç¤¹¤«?
6.2. _hw_float ¤¬Ìµ¤¤¤Î¤Ç¡¢¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë¤¬¤¦¤Þ¤¯¤¤¤­¤Þ¤»¤ó¡£
6.3. ¤ï¤¿¤·¤Î¥«¡¼¥Í¥ë¤Ï¤É¤¦¤·¤Æ¤³¤ó¤Ê¤ËÂ礭¤¤ (10MB °Ê¾å) ¤Î¤Ç¤·¤ç¤¦¤«?
6.4. ¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¤Î¥³¡¼¥É¤Ç³ä¤ê¹þ¤ß¤¬¾×Æͤ·¤Æ¤¤¤Þ¤¹¡£
6.5. ¥«¡¼¥Í¥ë¤ò¹½Ãۤˤ¤¤Ä¤â¼ºÇÔ¤·¤Þ¤¹¡£ GENERIC ¥«¡¼¥Í¥ë¤â¹½ÃۤǤ­¤Þ¤»¤ó¡£

6.1. ¥«¡¼¥Í¥ë¤ò¥«¥¹¥¿¥Þ¥¤¥º¤·¤¿¤¤¤ó¤Ç¤¹¤¬¡¢Æñ¤·¤¤¤Ç¤¹¤«?

Á´Á³Æñ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£ ¥«¡¼¥Í¥ë¤ÎºÆ¹½ÃÛ¤òÄ´¤Ù¤Æ¤¯¤À¤µ¤¤¡£

注意: ¤¦¤Þ¤¯Æ°ºî¤¹¤ë¥«¡¼¥Í¥ë¤¬¤Ç¤­¤¿¤é¡¢ ÆüÉÕÆþ¤ê¤Î¥«¡¼¥Í¥ë¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤ò kernel.YYMMDD ¤Î¤è¤¦¤ËºîÀ®¤¹¤ë¤³¤È¤ò¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¤³¤¦¤·¤Æ¤ª¤±¤Ð¡¢¼¡¤Ë¥«¡¼¥Í¥ë¤Î¹½ÃÛ¤ò¤ä¤Ã¤Æ¤¦¤Þ¤¯¤¤¤«¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤â¡¢ kernel.GENERIC ¤Ë¤ï¤¶¤ï¤¶Ìá¤ëɬÍפ¬¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢GENERIC ¥«¡¼¥Í¥ë¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Ê¤¤¥Ç¥Ð¥¤¥¹¤«¤éµ¯Æ°¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ Æä˽ÅÍפǤ¹¡£

6.2. _hw_float ¤¬Ìµ¤¤¤Î¤Ç¡¢¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë¤¬¤¦¤Þ¤¯¤¤¤­¤Þ¤»¤ó¡£

¿ä¬¤Ç¤¹¤¬¡¢¿ôÃͱ黻¥³¥×¥í¥»¥Ã¥µ¤ò»ý¤Ã¤Æ¤Ê¤¤¤«¤é¤È»×¤Ã¤Æ¡¢ npx0 (npx(4) »²¾È) ¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤«¤éºï½ü¤·¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«? npx0 ¤Ïɬ¿Ü¤Ç¤¹¡£ ¥³¥×¥í¥»¥Ã¥µ¤¬¤Ê¤¯¤Æ¤â¡¢npx0 ¥Ç¥Ð¥¤¥¹¤Ïºï½ü¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

6.3. ¤ï¤¿¤·¤Î¥«¡¼¥Í¥ë¤Ï¤É¤¦¤·¤Æ¤³¤ó¤Ê¤ËÂ礭¤¤ (10MB °Ê¾å) ¤Î¤Ç¤·¤ç¤¦¤«?

¤³¤ì¤Ï¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Ç¥«¡¼¥Í¥ë¤ò¹½ÃÛ¤·¤Æ¤¤¤ë¤³¤È¤¬¸¶°ø¤Ç¤¹¡£ ¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Ç¹½ÃÛ¤µ¤ì¤¿¥«¡¼¥Í¥ë¤Ï¡¢ ¥Ç¥Ð¥Ã¥°¤ËÍѤ¤¤é¤ì¤ëËÄÂç¤Ê¥·¥ó¥Ü¥ë¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë¤¿¤á¡¢ ¥«¡¼¥Í¥ë¤Î¥µ¥¤¥º¤¬Èó¾ï¤ËÂ礭¤¯¤Ê¤ê¤Þ¤¹¡£ ¤¿¤À¤· FreeBSD 3.0 ¤È¤½¤ì°Ê¹ß¤Î¥·¥¹¥Æ¥à¤Î¾ì¹ç¤Ï ¥«¡¼¥Í¥ë¤Î¥µ¥¤¥º¤Ï¾®¤µ¤¯¤Ê¤ê¤Þ¤¹¤·¡¢ ¥Ç¥Ð¥Ã¥°¥«¡¼¥Í¥ë¤ò¼Â¹Ô¤¹¤ë»þ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ÎÄã²¼¤â¤¢¤ê¤Þ¤»¤ó¡£ ¤Þ¤¿¡¢¤½¤Î¥«¡¼¥Í¥ë¤Ï¥·¥¹¥Æ¥à¤¬¥Ñ¥Ë¥Ã¥¯¤·¤¿¾ì¹ç¤ËÍ­ÍѤǤ¹¡£

¤·¤«¤·¡¢ÍÆÎ̤µ¤Ê¥Ç¥£¥¹¥¯¤Ç¥·¥¹¥Æ¥à¤ò±¿ÍѤ·¤Æ¤¤¤¿¤ê¡¢ ñ¤Ë¥Ç¥Ð¥Ã¥°¥«¡¼¥Í¥ë¤ò¼Â¹Ô¤·¤¿¤¯¤Ê¤¤¾ì¹ç¤Ï¡¢ °Ê²¼¤ÎξÊý¤¬Åö¤Æ¤Ï¤Þ¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

  • ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤¬½ñ¤«¤ì¤Æ¤¤¤Ê¤¤¤³¤È¡£

    makeoptions DEBUG=-g
    
  • config ¤ò¼Â¹Ô¤¹¤ëºÝ¡¢ -g ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ¤¤¤Ê¤¤¤³¤È¡£

¾å¤Ë½ñ¤«¤ì¤¿»ØÄê¤ÏξÊý¤È¤â¥«¡¼¥Í¥ë¤ò¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Ç¹½ÃÛ¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ ¾å¤Î¼ê½ç¤ò½¾¤Ã¤Æ¤¤¤ë¸Â¤ê¡¢¥«¡¼¥Í¥ë¤òÉáÄ̤˹½ÃÛ¤·¤Æ¥µ¥¤¥º¤Î¾®¤µ¤Ê¥«¡¼¥Í¥ë¤òÆÀ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤½¤Î¾ì¹ç¤Î¥«¡¼¥Í¥ë¥µ¥¤¥º¤Ï¡¢¤ª¤è¤½ 1.5MB ¤«¤é 2MB ÄøÅ٤ˤʤê¤Þ¤¹¡£

6.4. ¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¤Î¥³¡¼¥É¤Ç³ä¤ê¹þ¤ß¤¬¾×Æͤ·¤Æ¤¤¤Þ¤¹¡£

¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¤ò ¥µ¥Ý¡¼¥È¤¹¤ë¥³¡¼¥É¤ò´Þ¤ó¤À¥«¡¼¥Í¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤¹¤ë¤È¡¢ ºÇ½é¤Î¥Ý¡¼¥È¤À¤±¸¡½Ð¤µ¤ì¡¢ »Ä¤ê¤Î¥Ý¡¼¥È¤Ï³ä¤ê¹þ¤ß¤Î¶¥¹ç¤Î¤¿¤á¥¹¥­¥Ã¥×¤µ¤ì¤¿¤È¸À¤ï¤ì¤Þ¤¹¡£ ¤É¤¦¤ä¤Ã¤¿¤é¤¤¤¤¤Ç¤·¤ç¤¦¤«?

¤³¤³¤Ç¤ÎÌäÂê¤Ï¡¢FreeBSD ¤Ë¤Ï¥Ï¡¼¥É¥¦¥§¥¢¤Þ¤¿¤Ï¥½¥Õ¥È¥¦¥§¥¢¤Î¶¥¹ç¤Ë¤è¤ê¡¢ ¥«¡¼¥Í¥ë¤¬¥¯¥é¥Ã¥·¥å¤¹¤ë¤Î¤òËɤ°¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤È¤¤¤¦ÅÀ¤Ç¤¹¡£ ²ò·è¤¹¤ë¤Ë¤Ï¡¢ºÇ½é¤Î¥Ý¡¼¥È¤Ë¤À¤± IRQ ¤ÎÀßÄê¤ò½ñ¤­¡¢ »Ä¤ê¤Ï IRQ ¤ÎÀßÄê¤òºï½ü¤·¤Þ¤¹¡£ °Ê²¼¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£

# Multiport high-speed serial line - 16550 UARTS
#
device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr
device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr
device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr
device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr

6.5. ¥«¡¼¥Í¥ë¤ò¹½Ãۤˤ¤¤Ä¤â¼ºÇÔ¤·¤Þ¤¹¡£ GENERIC ¥«¡¼¥Í¥ë¤â¹½ÃۤǤ­¤Þ¤»¤ó¡£

¤µ¤Þ¤¶¤Þ¤ÊÍýͳ¤¬¹Í¤¨¤é¤ì¤Þ¤¹¡£°Ê²¼¡¢½ç¤ËÎóµ­¤·¤Þ¤¹¡£

  • ¤¢¤Ê¤¿¤Ï¿·¤·¤¤ make buildkernel ¤ä make installkernel ¥¿¡¼¥²¥Ã¥È¤ò»È¤ï¤º¡¢ ¸½ºßÁö¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤ò¹½ÃÛ¤·¤¿»þ¤È°Û¤Ê¤ë¥½¡¼¥¹¥Ä¥ê¡¼¤ò ¹½ÃÛ¤·¤è¤¦¤È¤·¤Æ¤¤¤ë (¤¿¤È¤¨¤Ð¡¢4.0-RELEASE ¤Î¥·¥¹¥Æ¥à¾å¤Ç 4.3-RELEASE ¤ò¹½ÃÛ¤·¤è¤¦¤È¤·¤Æ¤¤¤ë) ¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«? ¤â¤·¥·¥¹¥Æ¥à¤ò¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤Ê¤é¡¢ /usr/src/UPDATING ¥Õ¥¡¥¤¥ë¤ò “¶¦Ä̹àÌÜ (COMMON ITEMS)” Àá¤ËÃí°Õ¤·¤Ê¤¬¤éºÇ¸å¤Þ¤Ç¤ªÆɤߤ¯¤À¤µ¤¤¡£

  • ¤¢¤Ê¤¿¤Ï¿·¤·¤¤ make buildkernel ¤ä make installkernel ¥¿¡¼¥²¥Ã¥È¤ò »È¤Ã¤Æ¤¤¤ë¤Î¤Ë¤â´Ø¤ï¤é¤º¡¢ make buildworld ¤ò¹Ô¤Ê¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«? make buildkernel ¥¿¡¼¥²¥Ã¥È¤Ï¡¢ make buildworld ¥¿¡¼¥²¥Ã¥È¤Ë¤è¤Ã¤Æºî¤é¤ì¤ë¥Õ¥¡¥¤¥ë¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹ ¤½¤Î¤¿¤á¡¢make buildkernel ¤¬Àµ¾ï¤Ë½ªÎ»¤¹¤ë¤¿¤á¤Ë¤Ï make buildworld ¥¿¡¼¥²¥Ã¥È¤¬Àµ¾ï¤Ë´°Î»¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

  • ¹½ÃÛ¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤¬ FreeBSD-STABLE ¤À¤Ã¤¿¤È¤·¤Æ¤â¡¢¤¢¤Ê¤¿¤¬Æþ¼ê¤·¤¿¥½¡¼¥¹¥Ä¥ê¡¼¤¬²¿¤é¤«¤ÎÍýͳ¤Ç ½ñ¤­´¹¤ï¤Ã¤¿¤ê¡¢²õ¤ì¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë¤Î¤«¤âÃΤì¤Þ¤»¤ó¡£ FreeBSD-STABLE ¤Ï¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢¤­¤Á¤ó¤È¹½ÃۤǤ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢ ³Î¼Â¤Ë¹½ÃÛ²Äǽ¤Ç¤¢¤ë¤³¤È¤¬Êݾڤµ¤ì¤Æ¤¤¤ë¤Î¤Ï ¥ê¥ê¡¼¥¹ÈǤÀ¤±¤Ç¤¹¡£°ìÅÙ¥½¡¼¥¹¥Ä¥ê¡¼¤òºÆ¼èÆÀ¤·¤Æ¡¢ ÌäÂ꤬²ò·è¤·¤Ê¤¤¤«¤É¤¦¤«»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢¤¢¤ë¥µ¡¼¥Ð¤«¤é¼èÆÀ¤·¤¿»þ¤ËÌäÂ꤬ȯÀ¸¤·¤¿¤é¡¢ Ê̤Υµ¡¼¥Ð¤ò»î¤¹¤Î¤â¸ú²Ì¤¬¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£


第 7章¥·¥¹¥Æ¥à´ÉÍý

Ìõ: ¤Ë¤·¤« ¡¢ 1997 ǯ 11 ·î 12 Æü

7.1. ¥·¥¹¥Æ¥à¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Ï¤É¤³¤Ë¤¢¤ë¤Î¤Ç¤¹¤«?
7.2. ´Êñ¤Ë¥æ¡¼¥¶¤òÄɲ乤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?
7.3. ¿·¤·¤¤¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¤É¤¦¤ä¤Ã¤Æ»È¤¦¤Î?
7.4. ¼«Ê¬¤Î crontab ¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤¿¸å “root: not found” ¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬±ä¡¹¤Èɽ¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤Ï¤Ê¤¼¤Ç¤¹¤«?
7.5. su(1) ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ root ¤Ë¤Ê¤í¤¦¤È¤¹¤ë¤È¡¢ su ¤¬ “you are not in the correct group to su root” ¤È·Ù¹ð¤·¤Þ¤¹¡£
7.6. rc.conf ¤ä¤½¤Î¾¤Î ¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤ò½ñ¤­´Ö°ã¤¨¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¤·¤«¤â¤½¤Î¤¿¤á¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥ê¡¼¥É¥ª¥ó¥ê¡¼¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Æ ÊÔ½¸¤¬¤Ç¤­¤Þ¤»¤ó¡£¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Ç¤¹¤«?
7.7. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é DOS ¤Î³ÈÄ¥¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Þ¥¦¥ó¥È¤Ç¤­¤Þ¤¹¤«?
7.8. ¾¤Î¥·¥¹¥Æ¥à¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò FreeBSD ¤Ç¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?
7.9. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é FreeBSD ¤ò NT ¥í¡¼¥À¡¼¤«¤éµ¯Æ°¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤«?
7.10. FreeBSD ¤È Linux ¤ò LILO ¤«¤éµ¯Æ°¤¹¤ë¤Ë¤Ï?
7.11. FreeBSD ¤È Linux ¤ò BootEasy ¤«¤éµ¯Æ°¤¹¤ë¤Ë¤Ï?
7.12. ¡Ö´í¸±³Ð¸ç¤ÎÀìÍÑ (dangerously dedicated) ¥Ç¥£¥¹¥¯¡×¤Ï·ò¹¯¤Ë°­¤¤¤Î?
7.13. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¥¹¥ï¥Ã¥×Îΰè¤òÁý¤ä¤»¤Þ¤¹¤«?
7.14. ¥×¥ê¥ó¥¿¤Î¥»¥Ã¥È¥¢¥Ã¥×¤ÇÌäÂ꤬¤¢¤ê¤Þ¤¹
7.15. »ä¤Î¥·¥¹¥Æ¥à¤Î¥­¡¼¥Ü¡¼¥É¥Þ¥Ã¥Ô¥ó¥°¤Ï´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£
7.16. µ¯Æ°»þ¤Ë¡¢“unknown: <PNP0303> can't assign resources” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬?
7.17. ¥æ¡¼¥¶¥Ç¥£¥¹¥¯¥¯¥©¡¼¥¿¤¬Àµ¾ï¤ËÆ°ºî¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ç¤¹¡£
7.18. ¤ï¤¿¤·¤Î ccd ¤Ï¡¢ ²¿¤¬Å¬¹ç¤·¤Æ¤¤¤Ê¤¤ (Inappropriate) ¤Î¤Ç¤·¤ç¤¦?
7.19. ¤É¤¦¤·¤Æ¤ï¤¿¤·¤Î ccd ¤Î¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?
7.20. FreeBSD ¤Ï System V ¤Î IPC ¥×¥ê¥ß¥Æ¥£¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¤«?
7.21. UUCP ¤Ç¥á¡¼¥ë¤òÇÛÁ÷¤¹¤ë¤Ë¤Ï sendmail ¤ò¤É¤¦»È¤¨¤Ð¤è¤¤¤Î¤Ç¤¹¤«?
7.22. ¥À¥¤¥¢¥ë¥¢¥Ã¥×¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤¹¤ë´Ä¶­¤Ç¥á¡¼¥ë¤ò¥»¥Ã¥È¥¢¥Ã¥×¤¹¤ë¤Ë¤Ï¤É¤¦¤ä¤ë¤Î?
7.23. ¤³¤Î UID ¤¬ 0 ¤Î toor ¤È¤¤¤¦ ¥¢¥«¥¦¥ó¥È¤È¤Ï²¿¤Ç¤¹¤«? ´í¸±¤Ë¤µ¤é¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«?
7.24. ¤·¤Þ¤Ã¤¿! root ¤Î¥Ñ¥¹¥ï¡¼¥É¤ò˺¤ì¤Æ¤·¤Þ¤Ã¤¿!
7.25. Control-Alt-Delete ¤Ç¥·¥¹¥Æ¥à¤¬ºÆµ¯Æ°¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?
7.26. DOS ¤Î¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò UNIX ¤Î¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ËÀ°·Á¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?
7.27. ̾Á°¤Ç»ØÄꤷ¤Æ¥×¥í¥»¥¹¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?
7.28. su ¤¬ not in root's ACL ¤È¸À¤Ã¤Æ»ä¤òǺ¤Þ¤»¤ë¤Î¤Ï¤Ê¤¼?
7.29. Kerberos ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î?
7.30. µ¿»÷¥¿¡¼¥ß¥Ê¥ë¤òÄɲ乤ë¤Ë¤Ï?
7.31. snd0 ¥Ç¥Ð¥¤¥¹¤òºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó!
7.32. ºÆµ¯Æ°¤»¤º¤Ë¤â¤¦°ìÅÙ /etc/rc.conf ¤òÆɤ߹þ¤ó¤Ç /etc/rc ¤ò³«»Ï¤µ¤»¤ë¤Ë¤Ï?
7.33. º½¾ì (sandbox) ¤È¤Ï²¿¤Ç¤¹¤«?
7.34. ¥»¥­¥å¥¢¥ì¥Ù¥ë (securelevel) ¤Ã¤Æ²¿¤Ç¤¹¤«?
7.35. ¥Õ¥í¥Ã¥Ô¡¼¤ä CDROM ¤ä¾¤Î¥ê¥à¡¼¥Ð¥Ö¥ë¥á¥Ç¥£¥¢¤Î¥Þ¥¦¥ó¥È¤ò°ìÈ̥桼¥¶¡¼¤Ëµö²Ä¤¹¤ë¤Ë¤Ï?
7.36. ¥·¥¹¥Æ¥à¤ò¿·¤·¤¤µðÂç¥Ç¥£¥¹¥¯¤Ø°Ü¤¹¤Ë¤Ï¤É¤¦¤¹¤ë¤Î¤Ç¤¹¤«?
7.37. ¥·¥¹¥Æ¥à¤òºÇ¿·¤Î -STABLE ¤Ë¥¢¥Ã¥×¥Ç¡¼¥È¤·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬ -RC ¤ä -BETA ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿! ²¿¤¬µ¯¤³¤Ã¤¿¤Î¤Ç¤¹¤«?
7.38. ¿·¤·¤¤¥«¡¼¥Í¥ë¤òÆþ¤ì¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢ chflags ¤Ë¼ºÇÔ¤·¤Þ¤¹¡£¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦?
7.39. ¥·¥¹¥Æ¥à¤Î»þ¹ï¤ò 1 ÉðʾåÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¤¹! ¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦?
7.40. rpc.statd(8) ¤Ë¥á¥â¥ê¥ê¡¼¥¯¤ò¸«¤Ä¤±¤Þ¤·¤¿! ¥á¥â¥ê¤ò 256 ¥á¥¬¥Ð¥¤¥È¤â»È¤Ã¤Æ¤¤¤Þ¤¹¡£

7.1. ¥·¥¹¥Æ¥à¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Ï¤É¤³¤Ë¤¢¤ë¤Î¤Ç¤¹¤«?

FreeBSD 2.0.5R ¤«¤é 2.2.1R ¤Þ¤Ç¤Ï¡¢ ¥×¥é¥¤¥Þ¥ê¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ï /etc/sysconfig ¤Ë¤¢¤ê¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó¤Ï¤¹¤Ù¤Æ¤³¤Î¥Õ¥¡¥¤¥ë¤ÇÀßÄꤵ¤ì¡¢Â¾¤Î /etc/rc (rc(8) »²¾È) ¤ª¤è¤Ó /etc/netstart ¤È¤¤¤Ã¤¿ ¥Õ¥¡¥¤¥ë¤Ï¤³¤ì¤òÆɤ߹þ¤à¤À¤±¤Ç¤¹¡£

¥Õ¥¡¥¤¥ë /etc/sysconfig ¤ò¸«¤Æ¡¢¥·¥¹¥Æ¥à¤ËŬ¹ç¤¹¤ë¤è¤¦¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ ¤½¤ì¤¾¤ì¤Î¾ì½ê¤Ë²¿¤ò½ñ¤±¤Ð¤¤¤¤¤Î¤«¤òɽ¤¹¥³¥á¥ó¥È¤¬¤¿¤¯¤µ¤ó½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

FreeBSD 2.2.2 ¤«¤é 3.0 ¤Þ¤Ç¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ /etc/sysconfig ¤Ï¡¢ ¤è¤êʬ¤ê¤ä¤¹¤¤Ì¾Á°¤Î rc.conf(5) ¤Ë²þ̾¤µ¤ì¡¢¤½¤ì¤Ë½¾¤Ã¤Æ½ñ¼°¤â¤¤¤¯¤Ö¤ó²þ¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£ /etc/netstart ¤â /etc/rc.network ¤Ë²þ̾¤µ¤ì¡¢ Á´Éô¤Î¥Õ¥¡¥¤¥ë¤ò cp /usr/src/etc/rc* /etc ¤Ç°ìÅ٤˥³¥Ô¡¼¤¹¤ë¤³¤È¤¬½ÐÍè¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

FreeBSD 3.1 ¤È¤½¤ì°Ê¹ß¤Ç¤Ï¡¢ /etc/rc.conf ¤¬ /etc/defaults/rc.conf ¤Ë°ÜÆ°¤·¤Þ¤·¤¿¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó! Âå¤ï¤ê¤Ë¡¢ /etc/defaults/rc.conf ¤ÎÃæ¤ÇÊѤ¨¤¿¤¤¥¨¥ó¥È¥ê¤Î¹Ô¤ò /etc/rc.conf ¤Ë¥³¥Ô¡¼¤·¡¢ ¤½¤³¤ÇÊѹ¹¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

¤¿¤È¤¨¤Ð named ¤òµ¯Æ°¤·¤¿¤¤¤È¤·¤Þ¤·¤ç¤¦¡£ FreeBSD 3.1 ¤«¤½¤ì°Ê¹ß¤Î¥·¥¹¥Æ¥à¤Ç FreeBSD ÉÕ°¤Î DNS ¥µ¡¼¥Ð¤òµ¯Æ°¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤¹¤ë¤À¤±¤Ç¤¹¡£

# echo named_enable="YES" >>
              /etc/rc.conf

FreeBSD 3.1 ¤«¤½¤ì°Ê¹ß¤Ç¥í¡¼¥«¥ë¥µ¡¼¥Ó¥¹¤òµ¯Æ°¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ /usr/local/etc/rc.d ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤òÃÖ¤­¤Þ¤¹¡£ ¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ïµ¯Æ°²Äǽ¤ËÀßÄꤷ¡¢¥Õ¥¡¥¤¥ë̾¤¬ .sh ¤Ç½ª¤ï¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ FreeBSD 3.0 ¤È¤½¤ì°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢ /etc/rc.local ¤òÊÔ½¸¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë /etc/rc.serial ¤Ï¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Î½é´ü²½ (¤¿¤È¤¨¤Ð¥Ý¡¼¥È¤ÎÀßÄê¤ò¸ÇÄꤷ¤¿¤êÅù¡¹) ¤Î¤¿¤á¤Ë¤¢¤ê¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë /etc/rc.i386 ¤Ï iBCS2 ¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó¤Î¤è¤¦¤Ê Intel ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¸ÇÍ­¤ÎÀßÄê¤ä¡¢ PC ¥·¥¹¥Æ¥à¥³¥ó¥½¡¼¥ëÀßÄê¤Î¤¿¤á¤Ë¤¢¤ê¤Þ¤¹¡£

7.2. ´Êñ¤Ë¥æ¡¼¥¶¤òÄɲ乤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?

adduser(8) ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢pw(8) ¥³¥Þ¥ó¥É¤òÍѤ¤¤ë¤³¤È¤Ç¡¢¤µ¤é¤ËºÙ¤«¤¤Áàºî¤¬²Äǽ¤Ç¤¹¡£

¥æ¡¼¥¶¤òºï½ü¤¹¤ë¤Ë¤Ï rmuser(8) ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ ·«¤êÊÖ¤·¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢pw(8) ¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£

7.3. ¿·¤·¤¤¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¤É¤¦¤ä¤Ã¤Æ»È¤¦¤Î?

¤½¤Î¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤¬ ZIP ¤Ç¤¢¤ì EZ drive ¤Ç¤¢¤ì (¤¢¤ë¤¤¤Ï¤â¤·¤½¤¦¤¤¤¦É÷¤Ë»È¤¤¤¿¤¤¤Î¤Ê¤é¡¢¥Õ¥í¥Ã¥Ô¡¼¤Ç¤¢¤ì)¡¢ ¤Þ¤¿¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ç¤¢¤ì¡¢°ìö¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æǧ¼±¤µ¤ì¡¢ ¥«¡¼¥È¥ê¥Ã¥¸¡¢¥Õ¥í¥Ã¥Ô¡¼Åù¡¹¤¬ÁÞÆþ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢ ¤³¤È¤Ï¤É¤Î¥Ç¥Ð¥¤¥¹¤Ç¤âÁ´¤¯Æ±¤¸¤è¤¦¤Ë¿Ê¤ß¤Þ¤¹¡£

(¤³¤Î¥»¥¯¥·¥ç¥ó¤ÏMark Mayo's ZIP FAQ ¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹)

ZIP ¥É¥é¥¤¥Ö¤ä¥Õ¥í¥Ã¥Ô¡¼¤Ç¡¢¤¹¤Ç¤Ë DOS ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç ¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤Æ¤¢¤ë¾ì¹ç¡¢¼¡¤Î¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤³¤ì¤Ï¥Õ¥í¥Ã¥Ô¡¼¤Î¾ì¹ç¤Ç¤¹¡£

# mount -t msdos /dev/fd0c /floppy

½Ð²Ù»þ¤ÎÀßÄê¤Î ZIP ¥Ç¥£¥¹¥¯¤Ç¤Ï¤³¤¦¤Ç¤¹¡£

# mount -t msdos /dev/da2s4 /zip

¤½¤Î¾¤Î¥Ç¥£¥¹¥¯¤Ë´Ø¤·¤Æ¤Ï¡¢fdisk(8) ¤ä /stand/sysinstall ¤ò»È¤Ã¤Æ¡¢ ¤É¤Î¤è¤¦¤Ë¥ì¥¤¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¤«³Î¤«¤á¤Æ¤¯¤À¤µ¤¤¡£

°Ê¹ß¤Ï ZIP ¥É¥é¥¤¥Ö¤¬ 3 ÈÖÌܤΠSCSI ¥Ç¥£¥¹¥¯¤Ç¡¢ da2 ¤Èǧ¼±¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ÎÎã¤Ç¤¹¡£

¾¿Í¤È¶¦Í­¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¥Õ¥í¥Ã¥Ô¡¼¤ä¥ê¥à¡¼¥Ð¥Ö¥ë¥Ç¥£¥¹¥¯ ¤Ç¤Ê¤±¤ì¤Ð¡¢BSD ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òºÜ¤»¤Æ¤·¤Þ¤¦¤Î¤¬Îɤ¤¹Í¤¨¤Ç¤·¤ç¤¦¡£ ¥í¥ó¥°¥Õ¥¡¥¤¥ë̾¤â¥µ¥Ý¡¼¥È¤µ¤ì¡¢¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤Ï¾¯¤Ê¤¯¤È¤â 2 Çܤϸþ¾å¤·¤Þ¤¹¤·¡¢¤ª¤Þ¤±¤Ë¤º¤Ã¤È°ÂÄꤷ¤Æ¤¤¤Þ¤¹¡£ ¤Þ¤ººÇ½é¤Ë¡¢DOS ¥ì¥Ù¥ë¤Ç¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó / ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò̵¸ú¤Ë¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£»ÈÍѤ¹¤ë¤Î¤Ï fdisk ¤Ç¤â /stand/sysinstall ¤Ç¤â·ë¹½¤Ç¤¹¡£ Ê£¿ô¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤òÆþ¤ì¤ë¤³¤È¤ò¹Íθ¤¹¤ë ɬÍפ¬¤Ê¤¤¤è¤¦¤ÊÍÆÎ̤µ¤Ê¥É¥é¥¤¥Ö¤Î¾ì¹ç¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ë FAT ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë (¥¹¥é¥¤¥¹) Á´ÂΤòÈô¤Ð¤·¤Æ¡¢BSD ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥óÀßÄê¤ò¹Ô¤¦¤À¤±¤ÇÎɤ¤¤Ç¤·¤ç¤¦¡£

# dd if=/dev/zero of=/dev/rda2 count=2
# disklabel -Brw da2 auto

Ê£¿ô¤Î BSD ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¤Ä¤¯¤ë¾ì¹ç¡¢ disklabel ¤« /stand/sysinstall ¤ò»È¤¤¤Þ¤¹¡£ ¸ÇÄê¥Ç¥£¥¹¥¯¾å¤Ë¥¹¥ï¥Ã¥×Îΰè¤ò²Ã¤¨¤ë¾ì¹ç¡¢ ¤½¤¦¤¤¤¦¤³¤È¤ò¤·¤¿¤¤¤È»×¤¦¤Î¤Ï¤â¤Ã¤È¤â¤Ç¤¹¤¬¡¢ ZIP ¤Î¤è¤¦¤Ê¥ê¥à¡¼¥Ð¥Ö¥ë¥É¥é¥¤¥Ö¤Î¾å¤Ç¤Ï¤½¤¦¤¤¤¦¹Í¤¨¤ÏÉÔŬÀÚ ¤Ç¤·¤ç¤¦¡£

ºÇ¸å¤Ë¡¢¿·¤·¤¤¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¤Ä¤¯¤ê¤Þ¤¹¡£¥Ç¥£¥¹¥¯Á´ÂΤò»ÈÍѤ¹¤ë ZIP ¥É¥é¥¤¥Ö¤Î¾ì¹ç¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# newfs /dev/rda2c

¼¡¤Ë¥Þ¥¦¥ó¥È¤·¤Þ¤¹¡£

# mount /dev/da2c /zip

¤Þ¤¿¡¢¼¡¤Î¤è¤¦¤Ê¹Ô¤ò /etc/fstab (fstab(5) »²¾È) ¤ËÆþ¤ì¤Æ¤ª¤¯¤Î¤âÎɤ¤¹Í¤¨¤Ç¤·¤ç¤¦¡£ mount /zip ¤ÈÆþÎϤ¹¤ë¤À¤±¤Ç¥Þ¥¦¥ó¥È¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

/dev/da2c /zip ffs rw,noauto 0 0

7.4. ¼«Ê¬¤Î crontab ¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤¿¸å “root: not found” ¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬±ä¡¹¤Èɽ¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤Ï¤Ê¤¼¤Ç¤¹¤«?

¤³¤ì¤ÏÄ̾¥·¥¹¥Æ¥à crontab (/etc/crontab) ¤òÊÔ½¸¤·¡¢crontab(1) ¤ò»È¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ëµ¯¤³¤ê¤Þ¤¹¡£

# crontab /etc/crontab

¤³¤ÎÊýË¡¤ÏÀµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£ ¥·¥¹¥Æ¥à crontab ¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï crontab(1) ¤¬¹¹¿·¤¹¤ë³Æ¥æ¡¼¥¶¤Î crontab ¤È¤Ï°Û¤Ê¤ê¤Þ¤¹ (¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÁê°ãÅÀ¤Î¾ÜºÙ¤Ï crontab(5) ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹)¡£

¤â¤·¤³¤Î¤è¤¦¤ÊÁàºî¤ò¤·¤Æ¤·¤Þ¤Ã¤¿¤Ê¤é¡¢ ¤¢¤é¤¿¤Ê crontab ¤Ï¸í¤Ã¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤Î /etc/crontab ¤Î¥³¥Ô¡¼¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£ °Ê²¼¤Î¥³¥Þ¥ó¥É¤Çºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£

# crontab -r

º£ÅÙ /etc/crontab ¤òÊÔ½¸¤¹¤ë»þ¤Ï¡¢ ¤½¤ÎÊѹ¹¤ò cron(8) ¤ËÅÁ¤¨¤ë¤è¤¦¤ÊÁàºî¤ò¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ cron(8) ¤Ï¡¢¼«Æ°Åª¤Ë¤½¤ÎÊѹ¹¤òǧ¼±¤¹¤ë¤«¤é¤Ç¤¹¡£

¤â¤·¤¢¤Ê¤¿¤¬²¿¤«¤ò°ìÆü°ì²ó¡¢¤¢¤ë¤¤¤Ï°ì½µ´Ö¤ä°ì¥ö·î¤Ë°ì²ó¤À¤± ¼Â¹Ô¤µ¤»¤¿¤¤¤Ê¤é¡¢¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤ò /usr/local/etc/periodic ¤ËÄɲä·¡¢ periodic(8) ¥³¥Þ¥ó¥É¤Ë¥·¥¹¥Æ¥à¤Î cron ¥¹¥±¥¸¥å¡¼¥ë¤«¤é ¾¤ÎÄê´üŪ¤Ê¥·¥¹¥Æ¥à¤Î¥¿¥¹¥¯¤È¤È¤â¤Ë ¼Â¹Ô¤µ¤»¤¿¤Û¤¦¤¬Îɤ¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

¤³¤Î¥¨¥é¡¼¤Î¼ÂºÝ¤Î¸¶°ø¤Ï¡¢¥·¥¹¥Æ¥à crontab ¤Ë¤Ï ¤É¤Î¥æ¡¼¥¶¸¢¸Â¤Ç¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤«¤ò»ØÄꤹ¤ë;ʬ¤Ê¥Õ¥£¡¼¥ë¥É¤¬¤¢¤ë¤³¤È¤Ë¤è¤ë¤â¤Î¤Ç¤¹¡£ FreeBSD ¤ËźÉÕ¤µ¤ì¤Æ¤¤¤ëɸ½à¤Î¥·¥¹¥Æ¥à crontab ¤Ë¤Ï¡¢ ¤¹¤Ù¤Æ¤Î¥¨¥ó¥È¥ê¤Ë root ¤¬½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î crontab ¤¬ root ¥æ¡¼¥¶¤Î crontab (¥·¥¹¥Æ¥à crontab ¤È¤Ï °Û¤Ê¤ê¤Þ¤¹) ¤È¤·¤Æ»È¤ï¤ì¤¿¾ì¹ç¡¢cron(8) ¤Ï root ¤ò¼Â¹Ô¤¹¤ë¥³¥Þ¥ó¥É¤ÎºÇ½é¤Îñ¸ì¤À¤Èǧ¼±¤·¤Þ¤¹¤¬¡¢ ¤½¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤Ï¸ºß¤·¤Ê¤¤¤Î¤Ç¤¹¡£

7.5. su(1) ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ root ¤Ë¤Ê¤í¤¦¤È¤¹¤ë¤È¡¢ su ¤¬ “you are not in the correct group to su root” ¤È·Ù¹ð¤·¤Þ¤¹¡£

¤³¤ì¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¾å¤Îµ¡Ç½¤Ç¤¹¡£su ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ root (¤Þ¤¿¤Ï¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¸¢¸Â¤ò»ý¤Ä ¾¤Î¥¢¥«¥¦¥ó¥È) ¤Ë¤Ê¤ë¤Ë¤Ï¡¢wheel ¥°¥ë¡¼¥×¤Ë½ê°¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤³¤Îµ¡Ç½¤¬¤Ê¤¤¤È¡¢ ¥·¥¹¥Æ¥à¤Ë¥¢¥«¥¦¥ó¥È¤¬¤¢¤Ã¤Æ root ¤Î ¥Ñ¥¹¥ï¡¼¥É¤ò¸«¤Ä¤±¤µ¤¨¤¹¤ì¤Ð¡¢Ã¯¤Ç¤â¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¸¢¸Â¤Ç ¥·¥¹¥Æ¥à¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Æ¤·¤Þ¤¤¤Þ¤¹¡£¤³¤Îµ¡Ç½¤¬¤¢¤ë¾ì¹ç¤Ï¡¢ ɬ¤º¤·¤â¤½¤¦¤Ï¤Ê¤ê¤Þ¤»¤ó¡£wheel ¥°¥ë¡¼¥×¤Ë ½ê°¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢su(1) ¤¬¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤ¹¤é µñÈݤ¹¤ë¤«¤é¤Ç¤¹¡£

狼¤¬ root ¤Ë su ¤Ç¤­¤ë¤è¤¦¤Ë ¤¹¤ë¤Ë¤Ï¡¢¤½¤Î¿Í¤ò wheel ¥°¥ë¡¼¥×¤ËÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

7.6. rc.conf ¤ä¤½¤Î¾¤Î ¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤ò½ñ¤­´Ö°ã¤¨¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¤·¤«¤â¤½¤Î¤¿¤á¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥ê¡¼¥É¥ª¥ó¥ê¡¼¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Æ ÊÔ½¸¤¬¤Ç¤­¤Þ¤»¤ó¡£¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Ç¤¹¤«?

¥·¥§¥ë¤Î¥Ñ¥¹Ì¾¤òÆþÎϤ¹¤ë¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤¿¤È¤­¤Ë¡¢ ñ¤Ë ENTER ¤ò²¡¤·¡¢mount / ¤ò ¼Â¹Ô¤·¤Æ¤½¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òºÆ¥Þ¥¦¥ó¥È¤µ¤»¤Þ¤¹¡£ ¤Þ¤¿¡¢¤ªµ¤¤ËÆþ¤ê¤Î¥¨¥Ç¥£¥¿¤¬¤¢¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò ¥Þ¥¦¥ó¥È¤¹¤ë¤¿¤á¤Ë mount -a -t ufs ¤ò ¤¹¤ëɬÍפ¬¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£¤¢¤Ê¤¿¤Î¤ªµ¤¤ËÆþ¤ê¤Î¥¨¥Ç¥£¥¿¤¬ ¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤¹¤ëÁ°¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¤ò ¼êÆ°¤ÇÀßÄꤹ¤ë¤«¡¢ed(1) ¤Î¤è¤¦¤Ê¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤¢¤ë ¥¨¥Ç¥£¥¿¤ò»È¤¦¤«¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

vi(1) ¤ä emacs(1) ¤ÎÍͤʥե륹¥¯¥ê¡¼¥ó¥¨¥Ç¥£¥¿¤ò »È¤¦¤Ä¤â¤ê¤Ê¤é export TERM=cons25 ¤È ¤ä¤Ã¤Æ¥¨¥Ç¥£¥¿¤¬ termcap(5) ¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éÀµ¤·¤¤ ¥Ç¡¼¥¿¤òÆɤ߼è¤ì¤ë¤è¤¦¤Ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

¤³¤ì¤ò¹Ô¤Ã¤¿¤¢¤È¤Ï¤¤¤Ä¤â¤ÈƱÍÍ¡¢ /etc/rc.conf ¤òÊÔ½¸¤·¤Æ´Ö°ã¤¤¤òÄûÀµ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥«¡¼¥Í¥ëµ¯Æ°¥á¥Ã¥»¡¼¥¸¤Îľ¸å¤Ëɽ¼¨¤µ¤ì¤¿¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Ë¤Ï¡¢ ÌäÂê¤Îµ¯¤³¤Ã¤¿¥Õ¥¡¥¤¥ëÆâ¤Ç¤Î¹ÔÈÖ¹æ¤òɽ¼¨¤µ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£

7.7. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é DOS ¤Î³ÈÄ¥¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Þ¥¦¥ó¥È¤Ç¤­¤Þ¤¹¤«?

DOS ³ÈÄ¥¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ï¡¢ ¤¹¤Ù¤Æ¤Î´ðËܥѡ¼¥Æ¥£¥·¥ç¥ó¤Î¸å¤Ëǧ¼±¤µ¤ì¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢2ÂæÌܤΠSCSI¥É¥é¥¤¥Ö¤Î³ÈÄ¥¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë “E” ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬¤¢¤ë¤È¤·¤Þ¤¹¤È¡¢ ¤³¤ì¤Ï /dev ¤Ë¡Ö¥¹¥é¥¤¥¹ 5 ¡×¤Î¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤òºî¤ëɬÍפ¬¤¢¤ê¡¢ /dev/da1s5 ¤È¤·¤Æ¥Þ¥¦¥ó¥È¤µ¤ì¤Þ¤¹¡£

# cd /dev
# ./MAKEDEV da1s5
# mount -t msdos /dev/da1s5 /dos/e

7.8. ¾¤Î¥·¥¹¥Æ¥à¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò FreeBSD ¤Ç¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

Digital UNIX: UFS CDROM ¤ÏľÀÜ FreeBSD ¤Ç¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Digital UNIX ¤ä¤½¤ì°Ê³°¤Î¥·¥¹¥Æ¥à¤Î¥µ¥Ý¡¼¥È¤¹¤ë UFS ¤Î¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤Ï¤â¤Ã¤ÈÊ£»¨¤Ê¤³¤È¤Ç¡¢ ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¾ÜºÙ¤Ë°Í¸¤·¤Þ¤¹¡£

Linux: 2.2 °Ê¹ß¤Ï ext2fs ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ ¾Ü¤·¤¯¤Ï¡¢mount_ext2fs(8) ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£

NT: FreeBSD ÍѤÎÆɤߤÀ¤·¤Î¤ß²Äǽ¤Ê NTFS ¥É¥é¥¤¥Ð¤¬¤¢¤ê¤Þ¤¹¡£ ¾Ü¤·¤¯¤Ï¡¢Mark Ovens »á¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤¿¥Á¥å¡¼¥È¥ê¥¢¥ë http://ukug.uk.freebsd.org/~mark/ntfs_install.html ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

¤³¤ÎÌäÂê¤Ë¤Ä¤¤¤Æ¾¤Î¾ðÊ󤬤¢¤ì¤Ð¡¢Â¾¤Î¿Í¤«¤é´¶¼Õ¤µ¤ì¤ë¤Ç¤·¤ç¤¦¡£

7.9. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é FreeBSD ¤ò NT ¥í¡¼¥À¡¼¤«¤éµ¯Æ°¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤«?

¤³¤Î¼ê½ç¤Ï 2.2.x ¤È (µ¯Æ°¤¬ 3 ¤Ä¤Î¥¹¥Æ¡¼¥¸¤Ëʬ¤«¤ì¤Æ¤¤¤ë) 3.x ¤Î¥·¥¹¥Æ¥à¤È¤Ç¿¾¯°Û¤Ê¤ê¤Þ¤¹¡£

FreeBSD ¤Î¥Í¥¤¥Æ¥£¥Ö¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ÎºÇ½é¤Î¥»¥¯¥¿¤ò¥Õ¥¡¥¤¥ë¤Ë¤·¤Æ DOS/NT ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¾å¤ËÃÖ¤¯¤È¤¤¤¦²è´üŪ¤Ê¥¢¥¤¥Ç¥£¥¢¤¬¤¢¤ê¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë̾¤ò c:\bootsect.bsd (c:\bootsect.dos ¤«¤é¤ÎȯÁۤǤ¹) ¤È¤·¤¿¤È¤·¤Þ¤¹¡£ c:\boot.ini¥Õ¥¡¥¤¥ë¤ò¼¡¤Î¤è¤¦¤ËÊÔ½¸¤·¤Þ¤¹¡£

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT"
C:\BOOTSECT.BSD="FreeBSD"
C:\="DOS"

¤³¤Î¼ê½ç¤Ï¡¢ÍøÍѤ·¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤¬ 2.2.x ¤Ç¤¢¤ê¡¢DOS¡¢NT¡¢FreeBSD ¤¢¤ë¤¤¤Ï¤½¤Î¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬¤¹¤Ù¤Æ¡¢ Ʊ¤¸¥Ç¥£¥¹¥¯¤Î¤½¤ì¤¾¤ì¤Î fdisk ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤³¤È¤òÁÛÄꤷ¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎÎã¤Ï¡¢DOS ¤È NT ¤òºÇ½é¤Î fdisk ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¤ª¤­¡¢ FreeBSD ¤Ï 2 ÈÖÌܤˤª¤¤¤¿¥·¥¹¥Æ¥à¤Ç³Îǧ¤·¤Æ¤¤¤Þ¤¹¡£ ¤Þ¤¿¡¢FreeBSD ¤Ï MBR ¤ò»È¤ï¤º¤Ë¡¢ ¥Í¥¤¥Æ¥£¥Ö¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤«¤éµ¯Æ°¤¹¤ë¤è¤¦¤ËÀßÄꤷ¤Æ¤¢¤ê¤Þ¤¹ (ÌõÃí: FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ç¡¢¥Ö¡¼¥È¥Þ¥Í¥¸¥ã¤ò»È¤ï¤º¤Ëɸ½à MBR ¤ò»È¤¦¾ì¹ç¤ËÁêÅö¤·¤Þ¤¹)¡£

(¤â¤· NTFS ¤ËÊÑ´¹¤·¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë¤Ê¤é)DOS ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤« FAT ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò /mnt ¤Ë DOS ¥Þ¥¦¥ó¥È¤·¤Þ¤¹¡£

# dd if=/dev/rda0a of=/mnt/bootsect.bsd bs=512 count=1

ºÆµ¯Æ°¤·¤Æ DOS ¤« NT ¤ËÀÚÂؤ¨¤Þ¤¹¡£NTFS ¥æ¡¼¥¶¤Ï bootsect.bsd ¤ä bootsect.lnx ¤ò¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤«¤é C:\ ¤Ø¥³¥Ô¡¼¤·¤Þ¤¹¡£ boot.ini ¤Î¥Õ¥¡¥¤¥ë°À­ (¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó) ¤ÎÊѹ¹¤ò°Ê²¼¤Î¤è¤¦¤Ë¹Ô¤Ê¤¤¤Þ¤¹¡£

> attrib -s -r c:\boot.ini

¾å¤ÎÎã¤Î boot.ini ¤Ç¼¨¤·¤¿¤è¤¦¤ÊÀµ¤·¤¤¥¨¥ó¥È¥ê¤ò²Ã¤¨¡¢ ¥Õ¥¡¥¤¥ë°À­¤ò¸µ¤ËÌᤷ¤Þ¤¹¡£

> attrib +s +r c:\boot.ini

FreeBSD ¤¬ MBR ¤«¤éµ¯Æ°¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢ ¤½¤ì¤¾¤ì¤Î¥Í¥¤¥Æ¥£¥Ö¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤«¤éµ¯Æ°¤¹¤ë¤è¤¦¤ËÀßÄꤷ¤¿¸å¤Ç¡¢ DOS ¤«¤é fdisk ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¸µ¤ËÌᤷ¤Æ¤¯¤À¤µ¤¤¡£

FreeBSD 3.X ¤Ë¤ª¤±¤ë¼ê½ç¤Ï¡¢¤³¤ì¤è¤ê¤¤¤¯¤Ö¤ó´Êñ¤Ç¤¹¡£

FreeBSD ¤¬ NT µ¯Æ°¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤È¤·¤ÆƱ¤¸¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ /boot/boot1 ¤òñ½ã¤Ë C:\BOOTSECT.BSD ¤Ø¥³¥Ô¡¼¤·¤Þ¤¹¡£ ¤â¤· FreeBSD ¤¬°Û¤Ê¤Ã¤¿¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ /boot/boot1 ¤Ç¤ÏÆ°ºî¤·¤Þ¤»¤ó¤Î¤Ç¡¢ /boot/boot0 ¤¬É¬ÍפǤ¹¡£

警告¤³¤³¤Ç /boot/boot1 ¤ÎÂå¤ï¤ê¤Ë /boot/boot0 ¤ò¥³¥Ô¡¼¤¹¤ë¤è¤¦¤Ê¤³¤È¤ò¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó! ¤½¤¦¤¹¤ë¤È¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ò¾å½ñ¤­¤·¤Æ¤·¤Þ¤¤¡¢ ¥³¥ó¥Ô¥å¡¼¥¿¤¬µ¯Æ°¤Ç¤­¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£



/boot/boot0 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¡¢ sysinstall ¤Î¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤òÍøÍѤ¹¤ë¤«¤É¤¦¤«¿Ò¤Í¤é¤ì¤ë²èÌÌ¤Ç FreeBSD ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤òÁªÂò¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ /boot/boot0 ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ëÉôʬ¤Ï NULL ʸ»ú¤ÇËä¤á¤é¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ sysinstall ¤Ï /boot/boot0 ¤ò MBR ¤Ë¥³¥Ô¡¼¤¹¤ëÁ°¤Ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ò¤­¤Á¤ó¤È¥³¥Ô¡¼¤·¤Æ¤¯¤ì¤ë¤«¤é¤Ç¤¹¡£

FreeBSD ¥Ö¡¼¥È¥Þ¥Í¡¼¥¸¥ã¤ÏºÇ¸å¤Ëµ¯Æ°¤·¤¿ OS ¤òµ­Ï¿¤¹¤ë¤¿¤á¤Ë ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ÎºÇ¸å¤Ëµ¯Æ°¤·¤¿ OS ¤Î¥¨¥ó¥È¥ê¤Ë¤¢¤ë¥¢¥¯¥Æ¥£¥Ö¥Õ¥é¥°¤ò¥»¥Ã¥È¤·¡¢512 ¥Ð¥¤¥ÈÁ´ÂΤò MBR ¤Ë½ñ¤­Ìᤷ¤Þ¤¹¡£ ¤³¤ì¤Ï /boot/boot0 ¤ò C:\BOOTSECT.BSD ¤Ë¥³¥Ô¡¼¤·¡¢ ¥¨¥ó¥È¥ê¤Î°ì¤Ä¤Ë¥¢¥¯¥Æ¥£¥Ö¥Õ¥é¥°¤ò¥»¥Ã¥È¤·¤Æ¶õ¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ò MBR ¤Ë½ñ¤­¹þ¤à¤³¤È¤ÈƱ¤¸¤Ç¤¹¡£

7.10. FreeBSD ¤È Linux ¤ò LILO ¤«¤éµ¯Æ°¤¹¤ë¤Ë¤Ï?

FreeBSD ¤È Linux ¤¬Æ±¤¸¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ ñ¤Ë Linux °Ê³°¤Î OS ¤òµ¯Æ°¤¹¤ë¤¿¤á¤Î LILO ¤Î¥¤¥ó¥¹¥È¡¼¥ë¼ê½ç¤Ë ½¾¤¨¤Ð¤¤¤¤¤À¤±¤Ç¤¹¡£Èó¾ï¤Ë´Êñ¤Ë¤Ç¤Ï¤¢¤ê¤Þ¤¹¤¬¡¢µ­¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£

Linux ¤òµ¯Æ°¤·¡¢/etc/lilo.conf ¤Ë°Ê²¼¤Î¹Ô¤ò²Ã¤¨¤Æ ¤¯¤À¤µ¤¤¡£

other=/dev/hda2
        table=/dev/hda
        label=FreeBSD

(¾åµ­¤Î¼ê½ç¤Ï FreeBSD ¤Î¥¹¥é¥¤¥¹¤¬ Linux ¤«¤é /dev/hda2 ¤È¤¤¤¦Ì¾Á°¤Ç¸«¤¨¤Æ¤¤¤ë¤È²¾Äꤷ¤Æ¤¤¤Þ¤¹¡£ ¤¢¤Ê¤¿¤ÎÀßÄê¤Ë¤¢¤ï¤»¤Æ¤¯¤À¤µ¤¤) ¤½¤Î¸å¡¢lilo ¤ò root ¤Ç¼Â¹Ô¤¹¤ì¤Ð´°Î»¤Ç¤¹¡£

FreeBSD ¤¬Ê̤Υǥ£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤Î¤Ê¤é¡¢ LILO ¤Î¥¨¥ó¥È¥ê¤Ë loader=/boot/chain.b ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£¤¿¤È¤¨¤Ð¡¢¤³¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

other=/dev/dab4
        table=/dev/dab
        loader=/boot/chain.b
        label=FreeBSD

¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¡¢Æó¤ÄÌܤΥǥ£¥¹¥¯¤òÀµ¤·¤¯µ¯Æ°¤¹¤ë¤¿¤á¤Ë FreeBSD ¥Ö¡¼¥È¥í¡¼¥À¤Ë BIOS ¥É¥é¥¤¥ÖÈÖ¹æ¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤¿¤È¤¨¤Ð¡¢FreeBSD SCSI ¥Ç¥£¥¹¥¯¤¬ BIOS ¤Ë¤è¤Ã¤Æ BIOS ¥Ç¥£¥¹¥¯ 1 ¤È¤·¤Æǧ¼±¤µ¤ì¤ë¤Î¤Ê¤é¡¢ FreeBSD ¤Î¥Ö¡¼¥È¥í¡¼¥À¤Î¥×¥í¥ó¥×¥È¤Ç¡¢¼¡¤Î¤è¤¦¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Boot: 1:da(0,a)/kernel


FreeBSD 2.2.5 ¤ä¤½¤ì°Ê¹ß¤ÎÈǤǤϡ¢boot(8) ¤òÀßÄꤹ¤ì¤Ð µ¯Æ°»þ¤Ë¾åµ­¤Î¤³¤È¤¬¼«Æ°Åª¤Ë¹Ô¤¨¤Þ¤¹¡£

Linux+FreeBSD mini-HOWTO ¤¬ FreeBSD ¤È Linux ¤È¤òÁê¸ß¤Ë»È¤¨¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Î¤è¤¤»²¹Í»ñÎÁ¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

7.11. FreeBSD ¤È Linux ¤ò BootEasy ¤«¤éµ¯Æ°¤¹¤ë¤Ë¤Ï?

LILO ¤ò¥Þ¥¹¥¿¡¼¥Ö¡¼¥È¥ì¥³¡¼¥É (MBR) ¤Ç¤Ï¤Ê¤¯ Linux ¤Îµ¯Æ°¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤Ç BootEasy ¤«¤é LILO ¤òµ¯Æ°¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

Windows95 ¤È Linux ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¤¤¤º¤ì¤Ë¤»¤è¸å¼Ô¤ÎÊý¤¬¤ª¤¹¤¹¤á¤Ç¤¹¡£ Windows95 ¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפˤ«¤é¤ì¤¿¤È¤­¡¢ Linux ¤òµ¯Æ°²Äǽ¤ËÌ᤹¼ê³¤­¤¬´Êñ¤Ç¤¹¤à¤«¤é¤Ç¤¹ (Windows95 ¤ÏÊжþ¤Ê¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ç¡¢ ¥Þ¥¹¥¿¡¼¥Ö¡¼¥È¥ì¥³¡¼¥É (MBR) ¤«¤é¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤òÄɤ¤Ê§¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹)¡£

7.12. ¡Ö´í¸±³Ð¸ç¤ÎÀìÍÑ (dangerously dedicated) ¥Ç¥£¥¹¥¯¡×¤Ï·ò¹¯¤Ë°­¤¤¤Î?

¥¤¥ó¥¹¥È¡¼¥ëºî¶ÈÃæ¡¢ ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÀÚ¤ëºÝ¤Ë 2 ¤Ä¤ÎÊýË¡¤òÁª¤Ö¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤ÎÊýË¡¤Ç¤Ï¡¢fdisk ¤Î¥Æ¡¼¥Ö¥ë¥¨¥ó¥È¥ê (FreeBSD ¤Ç¤Ï¥¹¥é¥¤¥¹¤È¸Æ¤Ð¤ì¤ë) ¤ò»È¤Ã¤Æ¡¢ ¼«¿È¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë FreeBSD ¤Î¥¹¥é¥¤¥¹¤ò¡¢ Ʊ¤¸¥Þ¥·¥ó¤Î¾¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤È¸ß´¹À­¤Î¤¢¤ë·Á¤Ë¤·¤Þ¤¹¡£ ¤½¤ì¤ËÉտ路¤Æ¡¢¥Ö¡¼¥È¥»¥ì¥¯¥¿¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ì¤Ð¡¢ ¥Ç¥£¥¹¥¯¾å¤Î»ÈÍѲÄǽ¤Ê¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤òÀÚ¤êÂؤ¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤â¤¦°ì¤Ä¤ÎÊýË¡¤Ï¥Ç¥£¥¹¥¯¤¹¤Ù¤Æ¤ò FreeBSD ¤Ç»È¤¦¤È¤¤¤¦¤â¤Î¤Ç¡¢ ¤³¤Î¾ì¹ç¤Û¤«¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤È¤Î¸ß´¹À­¤ò¹Íθ¤·¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¤Ç¤Ï¡¢¤Ê¤¼¤³¤ì¤¬ ¡Ö´í¸±³Ð¸ç¤Î¡×¤È¸À¤ï¤ì¤ë¤Î¤Ç¤·¤ç¤¦? ¤³¤Î¥â¡¼¥É¤Î¥Ç¥£¥¹¥¯¤¬¡¢Ä̾ï¤Î PC ¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬Í­¸ú¤Ê fdisk ¥Æ¡¼¥Ö¥ë¤È¸«¤Ê¤¹¾ðÊó¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¤«¤é¤Ç¤¹¡£ ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Î½ÐÍèÇ¡²¿¤Ë¤è¤ê¤Þ¤¹¤¬¡¢ ¤½¤Î¤è¤¦¤Ê¥Ç¥£¥¹¥¯¤òȯ¸«¤·¤¿¤È¤­¡¢ ·Ù¹ð¤ò½Ð¤¹¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¤â¤Ã¤È°­¤¤¾ì¹ç¡¢ ³Îǧ¤âÄ̹ð¤â¤Ê¤·¤Ë BSD ¤Î¥Ö¡¼¥È¥¹¥È¥é¥Ã¥×¤Ë¥À¥á¡¼¥¸¤òÍ¿¤¨¤ë¤â¤Î¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£ ¤µ¤é¤Ë¤Ï¡¢¡Ö´í¸±³Ð¸ç¤Î¡×¥Ç¥£¥¹¥¯¥ì¥¤¥¢¥¦¥È¤Ï¿¿ô¤Î BIOS¡¢ AWARD (¤¿¤È¤¨¤Ð HP Netserver ¤ä Micronics ¥·¥¹¥Æ¥à¡¢ ¾¿¿ô¤Ç»ÈÍѤµ¤ì¤Æ¤¤¤¿) ¤ä Symbios/NCR (¿Íµ¤¤Î¤¢¤ëSCSI ¥³¥ó¥È¥í¡¼¥é 53C8xx ÍÑ) ¤Ê¤É¤òº®Í𤵤»¤ë¤³¤È¤¬Ê¬¤«¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï´°Á´¤Ê¥ê¥¹¥È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¾¤Ë¤â¤Þ¤À¤Þ¤À¤¢¤ê¤Þ¤¹¡£¤³¤Îº®Íð¤ÎÃû¸õ¤Ï¡¢ µ¯Æ°»þ¤Ë¥·¥¹¥Æ¥à¤¬¥í¥Ã¥¯¤¹¤ë¤È¤¤¤¦¤À¤±¤Ç¤Ê¤¯¡¢ FreeBSD ¤Î¥Ö¡¼¥È¥¹¥È¥é¥Ã¥×¤¬¼«Ê¬¼«¿È¤ò¸«¤Ä¤±¤é¤ì¤Ê¤¤¤¿¤á¤Ëɽ¼¨¤¹¤ë “read error” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤Ê¤É¤Ë¤â¸½¤ì¤ë¤³¤È¤Ç¤·¤ç¤¦¡£

¤½¤â¤½¤â¤¤¤Ã¤¿¤¤¤Ê¤¼¤³¤Î¥â¡¼¥É¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«? ¤³¤ì¤Ï¤ï¤º¤«¤Ë¿ô¥­¥í¥Ð¥¤¥È¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤òÀáÌ󤹤ë¤Î¤ß¤Ç¤¢¤ê¡¢ ¿·µ¬¥¤¥ó¥¹¥È¡¼¥ë¤Ç¼ÂºÝ¤ËÌäÂê¤òÀ¸¤º¤ë¤Î¤Ç¤¹¡£ ¡Ö´í¸±³Ð¸ç¤Î¡×¥â¡¼¥É¤Îµ¯¸»¤Ï¿·¤·¤¤ FreeBSD ¥¤¥ó¥¹¥È¡¼¥é¤Ç¤Î¡¢ BIOS ¤«¤é¸«¤¨¤ë¥Ç¥£¥¹¥¯¤Î ¡Ö¥¸¥ª¥á¥È¥ê¡×¤ÎÃͤȥǥ£¥¹¥¯¼«¿È¤È¤ÎÀ°¹çÀ­¤È¤¤¤¦¡¢ ¤â¤Ã¤È¤â°ìÈÌŪ¤ÊÌäÂê¤Î¤Ò¤È¤Ä¤ò²óÈò¤·¤¿¤¤¤È¤¤¤¦Í׵᤬Çطʤˤ¢¤ê¤Þ¤¹¡£

¡Ö¥¸¥ª¥á¥È¥ê¡×¤Ï»þÂåÃÙ¤ì¤Î³µÇ°¤Ç¤¹¤¬¡¢ ̤¤À¤Ë PC BIOS ¤È¥Ç¥£¥¹¥¯¤Ø¤ÎÁê¸ßºîÍѤÎÃæ³Ë¤ò¤Ê¤·¤Æ¤¤¤Þ¤¹¡£ FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥é¤¬¥¹¥é¥¤¥¹¤òºî¤ë»þ¡¢ ¥Ç¥£¥¹¥¯¾å¤Î¥¹¥é¥¤¥¹¤ò BIOS ¤¬¸«¤Ä¤±¤é¤ì¤ë¤è¤¦¤Ë¡¢ ¥¹¥é¥¤¥¹°ÌÃÖ¤ò¥Ç¥£¥¹¥¯¾å¤Ëµ­Ï¿¤·¤Þ¤¹¡£¤½¤ì¤¬¸í¤Ã¤Æ¤¤¤ì¤Ð¡¢ µ¯Æ°¤Ç¤­¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£

¡Ö´í¸±³Ð¸ç¤Î¡×¥â¡¼¥É¤Ï¤³¤ì¤ò¡¢ ÌäÂê¤òñ½ã¤Ë¤¹¤ë¤³¤È¤Ç²óÈò¤·¤è¤¦¤È¤·¤Þ¤¹¡£ ¾õ¶·¤Ë¤è¤Ã¤Æ¤Ï¤³¤ì¤Ç¤¦¤Þ¤¯¤¤¤­¤Þ¤¹¡£ ¤·¤«¤·¼¡Á±¤Îºö¤È¤·¤Æ»È¤ï¤ì¤Æ¤¤¤ë¤Ë²á¤®¤Þ¤»¤ó¡£ ¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤â¤Ã¤ÈÎɤ¤ÊýË¡¤Ï¤¤¤¯¤é¤Ç¤â¤¢¤ë¤Î¤Ç¤¹¡£

¤Ç¤Ï¡¢ ¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë¡Ö´í¸±³Ð¸ç¤ÎÀìÍѡץ⡼¥É¤¬É¬Í×¤Ë¤Ê¤ë ¾õ¶·¤ò²óÈò¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«? ¤Þ¤º BIOS ¤¬Êó¹ð¤¹¤ë¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤ÎÃͤò³Ð¤¨¤Æ¤ª¤¯¤³¤È¤«¤é¤Ï¤¸¤á¤Þ¤·¤ç¤¦¡£ “boot:” ¥×¥í¥ó¥×¥È¤Ç “-v” ¤ò»ØÄꤹ¤ë¤«¡¢¥í¡¼¥À¤Ç “boot -v” ¤È»ØÄꤷ¤Æ¡¢ µ¯Æ°»þ¤Ë¥«¡¼¥Í¥ë¤Ë¤³¤ÎÃͤòɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥¤¥ó¥¹¥È¡¼¥é¤¬µ¯Æ°¤¹¤ëľÁ°¤Ë¡¢ ¥«¡¼¥Í¥ë¤¬¥¸¥ª¥á¥È¥êÃͤΥꥹ¥È¤òɽ¼¨¤¹¤ë¤Ç¤·¤ç¤¦¡£ ¥Ñ¥Ë¥Ã¥¯¤òµ¯¤³¤µ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ¥¤¥ó¥¹¥È¡¼¥é¤¬µ¯Æ°¤¹¤ë¤Î¤òÂÔ¤Á¡¢ µÕ¥¹¥¯¥í¡¼¥ë¤Ç¤µ¤«¤Î¤Ü¤Ã¤ÆÃͤò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ÉáÄÌ¤Ï BIOS ¥Ç¥£¥¹¥¯¥æ¥Ë¥Ã¥ÈÈÖ¹æ¤Ï¡¢ FreeBSD ¤¬¥Ç¥£¥¹¥¯¤ò¸¡½Ð¤¹¤ë½ç½ø¤ÈƱÍͤǤ¢¤ê¡¢ ºÇ½é¤Ë IDE¡¢¼¡¤Ë SCSI ¤È¤Ê¤ê¤Þ¤¹¡£

¥Ç¥£¥¹¥¯¤ò¥¹¥é¥¤¥·¥ó¥°¤¹¤ëºÝ¤Ë¡¢ FDISK ¤Î²èÌ̤Çɽ¼¨¤µ¤ì¤ë¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤¬Àµ¤·¤¤¤³¤È (BIOS ¤ÎÊÖ¤¹ÃͤȰìÃפ·¤Æ¤¤¤ë¤«) ¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ Ëü°ì°Û¤Ê¤Ã¤Æ¤¤¤¿¤é “g” ¤ò²¡¤·¤Æ½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥Ç¥£¥¹¥¯¤Ë¤Þ¤Ã¤¿¤¯¤Ê¤Ë¤â¤Ê¤¤¾ì¹ç¤ä¡¢ ¾¤Î¥·¥¹¥Æ¥à¤«¤é»ý¤Ã¤Æ¤­¤¿¥Ç¥£¥¹¥¯¤Î¾ì¹ç¤Ï ¤³¤ì¤ò¹Ô¤Ê¤¦É¬Íפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¤½¤Î¥Ç¥£¥¹¥¯¤«¤éµ¯Æ°¤µ¤»¤è¤¦¤È¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß¡¢ ÌäÂê¤Ë¤Ê¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ FreeBSD ¤Ï¤½¤Î¥Ç¥£¥¹¥¯¤ò¤¦¤Þ¤¤¶ñ¹ç¤¤¤Ë¾¤Î¥Ç¥£¥¹¥¯¤È¶èÊ̤·¤Æ¤¯¤ì¤Þ¤¹¡£

¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤Ë¤Ä¤¤¤Æ BIOS ¤È FreeBSD ´Ö¤Ç°ìÃפµ¤»¤ë¤³¤È¤¬¤Ç¤­¤¿¤é¡¢¤³¤ÎÌäÂê¤Ï¤Û¤Ü²ò·è¤·¤¿¤È»×¤Ã¤Æ¤è¤¤¤Ç¤·¤ç¤¦¡£ ¤½¤·¤Æ¤â¤Ï¤ä¡Ö´í¸±³Ð¸ç¤ÎÀìÍѡץ⡼¥É¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢¤Þ¤Àµ¯Æ°»þ¤Ë¶²ÉݤΠ“read error” ¥á¥Ã¥»¡¼¥¸¤¬½Ð¤ë¤è¤¦¤Ç¤¢¤ì¤Ð¡¢ ¤ªµ§¤ê¤òÊû¤²¤Æ¿·¤·¤¤¥Ç¥£¥¹¥¯¤òÇ㤤¤Þ¤·¤ç¤¦¡£ ¤â¤¦¼º¤¦¤â¤Î¤Ï²¿¤â¤¢¤ê¤Þ¤»¤ó¡£

¡Ö´í¸±³Ð¸ç¤ÎÀìÍѥǥ£¥¹¥¯¡×¤òÄ̾ï¤Î PC ¤Ç¤Î»ÈÍÑË¡¤ËÌ᤹¤Ë¤Ï¡¢ ¸¶Â§¤È¤·¤Æ 2 ¤ÄÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£1 ¤Ä¤Ï½½Ê¬¤Ê NULL ¥Ð¥¤¥È¤ò MBR ¤Ë½ñ¤­¹þ¤ó¤Ç¡¢ ¤­¤¿¤ë¤Ù¤­¥¤¥ó¥¹¥È¡¼¥é¤Ë¥Ç¥£¥¹¥¯¤Ï¤Þ¤Ã¤µ¤é¤À¤È»×¤¤¹þ¤Þ¤»¤ëÊýË¡¤Ç¤¹¡£ ¤¿¤È¤¨¤Ð¡¢¤³¤ó¤Ê´¶¤¸¤Ç¤¹¡£

# dd if=/dev/zero of=/dev/rda0 count=15


¤Þ¤¿¡¢¥Þ¥Ë¥å¥¢¥ë¤Ë¤Ï½ñ¤«¤ì¤Æ¤¤¤Ê¤¤ DOS ¤Î¡Öµ¡Ç½¡×

> fdisk /mbr
¤Ï¡¢BSD ¥Ö¡¼¥È¥¹¥È¥é¥Ã¥×¤òÄɤ¤Ê§¤Ã¤Æ¤¯¤ì¤ë¾å¤Ë¡¢ ¿·¤·¤¤¥Þ¥¹¥¿¡¼¥Ö¡¼¥È¥ì¥³¡¼¥É¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤ì¤Þ¤¹¡£

7.13. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¥¹¥ï¥Ã¥×Îΰè¤òÁý¤ä¤»¤Þ¤¹¤«?

¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥µ¥¤¥º¤òÁý¤ä¤¹¤Î¤¬ºÇÎɤÎÊýË¡¤Ç¤¹¤¬¡¢ Ê̤Υǥ£¥¹¥¯¤òÄɲ䷤ʤ¯¤ÆºÑ¤à¤È¤¤¤¦ÍøÅÀ¤Î¤¢¤ëÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ ·Ð¸³¤«¤éÆÀ¤¿°ìÈÌŪ¤ÊÊýË¡¤Ï¥á¥¤¥ó¥á¥â¥ê¤Î 2ÇÜÄøÅ٤Υ¹¥ï¥Ã¥×Îΰè¤ò ¤È¤ë¤È¤¤¤¦¤â¤Î¤Ç¤¹¡£¤·¤«¤·¤´¤¯¾®¤µ¤Ê¥á¥¤¥ó¥á¥â¥ê¤·¤«¤Ê¤¤¾ì¹ç¤Ï¡¢ ¤½¤ì°Ê¾å¤Î¥¹¥ï¥Ã¥×¤ò¹½À®¤·¤¿¤¤¤È»×¤¦¤Ç¤·¤ç¤¦¡£¤Þ¤¿¡¢¾­Íè¤Î¥á¥â¥ê¤Î ¥¢¥Ã¥×¥°¥ì¡¼¥É¤ËÈ÷¤¨¡¢¸å¤Ç¥¹¥ï¥Ã¥×¤Î¹½À®¤òÊѹ¹¤¹¤ëɬÍפ¬¤Ê¤¤¤è¤¦¤Ë ½½Ê¬¤Ê¥¹¥ï¥Ã¥×¤ò¹½À®¤·¤Æ¤ª¤¯¤³¤È¤ÏÎɤ¤¹Í¤¨¤Ç¤¹¡£

¥¹¥ï¥Ã¥×¤òÊ̤Υǥ£¥¹¥¯¾å¤ËÄɲ乤뤳¤È¤Ï¡¢Ã±½ã¤ËƱ¤¸¥Ç¥£¥¹¥¯¾å ¤Ë¥¹¥ï¥Ã¥×¤òÄɲ乤ë¾ì¹ç¤è¤ê¤â¹â®¤ËÆ°ºî¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ Îã¤Ëµó¤²¤ì¤Ð¡¢¤¢¤ë¥Ç¥£¥¹¥¯¾å¤Î¥½¡¼¥¹¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¤¤ë¤È¤·¤Æ¡¢ ¥¹¥ï¥Ã¥×¤¬Ê̤Υǥ£¥¹¥¯¾å¤Ëºî¤é¤ì¤Æ¤¤¤ì¤Ð¡¢¤³¤ì¤é¤¬Æ±¤¸¥Ç¥£¥¹¥¯¾å ¤Ë¤¢¤ë¾ì¹ç¤è¤ê¤âÃÇÁ³Â®¤¤¤Ç¤¹¡£SCSI ¥Ç¥£¥¹¥¯¤Î¾ì¹ç¤ÏÆäˤ½¤¦¤À¤È¸À¤¨¤Þ¤¹¡£

¥Ç¥£¥¹¥¯¤¬Ê£¿ô¤¢¤ë¾ì¹ç¡¢¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò³Æ¥Ç¥£¥¹¥¯¤Ë ºî¤ë¤è¤¦¤Ë¹½À®¤¹¤ë¤È¡¢»ÈÍÑÃæ¤Î¥Ç¥£¥¹¥¯¾å¤Ë¥¹¥ï¥Ã¥×¤òÃÖ¤¤¤¿¤È¤·¤Æ¤â¡¢ Ä̾ï¤Î¾ì¹ç¤ÏÍ­±×¤Ç¤¹¡£°ìÈÌŪ¤Ë¡¢¥·¥¹¥Æ¥à¤Ë¤¢¤ë¹â®¤Ê¥Ç¥£¥¹¥¯¤Ë¤Ï ¥¹¥ï¥Ã¥×¤òºî¤ë¤è¤¦¤Ë¤¹¤Ù¤­¤Ç¤·¤ç¤¦¡£ FreeBSD ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¥¤¥ó¥¿¡¼¥ê¡¼¥Ö¤Ê¥¹¥ï¥Ã¥×¥Ç¥Ð¥¤¥¹¤ò 4¤Ä¤Þ¤Ç ¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£Ê£¿ô¤Î¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¹½À®¤¹¤ëºÝ¤Ë¡¢ ÉáÄ̤Ϥ½¤ì¤é¤òÂçÂÎƱ¤¸¤¯¤é¤¤¤ÎÂ礭¤µ¤Ë¤·¤Æºî¤ê¤¿¤¤¤È¤³¤í¤Ç¤¹¤¬¡¢ ¥«¡¼¥Í¥ë¤Î¥³¥¢¥À¥ó¥×¤ò¼è¤ë¤Î¤ËÅԹ礬Îɤ¤¤è¤¦¤Ë¥á¥¤¥ó¤Î ¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÂ礭¤á¤Ë¤È¤ë¿Í¤â¤¤¤Þ¤¹¡£ ¥á¥¤¥ó¤Î¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ï¥«¡¼¥Í¥ë¤Î¥³¥¢¤¬¤È¤ì¤ë¤è¤¦¤Ë ºÇÄã¤Ç¤â¼Â¥á¥â¥ê¤ÈƱ¤¸Â礭¤µ¤Ë¤¹¤Ù¤­¤Ç¤·¤ç¤¦¡£

IDE ¥É¥é¥¤¥Ö¤ÏƱ»þ¤ËƱ¤¸¥Á¥ã¥Í¥ë¾å¤ÎÊ£¿ô¤Î¥É¥é¥¤¥Ö¤Ë¤Ï ¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó (FreeBSD ¤Ï mode 4 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢ ¤¹¤Ù¤Æ¤Î IDE ¥Ç¥£¥¹¥¯ I/O ¤Ï “programmed” ¤Ç¤¹)¡£ IDE ¤Î¾ì¹ç¤Ç¤¢¤Ã¤Æ¤â¤ä¤Ï¤ê¡¢¥¹¥ï¥Ã¥×¤òÊ̤Υϡ¼¥É¥Ç¥£¥¹¥¯¾å¤Ë ºîÀ®¤¹¤ë¤³¤È¤ò¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¥É¥é¥¤¥Ö¤Ï¼Â¤Ë°Â¤¤¤â¤Î¤Ç¤¹¡¢¿´ÇÛ¤¹¤ë¤À¤±ÌµÂ̤Ǥ¹¡£

NFS ±Û¤·¤Ë¥¹¥ï¥Ã¥Ô¥ó¥°¤µ¤»¤ëÊýË¡¤Ï¡¢ ¥¹¥ï¥Ã¥×ÍÑ¤Î¥í¡¼¥«¥ë¥Ç¥£¥¹¥¯¤¬Ìµ¤¤¾ì¹ç¤Ë¤Î¤ß¿ä¾©¤µ¤ì¤Þ¤¹¡£ NFS ±Û¤·¤Î¥¹¥ï¥Ã¥Ô¥ó¥°¤ÏÃÙ¤¯¡¢FreeBSD 4.x ¤è¤êÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï ¸úΨ¤¬°­¤¤¤Î¤Ç¤¹¤¬¡¢4.0 °Ê¹ß¤Ç¤Ï¤½¤ì¤Ê¤ê¤Ë¹â®¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤½¤¦¤Ï¤¤¤Ã¤Æ¤â¡¢ÍøÍѤǤ­¤ë¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÂÀ¤µ¤ËÀ©¸Â¤µ¤ì¤Þ¤¹¤·¡¢ NFS ¥µ¡¼¥Ð¤Ë;·×¤ÊÉé²Ù¤¬¤«¤«¤ê¤Þ¤¹¡£

¤³¤ì¤Ï 64MB¤Î vn-swap ¤òºî¤ëÎã¤Ç¤¹ (¤³¤³¤Ç¤Ï /usr/swap0 ¤È¤·¤Þ¤¹¤¬¡¢¤â¤Á¤í¤ó¹¥¤­¤Ê̾Á°¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹)¡£

¥«¡¼¥Í¥ë¤¬¼¡¤Î¹Ô¤ò´Þ¤à¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤«¤é¹½À®¤µ¤ì¤Æ¤¤¤ë¤«¤ò ³Îǧ¤·¤Þ¤¹¡£GENERIC ¥«¡¼¥Í¥ë¤Ë¤Ï¡¢¤³¤Î¹Ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

pseudo-device   vn 1   #Vnode driver (turns a file into a device)
  1. vn ¥Ç¥Ð¥¤¥¹¤òºî¤ê¤Þ¤¹

    # cd /dev
    # sh ./MAKEDEV vn0
    
  2. ¥¹¥ï¥Ã¥×¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹ (/usr/swap0)

    # dd if=/dev/zero of=/usr/swap0 bs=1024k count=64
    
  3. ¥¹¥ï¥Ã¥×¥Õ¥¡¥¤¥ë¤ËŬÀڤʥѡ¼¥ß¥Ã¥·¥ç¥ó¤òÀßÄꤷ¤Þ¤¹

    # chmod 0600 /usr/swap0
    
  4. /etc/rc.conf ¤Ç¥¹¥ï¥Ã¥×¥Õ¥¡¥¤¥ë¤òÍ­¸ú²½¤µ¤»¤Þ¤¹

    swapfile="/usr/swap0"   # Set to name of swapfile if aux swapfile desired.
    
  5. ¥Þ¥·¥ó¤òºÆµ¯Æ°¤·¤Þ¤¹

¥¹¥ï¥Ã¥×¥Õ¥¡¥¤¥ë¤ò¤¹¤°¤ËÍ­¸ú²½¤µ¤»¤¿¤¤¤Î¤Ê¤é°Ê²¼¤Î¤è¤¦¤Ë¥¿¥¤¥×¤·¤Þ¤¹¡£

# vnconfig -e /dev/vn0b /usr/swap0 swap

7.14. ¥×¥ê¥ó¥¿¤Î¥»¥Ã¥È¥¢¥Ã¥×¤ÇÌäÂ꤬¤¢¤ê¤Þ¤¹

¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¥×¥ê¥ó¥¿¤ÎÉôʬ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ õ¤·¤Æ¤¤¤ëÌäÂê¤Î¤Û¤È¤ó¤É¤¬½ñ¤«¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡Ö¥×¥ê¥ó¥¿¤ÎÍøÍѡפò¤´Í÷¤¯¤À¤µ¤¤¡£

¥×¥ê¥ó¥¿¤Ë¤è¤Ã¤Æ¤Ï¡¢°õºþ¤¹¤ë¤Î¤Ë¥Û¥¹¥È¦¤Ë¥É¥é¥¤¥Ð¤¬ ɬÍפǤ¹¡£¤³¤ì¤é “WinPrinters” ¤È¸Æ¤Ð¤ì¤ë¤â¤Î¤Ï¡¢ ÁǤΠFreeBSD ¤Ç¤Ï»È¤¨¤Þ¤»¤ó¡£DOS ¤ä Windows NT 4.0 ¤ÇÆ°ºî¤·¤Ê¤¤ ¤Ê¤é¡¢¤½¤Î¥×¥ê¥ó¥¿¤Ï¤ª¤½¤é¤¯ WinPrinter ¤Ç¤·¤ç¤¦¡£ ¤¿¤À¤·¡¢Í£°ì¤Î´õ˾¤¬»Ä¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ports/print/pnm2ppa ¤Î port ¤¬ Âбþ¤·¤Æ¤¤¤ë¤«¤É¤¦¤«³Îǧ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¥Ñ¥Ã¥±¡¼¥¸¤ÎÀâÌÀ¤Ë¤Ï¤³¤¦½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£

¤³¤Î¥½¥Õ¥È¥¦¥§¥¢¤Ï PPA (printer performance architecture) ¥×¥í¥È¥³¥ë¤Î½ÐÎϤò¹Ô¤¤¤Þ¤¹¡£¤³¤Î¥×¥í¥È¥³¥ë ¤Ï HP ¤Î "Windows ÀìÍÑ" ¥×¥ê¥ó¥¿¤Î°ìÉô¤Ë»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¤Ê¤«¤Ë¤Ï¡¢HP Deskjet 820C ¥·¥ê¡¼¥º¡¢HP DeskJet 720 ¥·¥ê¡¼¥º¡¢¤ª¤è¤Ó HP DeskJet 1000 ¥·¥ê¡¼¥º¤¬¤¢¤ê¤Þ¤¹¡£(ά)

WWW: http://pnm2ppa.sourceforge.net/

7.15. »ä¤Î¥·¥¹¥Æ¥à¤Î¥­¡¼¥Ü¡¼¥É¥Þ¥Ã¥Ô¥ó¥°¤Ï´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£

kbdcontrol ¥×¥í¥°¥é¥à¤Ï¡¢ ¥­¡¼¥Ü¡¼¥É¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£ /usr/share/syscons/keymaps ¤Î²¼¤Ë¤¿¤¯¤µ¤ó¤Î¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£ ¥·¥¹¥Æ¥à¤Ë´ØÏ¢¤Î¤¢¤ë¤â¤Î¤ò°ì¤ÄÁª¤ó¤Ç¡¢¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£

# kbdcontrol -l uk.iso

/usr/share/syscons/keymaps ¤È³ÈÄ¥»Ò .kbd ¤Ï¡¢¤É¤Á¤é¤â kbdcontrol(1) ¤Ë¤è¤Ã¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£

¤³¤ì¤Ï /etc/sysconfig (¤Þ¤¿¤Ï rc.conf(5)) Ãæ¤ÇÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ëÃæ¤Ë¤¢¤ë¤½¤ì¤¾¤ì¤Î¥³¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

FreeBSD 2.0.5R ¤ä¤½¤ì°Ê¹ß¤ÎÈǤǤϡ¢ ¥Æ¥­¥¹¥È¥Õ¥©¥ó¥È¤ä¥­¡¼¥Ü¡¼¥É¥Þ¥Ã¥Ô¥ó¥°¤Ë´Ø·¸¤Î¤¢¤ë¤â¤Î¤Ï¤¹¤Ù¤Æ¡¢ /usr/share/examples/syscons ¤ÎÃæ¤Ë¤ª¤µ¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£

¸½ºß°Ê²¼¤Î¥Þ¥Ã¥Ô¥ó¥°¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

  • Belgian ISO-8859-1

  • Brazilian 275 keyboard Codepage 850

  • Brazilian 275 keyboard ISO-8859-1

  • Danish Codepage 865

  • Danish ISO-8859-1

  • French ISO-8859-1

  • German Codepage 850

  • German ISO-8859-1

  • Italian ISO-8859-1

  • Japanese 106

  • Japanese 106x

  • Latin American

  • Norwegian ISO-8859-1

  • Polish ISO-8859-2 (programmer's)

  • Russian Codepage 866 (alternative)

  • Russian koi8-r (shift)

  • Russian koi8-r

  • Spanish ISO-8859-1

  • Swedish Codepage 850

  • Swedish ISO-8859-1

  • Swiss-German ISO-8859-1

  • United Kingdom Codepage 850

  • United Kingdom ISO-8859-1

  • United States of America ISO-8859-1

  • United States of America dvorak

  • United States of America dvorakx

7.16. µ¯Æ°»þ¤Ë¡¢“unknown: <PNP0303> can't assign resources” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬?

°Ê²¼¤Ï¡¢freebsd-current ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ø¤ÎÅê¹Æ¤«¤é¤Î È´¿è¤Ç¤¹¡£

 

“can't assign resources” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤Ï¡¢ ¤½¤Î¥Ç¥Ð¥¤¥¹¤¬¥ì¥¬¥·¡¼ ISA ¥Ç¥Ð¥¤¥¹¤Ç¡¢PnP ¤ò°Õ¼±¤·¤Æ¤¤¤Ê¤¤ ¥É¥é¥¤¥Ð¤¬¥«¡¼¥Í¥ë¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ ¤³¤ì¤Ë¤Ï¡¢¥­¡¼¥Ü¡¼¥É¥³¥ó¥È¥í¡¼¥é¡¢¥×¥í¥°¥é¥à²Äǽ¤Ê ³ä¤ê¹þ¤ßÀ©¸æ IC ¤ä¤½¤Î¾¤µ¤Þ¤¶¤Þ¤Êɸ½àŪ¤Ê¥Ç¥Ð¥¤¥¹¤¬ ¤¢¤ê¤Þ¤¹¡£¥ê¥½¡¼¥¹¤¬³ä¤êÅö¤Æ¤é¤ì¤Ê¤¤¤Î¤Ï¡¢´û¤Ë¤½¤Î¥¢¥É¥ì¥¹¤ò »È¤Ã¤Æ¤¤¤ë¥É¥é¥¤¥Ð¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£

 
--Garrett Wollman , 2001 ǯ 4 ·î 24 Æü  

7.17. ¥æ¡¼¥¶¥Ç¥£¥¹¥¯¥¯¥©¡¼¥¿¤¬Àµ¾ï¤ËÆ°ºî¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ç¤¹¡£

  • /” ¤Ë¤Ï¥Ç¥£¥¹¥¯¥¯¥©¡¼¥¿¤òÀßÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£

  • ¥¯¥©¡¼¥¿¥Õ¥¡¥¤¥ë¤¬ÃÖ¤«¤ì¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Ë ¥¯¥©¡¼¥¿¥Õ¥¡¥¤¥ë¤òÃÖ¤¯¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

    Filesystem Quota file
    /usr /usr/admin/quotas
    /home /home/admin/quotas

7.18. ¤ï¤¿¤·¤Î ccd ¤Ï¡¢ ²¿¤¬Å¬¹ç¤·¤Æ¤¤¤Ê¤¤ (Inappropriate) ¤Î¤Ç¤·¤ç¤¦?

¼¡¤Î¤è¤¦¤Ê¾É¾õ¤¬¸½¤ì¤Þ¤¹¡£

# ccdconfig -C
ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Inappropriate file type or format

Ä̾盧¤Î¸½¾Ý¤Ï¥¿¥¤¥×¤ò¡Ö̤»ÈÍÑ (unused)¡×¤Î¤Þ¤ÞÊü¤Ã¤Æ¤ª¤«¤ì¤¿ c ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¤Ä¤Ê¤²¤è¤¦¤È¤·¤¿¾ì¹ç¤Ë¸½¤ì¤Þ¤¹¡£ccd ¥É¥é¥¤¥Ð¤Ï FS_BSDFFS ¥¿¥¤¥×¤ò¥Ù¡¼¥¹¤È¤¹¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÍ׵ᤷ¤Þ¤¹¡£ ¤Ä¤Ê¤²¤è¤¦¤È¤·¤Æ¤¤¤ë¥Ç¥£¥¹¥¯¤Î¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤òÊÔ½¸¤·¤Æ¡¢ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥¿¥¤¥×¤ò 4.2BSD ¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£

7.19. ¤É¤¦¤·¤Æ¤ï¤¿¤·¤Î ccd ¤Î¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦?

¼¡¤Î¤è¤¦¤Ê¾É¾õ¤¬¸½¤ì¤Þ¤¹¡£

# disklabel ccd0
(it prints something sensible here, so let's try to edit it)
# disklabel -e ccd0
(edit, save, quit)
disklabel: ioctl DIOCWDINFO: No disk label on disk;
use "disklabel -r" to install initial label

¤³¤ì¤Ï ccd ¤«¤éÊÖ¤µ¤ì¤ë¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤¬¡¢ ¼Â¤Ï¥Ç¥£¥¹¥¯¾å¤Ë¤Ï¤Ê¤¤¤Þ¤Ã¤¿¤¯¤Îµ¶¤Î¾ðÊó¤À¤«¤é¤Ç¤¹¡£ ¤³¤ì¤òÌÀ¼¨Åª¤Ë½ñ¤­Ä¾¤¹¤³¤È¤ÇÌäÂê¤ò²ò¾Ã¤Ç¤­¤Þ¤¹¡¢ ¤½¤ì¤Ë¤Ï¡¢¤Ä¤®¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# disklabel ccd0 > /tmp/disklabel.tmp
# disklabel -Rr ccd0 /tmp/disklabel.tmp
# disklabel -e ccd0
(this will work now)

7.20. FreeBSD ¤Ï System V ¤Î IPC ¥×¥ê¥ß¥Æ¥£¥Ö¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¤«?

¤Ï¤¤¡£ FreeBSD ¤Ï System-V ¥¹¥¿¥¤¥ë¤Î IPC ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ ¶¦Í­¥á¥â¥ê¡¢¥á¥Ã¥»¡¼¥¸¡¢¥»¥Þ¥Õ¥©¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ °Ê²¼¤Î¹Ô¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤Ë²Ã¤¨¤ë¤È¡¢ ¥µ¥Ý¡¼¥È¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£

options    SYSVSHM          # enable shared memory
options    SYSVSEM          # enable for semaphores
options    SYSVMSG          # enable for messaging

注意: FreeBSD 3.2 ¤È¤½¤ì°Ê¹ß¤Ç¤Ï¡¢ ¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤é¤«¤¸¤á GENERIC ¥«¡¼¥Í¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ë¤Ï¤¹¤Ç¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£

7.21. UUCP ¤Ç¥á¡¼¥ë¤òÇÛÁ÷¤¹¤ë¤Ë¤Ï sendmail ¤ò¤É¤¦»È¤¨¤Ð¤è¤¤¤Î¤Ç¤¹¤«?

FreeBSD ¤ËÉÕ°¤·¤Æ¤¤¤ë sendmail ¤Ï¡¢ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËľÀܤĤʤ¬¤Ã¤Æ¤¤¤ë¥µ¥¤¥È¤Ë¤¢¤ï¤»¤ÆÀßÄꤷ¤Æ¤¢¤ê¤Þ¤¹¡£ UUCP ·Ðͳ¤Ç mail ¤ò¸ò´¹¤·¤¿¤¤¾ì¹ç¤Ë¤Ï sendmail ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤ò²þ¤á¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

/etc/sendmail.cf ¤ò¼«Ê¬¤Î¼ê¤Ç²þ¤¤¹¤ë¤Î¤Ï½ã¿è¼çµÁ¼Ô¤Î¤ä¤ë¤è¤¦¤Ê»ö¤Ç¤¹¡£ sendmail ¤Î version 8 ¤Ï m4(1) ¤Î¤è¤¦¤Ê¥×¥ê¥×¥í¥»¥Ã¥µ¤òÄ̤·¤ÆÀßÄê¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¿·¤·¤¤¥¢¥×¥í¡¼¥Á¤ò¼è¤Ã¤Æ¤ª¤ê¡¢ ¤è¤êÃê¾Ý²½¤µ¤ì¤¿¥ì¥Ù¥ë¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤Þ¤¹¡£ /usr/src/usr.sbin/sendmail/cf ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Ë¤¢¤ëÀßÄê¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

¤â¤·¤¹¤Ù¤Æ¤Î¥½¡¼¥¹¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï sendmail ¤ÎÀßÄê¥Ä¡¼¥ë¤Ï¡¢Ê̤Πtar ¥Õ¥¡¥¤¥ë¤Ë¤Þ¤È¤á¤Æ¤¢¤ê¤Þ¤¹¡£CD-ROM ¤¬ mount ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

# cd /cdrom/src
# cat scontrib.?? | tar xzf - -C /usr/src contrib/sendmail

¤³¤ì¤Ï¤¿¤Ã¤¿¿ô 100Kbyte ¤Ç¤¹¤«¤é¿´Çۤʤ¤¤Ç¤·¤ç¤¦¡£ cf ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë README ¤Ë¡¢m4 ¤Ç¤ÎÀßÄê¤Î´ðËÜŪ¤ÊÀâÌÀ¤¬¤¢¤ê¤Þ¤¹¡£

UUCP ¤Ç¤ÎÇÛÁ÷¤Î¤¿¤á¤Ë¤Ï¡¢mailertable ¤ò»ÈÍѤ¹¤ì¤Ð ¤è¤¤¤Ç¤·¤ç¤¦¡£¤³¤ì¤Ë¤è¤Ã¤Æ¡¢sendmail ¤¬ÇÛÁ÷Êý¼°¤ò·èÄꤹ¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò ºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤Þ¤º¤Ï¤¸¤á¤Ë¡¢ .mc ¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ /usr/src/usr.sbin/sendmail/cf/cf ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤¬¡¢ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¾ì½ê¤Ç¤¹¡£´û¤Ë¤¤¤¯¤Ä¤«Î㤬¤¢¤ë¤È»×¤¤¤Þ¤¹¡£ ¤³¤ì¤«¤éºîÀ®¤¹¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò foo.mc ¤È¤¹¤ë¤È¡¢ sendmail.cf ¤òµá¤á¤Æ¤¤¤ë¤è¤¦¤Ê·Á¼°¤ËÊÑ´¹¤¹¤ë¤Ë¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

# cd /usr/src/usr.sbin/sendmail/cf/cf
# make foo.cf
# cp foo.cf /etc/sendmail.cf

ɸ½àŪ¤Ê .mc ¥Õ¥¡¥¤¥ë¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

include(`../m4/cf.m4')
VERSIONID(`Your version number')
OSTYPE(bsd4.4)

FEATURE(nodns)
FEATURE(nocanonify)
FEATURE(mailertable)

define(`UUCP_RELAY', your.uucp.relay)
define(`UUCP_MAX_SIZE', 200000)

MAILER(local)
MAILER(smtp)
MAILER(uucp)

Cw    your.alias.host.name
Cw    youruucpnodename.UUCP

nodns ¤È nocanonify ¤È¤¤¤¦»ØÄê¤ò¤¹¤ë¤³¤È¤Ç¡¢ mail ¤ÎÇÛÁ÷¤Ë DNS ¤ò»ÈÍѤ·¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ UUCP_RELAY ¤È¤¤¤¦ ¹Ô¤Ë´Ø¤·¤Æ¤Ï¡¢ ¤¢¤ëÍýͳ¤«¤éɬÍפǤ¹¤¬¤½¤ì¤Ïʹ¤«¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ .UUCP ¤Ç½ª¤ï¤ë²¾Áۥɥᥤ¥ó¤ò½èÍý¤¹¤ë¤³¤È¤Î¤Ç¤­¤ë¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Ç¤Î ¥Û¥¹¥È̾¤ò¤³¤³¤Ë½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£Ä̾ï¤Ï¡¢ISP ¤Î mail ¥ê¥ì¡¼¥Û¥¹¥È¤ò ½ñ¤¯¤³¤È¤Ë¤Ê¤ë¤È»×¤¤¤Þ¤¹¡£

¤³¤ì¤¬½ªÎ»¤·¤¿¤é¡¢¼¡¤Ë /etc/mailertable ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬É¬ÍפǤ¹¡£É¸½àŪ¤ÊÎã¤Ï¼¡¤Î¤È¤ª¤ê¤Ç¤¹¡£

#
# makemap hash /etc/mailertable.db < /etc/mailertable
#
horus.interface-business.de   uucp-dom:horus
.interface-business.de        uucp-dom:if-bus
interface-business.de         uucp-dom:if-bus
.heep.sax.de                  smtp8:%1
horus.UUCP                    uucp-dom:horus
if-bus.UUCP                   uucp-dom:if-bus
.                             uucp-dom:

¸«¤ì¤Ðʬ¤«¤ë¤è¤¦¤Ë¡¢¤³¤ì¤Ï¼Âºß¤¹¤ëÀßÄê¤Î¥Õ¥¡¥¤¥ë¤Ç¤¹¡£¤Ï¤¸¤á¤Î 3 ¹Ô¤Ï¥É¥á¥¤¥ó̾¤Ç»ØÄꤵ¤ì¤¿¥á¡¼¥ë¤¬ default ¤Î·ÐÏ©¤ÇÇÛÁ÷¤µ¤ì¤º¤Ë¡¢ ¡Ö¶áÆ»¡×¤¹¤ë¤¿¤á¤Ë UUCP ¤ÇÎÙ¤ê¤Î¥µ¥¤¥È¤ËÁ÷¤ë¤¿¤á¤ÎÆÃÊ̤ʾõ¶·¤ò ½èÍý¤¹¤ë¤â¤Î¤Ç¤¹¡£ ¼¡¤Î¹Ô¤Ï Ethernet ¤Ç¤Ä¤Ê¤¬¤Ã¤Æ¤¤¤ë¥í¡¼¥«¥ë¤Î¥É¥á¥¤¥ó¤ËÂФ·¤Æ¤Ï SMTP ¤ÇÁ÷¤ë¤¿¤á¤ÎÀßÄê¤Ç¤¹¡£ ºÇ¸å¤Ë¡¢UUCP ¤Ç¤ÎÎÙ¤ê¤Î¥µ¥¤¥È¤¬ .UUCP ¤Ç½ª¤ï¤ë²¾Áۥɥᥤ¥ó¤Î½ñ¼°¤Ç »ØÄꤵ¤ì¤Æ¤ª¤ê¡¢default ¤Î rule ¤ò uucp-neighbour! recipient ¤Ç¾å½ñ¤­¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£°ìÈֺǸå¤Î¹Ô¤Ï¤¤¤Ä¤â¥É¥Ã¥È¤ò°ì¤Ä½ñ¤­¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¤³¤³¤Þ¤Ç¤Î¹Ô¤Ç¥Þ¥Ã¥Á¤·¤Ê¤«¤Ã¤¿¤¹¤Ù¤Æ¤Î¥Û¥¹¥È¤Ë¥Þ¥Ã¥Á¤·¡¢ ¤³¤Î¥µ¥¤¥È¤«¤éÀ¤³¦¤Ë¸þ¤±¤Æ½Ð¤Æ¤¤¤¯¤¿¤á¤Î mail gateway ¤Ë UUCP ¤ÇÇÛÁ÷¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ uucp-dom: ¤Ë³¤±¤Æ½ñ¤«¤ì¤Æ¤¤¤ë¥Î¡¼¥É̾¤Ï¡¢ uuname ¥³¥Þ¥ó¥É¤Ç»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ UUCP ¤ÇľÀÜÇÛÁ÷¤µ¤ì¤ëÀµ¤·¤¤¥Î¡¼¥É̾¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

ºÇ¸å¤Ë¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï»ÈÍѤ¹¤ëÁ°¤Ë DBM ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Õ¥¡¥¤¥ë¤Ë ÊÑ´¹¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤ò¹Ô¤Ê¤¦¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ï mailertable ¤ÎºÇ½é¤Î¥³¥á¥ó¥È¤Ë½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£mailertable ¤òÊѹ¹¤·¤¿»þ¤Ë¤Ï¡¢ ɬ¤º¤³¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

ºÇ¸å¤Î¥Ò¥ó¥È¤Ç¤¹: ¤â¤·ÆÃÄê¤Î¥á¡¼¥ëÇÛÁ÷¤¬¤¦¤Þ¤¯ºîÆ°¤¹¤ë¤«¤É¤¦¤« ³Î¤«¤á¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢sendmail ¤Î-bt ¥ª¥×¥·¥ç¥ó¤ò »ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ sendmail ¤Ï ¥¢¥É¥ì¥¹¥Æ¥¹¥È¥â¡¼¥É¤Çµ¯Æ°¤·¤Þ¤¹¡£ 0 ¤Î¸å¤ËÇÛÁ÷¤·¤¿¤¤¥¢¥É¥ì¥¹¤ò½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£ºÇ¸å¤Î¹Ô¤Ë¡¢¼ÂºÝ¤Ë»ÈÍѤµ¤ì¤ë mail agent¡¢¤³¤Î mail agent ¤ÇÁ÷¤é¤ì¤ëÁ÷¿®Àè¤Î¥Û¥¹¥È¡¢¤½¤·¤Æ (¿ʬÊÑ´¹¤µ¤ì¤Æ¤¤¤ë) ¥¢¥É¥ì¥¹¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤³¤Î¥â¡¼¥É¤òÈ´¤±¤ë¤Ë¤Ï Control-D ¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£

% sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 0 foo@interface-business.de
rewrite: ruleset  0   input: foo @ interface-business . de
...
rewrite: ruleset  0 returns: $# uucp-dom $@ if-bus $: foo \
< @ interface-business . de >
> ^D

7.22. ¥À¥¤¥¢¥ë¥¢¥Ã¥×¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤¹¤ë´Ä¶­¤Ç¥á¡¼¥ë¤ò¥»¥Ã¥È¥¢¥Ã¥×¤¹¤ë¤Ë¤Ï¤É¤¦¤ä¤ë¤Î?

ÀÅŪ¤Ë IP ¥¢¥É¥ì¥¹¤¬³ä¤êÅö¤Æ¤é¤ì¤ë¾ì¹ç¤Ï¡¢ ¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤òÊѹ¹¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ³ä¤êÅö¤Æ¤é¤ì¤¿Ì¾Á°¤ò¥Û¥¹¥È¥Í¡¼¥à¤È ¤¹¤ë¤À¤±¤Ç¡¢sendmail ¤¬¸å¤Î¤³¤È¤ò°ú¤­¼õ¤±¤Æ¤¯¤ì¤Þ¤¹¡£

¥À¥¤¥¢¥ë¥¢¥Ã¥× ppp ¤ò ¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈÀܳ¤Ë»ÈÍѤ·¡¢Æ°Åª¤Ë IP ¥¢¥É¥ì¥¹¤¬³ä¤êÅö¤Æ¤é¤ì¤ë¾ì¹ç¤Ï¡¢ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ó¥¹¥×¥í¥Ð¥¤¥À (ISP) ¤Î¥á¡¼¥ë¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¥Ü¥Ã¥¯¥¹¤¬¤¢¤ë¤Ï¤º¤Ç¤¹¡£ ISP ¤Î¥É¥á¥¤¥ó¤¬ myISP.com ¤Ç¡¢¤¢¤Ê¤¿¤Î¥æ¡¼¥¶Ì¾¤¬ user ¤À¤È²¾Äꤷ¤Þ¤¹¡£ ¤Þ¤¿¡¢¤¢¤Ê¤¿¤¬¼«Ê¬¤Î¥Þ¥·¥ó¤ò bsd.home ¤È¸Æ¤ó¤Ç¤ª¤ê¡¢ISP ¤¬ relay.myISP.com ¤ò¥á¡¼¥ë¥ê¥ì¡¼¤È¤·¤Æ»ÈÍѤǤ­¤ë¤È¸À¤Ã¤Æ¤¤¤ë¤È¤·¤Þ¤·¤ç¤¦¡£

¥á¡¼¥ë¥Ü¥Ã¥¯¥¹¤«¤é¥á¡¼¥ë¤ò¼è¤Ã¤Æ¤¯¤ë¤¿¤á¤Ë¤Ï¡¢ ²ó¼ý (retrieval) ¥¨¡¼¥¸¥§¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ Fetchmail ¤Ï¿¼ï¿Íͤʥץí¥È¥³¥ë¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Î¤Ç¤ª´«¤á¤Ç¤¹¡£ ISP ¤¬»ÈÍѤ·¤Æ¤¤¤ë¤Î¤Ï¡¢ÂçÄñ POP3 ¥×¥í¥È¥³¥ë¤Ç¤¹¡£ ¥æ¡¼¥¶ ppp ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢ /etc/ppp/ppp.linkup ¤Ë°Ê²¼¤Î¤è¤¦¤Ëµ­½Ò¤¹¤ë¤È¡¢ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ÈÀܳ¤¬´°Î»¤·¤¿»þÅÀ¤Ç¼«Æ°Åª¤Ë¥á¡¼¥ë¤ò¼èÆÀ¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

MYADDR:
        !bg su user -c fetchmail

¥í¡¼¥«¥ë¤Ç¤Ê¤¤¥¢¥«¥¦¥ó¥È¤Ë¥á¡¼¥ë¤òÇÛÁ÷¤¹¤ë¤Î¤Ë sendmail ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç (¸å½Ò)¡¢ ¾å¤Ë¼¨¤·¤¿¥¨¥ó¥È¥ê¤Î¸å¤Ë

        !bg su user -c "sendmail -q"

¤òµ­½Ò¤·¤Þ¤¹¡£¤³¤ì¤Ï¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¤¬³ÎΩ¤·¤¿¤é¤¹¤°¤Ë sendmail ¤Ëί¤Ã¤Æ¤¤¤ë mailqueue ¤ò¶¯À©Åª¤Ë½èÍý¤µ¤»¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

¤³¤ÎÎã¤Ç¤Ï¡¢user ¤¬ bsd.home ¤Ë¥¢¥«¥¦¥ó¥È¤ò»ý¤Á¡¢ bsd.home ¾å¤Î user ¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ë¡¢°Ê²¼¤Î¤è¤¦¤Ê .fetchmailrc ¥Õ¥¡¥¤¥ë¤¬¤Ä¤¯¤é¤ì¤Æ¤¤¤ë¤³¤È¤òÁÛÄꤷ¤Æ¤¤¤Þ¤¹¡£

poll myISP.com protocol pop3 fetchall pass MySecret;

¸À¤¦¤Þ¤Ç¤â¤Ê¤¯¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï user °Ê³°¤Î¥æ¡¼¥¶¤¬Æɤळ¤È¤¬½ÐÍè¤Ê¤¤¤è¤¦¤Ë¤·¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ÆâÍƤ˥ѥ¹¥ï¡¼¥É MySecret ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£

Àµ¤·¤¤ from: ¥Ø¥Ã¥À¤ò¤Ä¤±¤Æ¥á¡¼¥ë¤òÁ÷¤ë¤¿¤á¤Ë¤Ï¡¢ sendmail ¤Ë user@bsd.home ¤Ç¤Ï¤Ê¤¯ user@myISP.com ¤ò»ÈÍѤ¹¤ë¤è¤¦¶µ¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥á¡¼¥ë¤ò¤è¤êÁ᤯žÁ÷¤¹¤ë¤¿¤á¤Ë¡¢¤¹¤Ù¤Æ¤Î¥á¡¼¥ë¤ò relay.myISP.com ¤ØÁ÷¤ë¤è¤¦¤Ë sendmail ¤Ë »Ø¼¨¤·¤Æ¤ª¤¯¤Î¤âÎɤ¤¤Ç¤·¤ç¤¦¡£

¾å¤ÎÍ×·ï¤òËþ¤¿¤¹¤Ë¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ê .mc ¥Õ¥¡¥¤¥ë¤¬Å¬¤·¤Æ¤¤¤Þ¤¹¡£

VERSIONID(`bsd.home.mc version 1.0')
OSTYPE(bsd4.4)dnl
FEATURE(nouucp)dnl
MAILER(local)dnl
MAILER(smtp)dnl
Cwlocalhost
Cwbsd.home
MASQUERADE_AS(`myISP.com')dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(nocanonify)dnl
FEATURE(nodns)dnl
define(`SMART_HOST', `relay.myISP.com')
Dmbsd.home
define(`confDOMAIN_NAME',`bsd.home')dnl
define(`confDELIVERY_MODE', `deferred')dnl

.mc ¥Õ¥¡¥¤¥ë¤«¤é sendmail.cf ¤Ø¤ÎÊÑ´¹ÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢ Á°¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤. sendmail.cf ¤ò¹¹¿·¤·¤¿¸å¤Ë sendmail ¤ò¥ê¥¹¥¿¡¼¥È¤¹¤ë¤Î¤â¤ªËº¤ì¤Ê¤¯¡£

7.23. ¤³¤Î UID ¤¬ 0 ¤Î toor ¤È¤¤¤¦ ¥¢¥«¥¦¥ó¥È¤È¤Ï²¿¤Ç¤¹¤«? ´í¸±¤Ë¤µ¤é¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«?

¿´ÇÛ̵ÍѤǤ¹¡£toor ¤Ï “ÂåÂؤΔ ¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¥¢¥«¥¦¥ó¥È¤Ç¤¹ (toor ¤Ï root ¤òµÕ¤ËÄ֤俤â¤Î¤Ç¤¹)¡£ °ÊÁ°¤Ï¡¢ bash(1) ¥·¥§¥ë¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿»þ¤Ë ºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ïɸ½à¤ÇºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥æ¡¼¥¶¡¼¤¬ºîÀ®¤µ¤ì¤ë¤Î¤Ï¡¢ ¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¤¬Èóɸ½à¤Î¥·¥§¥ë¤ò»È¤¦¾ì¹ç¤òÁÛÄꤷ¤Æ¤ª¤ê¡¢ root ¤Îɸ½à¤Î¥·¥§¥ë¤òÊѹ¹¤·¤Ê¤¯¤Æ¤â¤è¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ´ðËÜÇÛÉۤ˴ޤޤì¤Æ¤¤¤Ê¤¤¥·¥§¥ë (¤¿¤È¤¨¤Ð ports ¤ä packages ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤ë¥·¥§¥ë) ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÊ̤Υե¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë ²ÄǽÀ­¤Î¤¢¤ë /usr/local/bin ¤Ë ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤ë¤³¤È¤¬Â¿¤¤¤Î¤Ç¡¢¤³¤ì¤Ï½ÅÍפǤ¹¡£ root ¤Î¥·¥§¥ë¤¬ /usr/local/bin ¤Ë¤¢¤ê¡¢ /usr (¤Þ¤¿¤Ï¡¢/usr/local/bin ¤¬¤¢¤ë¤¤¤º¤ì¤«¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à) ¤¬²¿¤é¤«¤ÎÍýͳ¤Ç¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¤È¤¹¤ë¤È¡¢ root ¤ÏÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤Ë ¥í¥°¥¤¥ó¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó (¥·¥ó¥°¥ë¥æ¡¼¥¶¡¼¥â¡¼¥É¤ÇºÆµ¯Æ°¤¹¤ì¤Ð¡¢ ¥·¥§¥ë¤Î¥Ñ¥¹¤ÎÆþÎϤòÂ¥¤µ¤ì¤ë¤Î¤Ç¤¹¤¬)¡£

toor ¤òÆü¡¹¤Î root ¤Î»Å»ö¤ò Èóɸ½à¤Î¥·¥§¥ë¤Ç¹Ô¤¦¤¿¤á¤Ë»È¤¤¡¢root ¤Ï ¥·¥ó¥°¥ë¥æ¡¼¥¶¡¼¥â¡¼¥É¤ä¶ÛµÞ»þ¤Î¤¿¤á¤Ë¡¢É¸½à¤Î¥·¥§¥ë¤Î¤Þ¤Þ¤Ë ¤·¤Æ¤¤¤ë¿Í¤¬¤¤¤Þ¤¹¡£²¿¤â¤·¤Ê¤±¤ì¤Ð¡¢¥Ñ¥¹¥ï¡¼¥É¤ò̵¸ú¤Ë¤·¤Æ¤¢¤ë¤Î¤Ç toor ¤Ç¤Ï¥í¥°¥¤¥ó¤Ç¤­¤Þ¤»¤ó¡£ »È¤¤¤¿¤¤¤Ê¤é¡¢root ¤Ç¥í¥°¥¤¥ó¤·¤Æ toor ¤Î ¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤷ¤Þ¤·¤ç¤¦¡£

7.24. ¤·¤Þ¤Ã¤¿! root ¤Î¥Ñ¥¹¥ï¡¼¥É¤ò˺¤ì¤Æ¤·¤Þ¤Ã¤¿!

¹²¤Æ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤! ñ¤Ë¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¡¢ ¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤Ë°Ü¤ë¤¿¤á¤Ë Boot: ¤Èɽ¼¨¤µ¤ì¤ë¥×¥í¥ó¥×¥È¤Ç boot -s ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤ (FreeBSD ¤Î 3.2 ¤è¤êÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï -s¤È¤Ê¤ê¤Þ¤¹)¡£ ¤É¤Î¥·¥§¥ë¤ò»È¤¦¤Î¤«¤È¤¤¤¦¼ÁÌä¤Ë¤Ï¡¢ENTER ¥­¡¼¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£# ¤Ë°Ü¤ë¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£ mount -u / ¤ÈÆþÎϤ·¤Æ ¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÆɤ߽ñ¤­¤òºÆ¥Þ¥¦¥ó¥È¤·¡¢ mount -a ¤ÈÆþÎϤ·¤Æ¡¢ ¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤·Ä¾¤·¤¿¸å¡¢ passwd root ¤ÈÆþÎϤ·¤Æ root ¤Î¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤷľ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤Î¸å¡¢exit ¤ÈÆþÎϤ¹¤ì¤Ð¡¢µ¯Æ°¤¬Â³¤±¤é¤ì¤Þ¤¹¡£

7.25. Control-Alt-Delete ¤Ç¥·¥¹¥Æ¥à¤¬ºÆµ¯Æ°¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?

FreeBSD 2.2.7-RELEASE °Ê¹ß¤Ç syscons (¥Ç¥Õ¥©¥ë¥È¤Î¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð) ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¼¡¤Î¹Ô¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ËÄɲä·¤Æ ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£

options SC_DISABLE_REBOOT

FreeBSD 2.2.5-RELEASE °Ê¹ß¤Ç PCVT ¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð¤ò»ÈÍѤ·¤Æ¤¤¤ë ¾ì¹ç¤Ë¤Ï¡¢Æ±Íͤ˼¡¤Î¹Ô¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ËÄɲä·¤Æ ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£

options PCVT_CTRL_ALT_DEL

¾å¤Ë¤¢¤²¤¿¤â¤Î¤è¤ê¤â¸Å¤¤ FreeBSD ¤Î¾ì¹ç¡¢ ¸½ºß¥³¥ó¥½¡¼¥ë¤¬»ÈÍѤ·¤Æ¤¤¤ë¥­¡¼¥Þ¥Ã¥×¤òÊÔ½¸¤·¡¢ ¥­¡¼¥ï¡¼¥É boot ¤ò nop ¤Ë½ñ¤­´¹¤¨¤Æ¤¯¤À¤µ¤¤¡£ /usr/share/syscons/keymaps/us.iso.kbd ¤Ë¤¢¤ê¤Þ¤¹¡£ ¤½¤ÎÊѹ¹¤òÈ¿±Ç¤µ¤»¤è¤¦¤È¤·¤Æ¡¢ ¤³¤Î¥­¡¼¥Þ¥Ã¥×¤Î¥í¡¼¥É¤òÌÀ¼¨Åª¤Ë¹Ô¤Ê¤¦¤¿¤á¤Ë¡¢ /etc/rc.conf ¤ò¼Â¹Ô¤¹¤Ù¤­¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤â¤Á¤í¤ó¾¤Î¹ñ¤Î¥­¡¼¥Þ¥Ã¥×¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ Âå¤ï¤ê¤Ë¤½¤Î¥­¡¼¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤Æ¤¯¤À¤µ¤¤¡£

7.26. DOS ¤Î¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò UNIX ¤Î¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ËÀ°·Á¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?

ñ¤Ë¼¡¤Î perl ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

% perl -i.bak -npe 's/\r\n/\n/g' file ...

file ¤ÎÉôʬ¤Ë¤Ï½èÍý¤¹¤ë¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ À°·Á¸å¤Î¥Õ¥¡¥¤¥ë¤Ï¸µ¤Î¥Õ¥¡¥¤¥ë̾¤ÇºîÀ®¤µ¤ì¡¢ À°·ÁÁ°¤Î¥Õ¥¡¥¤¥ë¤Ï¥Ð¥Ã¥¯¥¢¥Ã¥×¤È¤·¤Æ¸µ¤Î ¥Õ¥¡¥¤¥ë̾¤ÎËöÈø¤Ë³ÈÄ¥»Ò .bak ¤Î¤Ä¤±¤é¤ì¤¿Ì¾Á°¤ÇºîÀ®¤µ¤ì¤Þ¤¹¡£

¤¢¤ë¤¤¤Ï tr(1) ¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

% tr -d '\r' < dos-text-file > unix-file

dos-text-file ¤Ï DOS ·Á¼°¤Î¥Æ¥¹¥È¥Õ¥¡¥¤¥ë¡¢ unix-file ¤Ë¤ÏÊÑ´¹¤µ¤ì¤¿½ÐÎϤ¬³ÊǼ¤µ¤ì¤Þ¤¹¡£ perl ¤ò»È¤¦¤è¤ê¤Û¤ó¤Î¤Á¤ç¤Ã¤Ô¤ê®¤¯¤Ê¤ê¤Þ¤¹¡£

7.27. ̾Á°¤Ç»ØÄꤷ¤Æ¥×¥í¥»¥¹¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤?

killall(1) ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

7.28. su ¤¬ not in root's ACL ¤È¸À¤Ã¤Æ»ä¤òǺ¤Þ¤»¤ë¤Î¤Ï¤Ê¤¼?

Kerberos ¤Îǧ¾Ú¥·¥¹¥Æ¥à¤«¤é¤¯¤ë¥¨¥é¡¼¤Ç¤¹¡£ ¤³¤ÎÌäÂê¤ÏÃ×̿Ū¤Ê¤â¤Î¤Ç¤Ï¤Ê¤¯¡¢ ¤¦¤Ã¤È¤ª¤·¤¤¤È¤¤¤Ã¤¿¤â¤Î¤Ç¤¹¡£ su ¤Ë -K ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤Æµ¯Æ°¤¹¤ë¤«¡¢ ¼¡¤Î¼ÁÌä¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ëÊýË¡¤Ç Kerberos ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£

7.29. Kerberos ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î?

¥·¥¹¥Æ¥à¤«¤é Kerberos ¤òºï½ü¤¹¤ë¤Ë¤Ï¡¢ ¤¢¤Ê¤¿¤ÎÆ°¤«¤·¤Æ¤¤¤ë¥ê¥ê¡¼¥¹¤Î bin ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤· CDROM ¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ê¤é¡¢ ¤½¤Î CDROM ¤ò¥Þ¥¦¥ó¥È (¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ï /cdrom ¤È²¾Äê) ¤·¤Æ¡¢ ¼¡¤Î¤è¤¦¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

# cd /cdrom/bin
# ./install.sh

7.30. µ¿»÷¥¿¡¼¥ß¥Ê¥ë¤òÄɲ乤ë¤Ë¤Ï?

telnet¡¢ssh¡¢X¡¢screen ¤ò¤¿¤¯¤µ¤óÍøÍѤµ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ µ¿»÷¥¿¡¼¥ß¥Ê¥ë¤¬Â­¤ê¤Ê¤¯¤Ê¤Ã¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤òÁý¤ä¤¹¤Ë¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

  1. ¼¡¤Î¹Ô¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ËÄɲä·¤Æ

    pseudo-device pty 256
    
    ¿·¤¿¤Ë¥«¡¼¥Í¥ë¤òºî¤ê¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

  2. ¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ

    # cd /dev
    # ./MAKEDEV pty{1,2,3,4,5,6,7}
    
    ¿·¤¿¤Ê¥¿¡¼¥ß¥Ê¥ëÍѤΠ256 ¸Ä¤Î¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤òºî¤ê¤Þ¤¹¡£

  3. /etc/ttys ¤òÊÔ½¸¤· 256 ¸Ä¤Î¥¿¡¼¥ß¥Ê¥ë¤´¤È¤ÎÄêµÁ¤òÄɲä·¤Þ¤¹¡£ ´û¸¤Î¥¨¥ó¥È¥ê¡¼¤Î·Á¼°¤Ë¤¢¤ï¤»¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£ ¤¿¤È¤¨¤Ð¤³¤ó¤Ê´¶¤¸¤Ç¤¹¡£

    ttyqc none network
    

    Àµµ¬É½¸½¤ò»È¤Ã¤¿»ØÄê¤Ï tty[pqrsPQRS][0-9a-v] ¤È¤Ê¤ê¤Þ¤¹¡£

  4. ¿·¤·¤¤¥«¡¼¥Í¥ë¤Ç¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤¹¤ë¤È´°Î»¤Ç¤¹¡£

7.31. snd0 ¥Ç¥Ð¥¤¥¹¤òºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó!

snd ¤È¤¤¤¦¥Ç¥Ð¥¤¥¹¤Ï¸ºß¤·¤Þ¤»¤ó¡£ ¤³¤Î̾Á°¤Ï¡¢FreeBSD ¥µ¥¦¥ó¥É¥É¥é¥¤¥Ð¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤ë¤µ¤Þ¤¶¤Þ¤Ê¥Ç¥Ð¥¤¥¹¡¢ mixer ¤ä sequencer¡¢ dsp ¤Ê¤É¤òÁí¾Î¤·¤¿¤â¤Î¤Ç¤¹¡£

¤³¤ì¤é¤Î¥Ç¥Ð¥¤¥¹¤òºîÀ®¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

# cd /dev
# sh MAKEDEV snd0

7.32. ºÆµ¯Æ°¤»¤º¤Ë¤â¤¦°ìÅÙ /etc/rc.conf ¤òÆɤ߹þ¤ó¤Ç /etc/rc ¤ò³«»Ï¤µ¤»¤ë¤Ë¤Ï?

¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤Ë°Ü¹Ô¤·¤Æ¡¢ ¥Þ¥ë¥Á¥æ¡¼¥¶¥â¡¼¥É¤ËÌá¤Ã¤Æ¤¯¤À¤µ¤¤¡£

¥³¥ó¥½¡¼¥ë¤Ç¼¡¤Î¤è¤¦¤Ë¼Â¹Ô¤·¤Þ¤¹¡£

# shutdown now(Ãí: -r ¤ä -h ¤ÏÉÕ¤±¤Þ¤»¤ó)
# return
# exit


7.33. º½¾ì (sandbox) ¤È¤Ï²¿¤Ç¤¹¤«?

“º½¾ì (Sandbox)” ¤È¤Ï¥»¥­¥å¥ê¥Æ¥£ÍѸì¤Î°ì¤Ä¤Ç¡¢ ¼¡¤ÎÆó¤Ä¤Î°ÕÌ£¤¬¤¢¤ê¤Þ¤¹¡£

  • °ì¤ÄÌܤϡ¢¡Ö²¾ÁÛŪ¤Ê¡ØËÉÊɡ٤ǰϤޤì¤Æ¤¤¤ë¥×¥í¥»¥¹¡×¤Ç¤¹¡£ ¤½¤Î¡ØËÉÊɡ٤ϡ¢¤½¤Î¥×¥í¥»¥¹¤Ë¿¯Æþ¤·¤¿Âè»°¼Ô¤¬¡¢ ¤µ¤é¤Ë¥·¥¹¥Æ¥à¤Î¹­¤¤ÈϰϤ˱ƶÁ¤òÍ¿¤¨¤ë¤³¤È¤òËɤ°¤è¤¦¤ËÀ߷פµ¤ì¤Þ¤¹¡£

    ¤³¤Î¥×¥í¥»¥¹¤Î¿¶Éñ¤¤¤Ï¡¢¡ØËÉÊÉ¡Ù¤ÎÃæ¤À¤±¤ËÀ©¸Â¤µ¤ì¤ë¡¢¤Èɽ¸½¤Ç¤­¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢¤³¤Î¥×¥í¥»¥¹¤Ë¤ª¤¤¤Æ¡¢¡ØËÉÊÉ¡Ù¤ò±Û¤¨¤ë¤è¤¦¤Ê¥³¡¼¥É¤Î¼Â¹Ô¤Ï ¤Ç¤­¤Ê¤¤¤È¤¤¤¦°ÕÌ£¤Ç¤¹¡£¤½¤Î¤¿¤á¡¢¥³¡¼¥É¤Î¼Â¹Ô¤Ë¤ª¤±¤ë¥»¥­¥å¥ê¥Æ¥£¤Ï ³Î¤«¤Ê¤â¤Î¤Ç¤¢¤ë¤ÈÊݾڤǤ­¡¢¼Â¹Ô¤Î¾ÜºÙ¤ÊÄÉÀפò¹Ô¤Ê¤¦É¬ÍפϤʤ¯¤Ê¤ê¤Þ¤¹¡£

    ¤½¤Î¡ØËÉÊɡ٤Ȥϡ¢¤¿¤È¤¨¤Ð¥æ¡¼¥¶ ID ¤¬¤½¤ì¤Ë¤¢¤¿¤ë¤Ç¤·¤ç¤¦¡£ ¤³¤ÎÄêµÁ¤Ï¡¢security(7) ¤ä named(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ÇÍѤ¤¤é¤ì¤Æ¤¤¤Þ¤¹¡£

    ntalk ¥µ¡¼¥Ó¥¹ (/etc/inetd.conf »²¾È¤Î¤³¤È) ¤òÎã¤Ë¤È¤Ã¤Æ¤ß¤Þ¤¹¡£ ¤³¤Î¥µ¡¼¥Ó¥¹¤Ï¤«¤Ä¤Æ¡¢¼Â¹Ô»þ¤Î ¥æ¡¼¥¶ ID ¤È¤·¤Æ root ¤òÍѤ¤¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ç¤Ï tty ¤È¤¤¤¦¥æ¡¼¥¶ ID ¤ÇÆ°ºî¤·¤Þ¤¹¡£ ¥æ¡¼¥¶ tty ¤Ï¡¢ ntalk ¤ò·Ðͳ¤·¤Æ¥·¥¹¥Æ¥à¤Î¿¯Æþ¤ËÀ®¸ù¤·¤¿Âè»°¼Ô¤¬ ¤½¤Î¥æ¡¼¥¶ ID °Ê¾å¤Î¸¢¸Â¤òÆÀ¤ë¤³¤È¤ò¡¢ ¤è¤ê°ìÁغ¤Æñ¤Ë¤¹¤ë¤¿¤á¤ËÀ߷פµ¤ì¤¿º½¾ì (sandbox) ¤Ê¤Î¤Ç¤¹¡£

  • Æó¤ÄÌܤϡ֥·¥ß¥å¥ì¡¼¥È¤µ¤ì¤¿¥Þ¥·¥ó¤ÎÆ⦤Ǽ¹Ԥµ¤ì¤ë¥×¥í¥»¥¹¡×¤Î¤³¤È¤Ç¡¢ ¤³¤Á¤é¤Ï¤è¤êÃæ³ËŪ¤Ç¤¹¡£ ÉáÄ̤˹ͤ¨¤ì¤Ð¡¢¤¢¤ë¥×¥í¥»¥¹¤Ë¿¯Æþ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ëÂè»°¼Ô¤Ï¡¢ ¥Þ¥·¥ó¤Î¤è¤ê¹­¤¤ÈϰϤˤ⿯Æþ¤Ç¤­¤ë¤È¿®¤¸¤ë¤â¤Î¤Ê¤Î¤Ç¤¹¤¬¡¢ ¤³¤Î¼ï¤Î¥×¥í¥»¥¹¤Î¾ì¹ç¡¢¤½¤ì¤Ï¼ÂºÝ¤Ë¤Ï¥·¥ß¥å¥ì¡¼¥È¤µ¤ì¤¿¥Þ¥·¥ó¤Ë ¿¯Æþ¤·¤¿¤À¤±¤Ê¤Î¤Ç¡¢¸½¼Â¤Î¥Ç¡¼¥¿¤òÊѹ¹¤¹¤ë¤³¤È¤Ï²¿°ì¤Ä¤Ç¤­¤Þ¤»¤ó¡£

    ¤³¤ì¤ò¼Â¸½¤¹¤ë¤¿¤á¤ÎºÇ¤â¹­¤¯ÍѤ¤¤é¤ì¤Æ¤¤¤ëÊýË¡¤Ï¡¢ ¥·¥ß¥å¥ì¡¼¥È¤µ¤ì¤¿´Ä¶­¤ò¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¹½ÃÛ¤·¡¢ ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë chroot ¤·¤Æ¡¢¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç ¥×¥í¥»¥¹¤ò¼Â¹Ô¤¹¤ë¤³¤È (¤Ä¤Þ¤ê¡¢¤½¤Î¥×¥í¥»¥¹¤Ë¤È¤Ã¤Æ / ¤Ï ¥·¥¹¥Æ¥à¤Î¼ÂºÝ¤Î¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê / ¤Ç¤Ï¤Ê¤¯¡¢ chroot ¤µ¤ì¤¿¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò»Ø¤¹) ¤Ç¤¹¡£

    ¹­¤¯ÍѤ¤¤é¤ì¤Æ¤¤¤ë¤â¤¦°ì¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ ¤½¤ì¤Ï¡¢´û¤Ë¸ºß¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò Æɤ߹þ¤ßÀìÍÑ (read-only) ¤Ç¥Þ¥¦¥ó¥È¤·¡¢¤½¤Î¾å¤Ë¡¢¤¢¤ë¥×¥í¥»¥¹¤ËÂФ·¤Æ ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬½ñ¤­¹þ¤ß²Äǽ¤Ç¤¢¤ë¤è¤¦¤Ë¸«¤»¤ë¤è¤¦¤Ê¡¢ ¤â¤¦°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÁؤòÍÑ°Õ¤¹¤ë¤â¤Î¤Ç¤¹¡£¤¹¤ë¤È¡¢ ¤½¤Î¥×¥í¥»¥¹¤Ï¥Õ¥¡¥¤¥ë¤ò½ñ¤­¹þ¤à¤³¤È¤¬¤Ç¤­¤ë¤Èǧ¼±¤·¡¢ ¼ÂºÝ¤Ë½ñ¤­¹þ¤à¤³¤È¤¬¤Ç¤­¤ë¤Î¤â¤½¤ÎÆÃÄê¤Î¥×¥í¥»¥¹¤À¤± - ¥·¥¹¥Æ¥à¤Ë¤¢¤ë¾¤Î¥×¥í¥»¥¹¤Ï½ñ¤­¹þ¤á¤Ê¤¤¤Î¤ËÂФ·¤Æ - ¤Ç¤¢¤ë¤È¤¤¤¦¾õ¶·¤ò¼Â¸½¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

    ¤³¤Î¼ï¤Îº½¾ì (sandbox) ¤Ï¡¢ ¤½¤ÎÈó¾ï¤ËÆ©²áŪ¤ÊÀ­¼Á¤ò»È¤Ã¤Æ¡¢¥æ¡¼¥¶ (¤â¤·¤¯¤Ï¿¯Æþ¼Ô) ¤¬ ¤½¤Î»ö¼Â¤Ëµ¤ÉÕ¤«¤Ê¤¤¤è¤¦¤Ë¼Â¸½¤µ¤ì¤Þ¤¹¡£

UNIX ¤Ï¡¢ÆâÉôŪ¤ËÆó¤Ä¤Îº½¾ì (sandbox) ¤ò¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£ °ì¤Ä¤Ï¥×¥í¥»¥¹¥ì¥Ù¥ë¤Î¤â¤Î¡¢¤â¤¦°ì¤Ä¤Ï¥æ¡¼¥¶ ID ¥ì¥Ù¥ë¤Î¤â¤Î¤Ç¤¹¡£

UNIX ¥×¥í¥»¥¹¤Ï¤¹¤Ù¤Æ¡¢Â¾¤Î UNIX ¥×¥í¥»¥¹¤«¤é´°Á´¤Ë³ÖÎ¥¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤É¤Î¥×¥í¥»¥¹¤â¡¢Â¾¤Î¥×¥í¥»¥¹¤Î¥¢¥É¥ì¥¹¶õ´Ö¤òÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¡¢¤¢¤ë¥×¥í¥»¥¹¤¬Â¾¤Î¥×¥í¥»¥¹¤Î¥¢¥É¥ì¥¹¶õ´Ö¤ò¾å½ñ¤­¤Ç¤­¤ë¤è¤¦¤Ê¡¢ ¥¯¥é¥Ã¥·¥å¤Ë¤Ä¤Ê¤¬¤ë¹Ô°Ù¤¬Íưפ˼¸½¤Ç¤­¤ë Windows ¤È¤ÏÁ´¤¯°Û¤Ê¤ë¤â¤Î¤Ç¤¹¡£

UNIX ¥×¥í¥»¥¹¤Ï¡¢ÆÃÄê¤Î¥æ¡¼¥¶ ID ¤¬½êÍ­¤·¤Þ¤¹¡£ ¤â¤·¡¢¼Â¹Ô¼Ô¤Î¥æ¡¼¥¶ ID ¤¬ root ¥æ¡¼¥¶¤Î¤â¤Î¤Ç¤Ê¤±¤ì¤Ð¡¢ ¥æ¡¼¥¶ ID ¤Ï¡¢Â¾¤Î¥æ¡¼¥¶¤¬½êÍ­¤¹¤ë¥×¥í¥»¥¹¤«¤é ¤½¤Î¥×¥í¥»¥¹¤ò¼é¤ëµ¡Ç½¤ò²Ì¤¿¤¹¤ï¤±¤Ç¤¹¡£ ¤Þ¤¿¡¢¤½¤Î¥æ¡¼¥¶ ID ¤Ï¡¢¥Ç¥£¥¹¥¯¾å¤Ë¤¢¤ë¥Ç¡¼¥¿¤ò Êݸ¤ë¤Î¤Ë¤â»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£

7.34. ¥»¥­¥å¥¢¥ì¥Ù¥ë (securelevel) ¤Ã¤Æ²¿¤Ç¤¹¤«?

¥»¥­¥å¥¢¥ì¥Ù¥ë¤È¤Ï¥«¡¼¥Í¥ë¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¥»¥­¥å¥ê¥Æ¥£µ¡¹½¤Î°ì¤Ä¤Ç¤¹¡£ ´Êñ¤Ë¸À¤¦¤È¡¢¥«¡¼¥Í¥ë¤Ï¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬Àµ¤ÎÃͤλþ¤Ë¡¢ ¤¢¤ëÆÃÄê¤ÎÁàºî¤òÀ©¸Â¤·¤Þ¤¹¡£¤³¤ÎÀ©¸Â¤Ï¡¢¤¿¤È¤¨¥¹¡¼¥Ñ¥æ¡¼¥¶ (root ¤Î¤³¤È) ¤Ç¤¢¤Ã¤Æ¤âÎã³°¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤Îʸ¤ò½ñ¤¤¤Æ¤¤¤ë»þÅÀ¤Ç¤Ï¡¢ ¥»¥­¥å¥¢¥ì¥Ù¥ëµ¡¹½¤ò»È¤Ã¤Æ°Ê²¼¤Î¤è¤¦¤ÊÁàºî¤òÀ©¸Â¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

  • schg (system immutable flag) ¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¥Õ¥é¥°¤ÎÊѹ¹

  • /dev/mem ¤ª¤è¤Ó /dev/kmem ·Ðͳ¤Ç¤Î¥«¡¼¥Í¥ë¥á¥â¥ê¤Ø¤Î½ñ¤­¹þ¤ß

  • ¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤Î¥í¡¼¥É

  • ipfirewall(4) ¥ë¡¼¥ë¤ÎÊѹ¹

²ÔƯÃæ¤Î¥·¥¹¥Æ¥à¤Ç¥»¥­¥å¥¢¥ì¥Ù¥ë¤Î¾õÂÖ¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤Ë¤Ï¡¢ ¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡£

# sysctl kern.securelevel

½ÐÎϤˤϡ¢sysctl(8) ÊÑ¿ô (º£¤Î¾ì¹ç¤Ï kern.securelevel) ¤È¿ô»ú¤¬¸½¤ì¤Þ¤¹¡£ ¿ô»ú¤¬¸½ºß¤Î¥»¥­¥å¥¢¥ì¥Ù¥ë¤ÎÃͤǤ¹¡£ ¤³¤ì¤¬¤â¤·Àµ¤ÎÃͤʤ顢 ²¿¤é¤«¤Î¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ë¤è¤ëÀ©¸Â¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¥·¥¹¥Æ¥à²ÔƯÃæ¤Ë¥»¥­¥å¥¢¥ì¥Ù¥ë¤ò²¼¤²¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¡¢¤½¤ì¤ò²Äǽ¤Ë¤¹¤ë¤È¥»¥­¥å¥¢¥ì¥Ù¥ë¤Î°ÕÌ£¤¬¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤«¤é¤Ç¤¹¡£ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬Àµ¤ÎÃͤǤʤ¤¤³¤È¤òÍ׵᤹¤ëÁàºî (¤¿¤È¤¨¤Ð installworld ¤äÆüÉÕ¤ÎÊѹ¹¤Ê¤É) ¤ò¹Ô¤Ê¤¦É¬Íפ¬¤¢¤ë¾ì¹ç¤Ï¡¢/etc/rc.conf ¤Ë¤¢¤ë¥»¥­¥å¥¢¥ì¥Ù¥ë¤ÎÀßÄê (kern_securelevel ¤È kern_securelevel_enable ¤È¤¤¤¦ÊÑ¿ô) ¤òÊѹ¹¤·¤ÆºÆµ¯Æ°¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ë´Ø¤¹¤ë¾Ü¤·¤¤¾ðÊó¤ä¡¢ ³Æ¥ì¥Ù¥ë¤Ç¼Â¸½¤µ¤ì¤ëµ¡Ç½¤Ë´Ø¤·¤Æ¤Ï init(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

警告¥»¥­¥å¥¢¥ì¥Ù¥ë¤ÏËüǽ¤È¤¤¤¦¤ï¤±¤Ç¤Ï¤Ê¤¯¡¢ ¼åÅÀ¤â¿ô¿¤¯Â¸ºß¤·¤Þ¤¹¡£¤Þ¤¿¡¢¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¡¢ ¥»¥­¥å¥ê¥Æ¥£¤òÄã²¼¤µ¤»¤Æ¤·¤Þ¤¦¤³¤È¤â¤¢¤ê¤Þ¤¹¡£

ºÇ¤âÂ礭¤ÊÌäÂê¤Î°ì¤Ä¤Ë¡¢ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤Îµ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢ µ¯Æ°½èÍý¤Ç¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬ÀßÄꤵ¤ì¤ë¤Þ¤Ç¤Ë»È¤ï¤ì¤ë¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤ò Êݸ¤ëɬÍפ¬¤¢¤ë¤È¤¤¤¦¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ ¤â¤·¹¶·â¼Ô¤¬¡¢¥·¥¹¥Æ¥à¤¬¥»¥­¥å¥¢¥ì¥Ù¥ë¤òÀßÄꤹ¤ëÁ°¤Ë¥³¡¼¥É¤ò¼Â¹Ô¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤È¤·¤¿¤é¡¢ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ë¤è¤ëÊݸî¤Ï̵°ÕÌ£¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹ (µ¯Æ°»þ¤Ë¤ÏÄ㤤¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ç¤·¤«¼Â¹Ô¤Ç¤­¤Ê¤¤½èÍý¤ò¹Ô¤Ê¤¦É¬Íפ¬¤¢¤ë¤¿¤á¡¢ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤ÎÀßÄê¤Ï¡¢µ¯Æ°½èÍý¤ÎºÇ¸å¤ÎÊý¤Ç¹Ô¤Ê¤ï¤ì¤Þ¤¹)¡£ µ¯Æ°½èÍý¤Ç»È¤ï¤ì¤ë¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤òÊݸ¤ë¤³¤È¤Ïµ»½ÑŪ¤ËÉÔ²Äǽ¤Ç¤¹¡£ ¤â¤·¤½¤¦¤Ç¤­¤¿¤È¤·¤Æ¤â¡¢¥·¥¹¥Æ¥à¤ÎÊݼé¤Ï¤Þ¤µ¤Ë°­Ì´¤È¤Ê¤ë¤Ç¤·¤ç¤¦¡£ ÀßÄê¥Õ¥¡¥¤¥ë°ì¤Ä½ñ¤­´¹¤¨¤ë¤Î¤Ë¤â¡¢ ¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤ËÀÚÂؤ¨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¯¤Ê¤ë¤Î¤Ç¤¹¤«¤é¡£

°Ê¾å¤ÇÀâÌÀ¤·¤¿ÆâÍƤ䤽¤Î¾¤ÎÅÀ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ç¤âÎɤ¯ÏÃÂê¤Ë¤Î¤Ü¤ê¤Þ¤¹¡£ µÄÏÀ¤Î¤è¤¦¤¹¤ò¤³¤Î¥Ú¡¼¥¸¤«¤é¸¡º÷¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ï¡¢ ¤¤¤º¤ì¤è¤êγÅ٤κ٤«¤¤µ¡¹½¤Ë¤È¤Ã¤ÆÂå¤ï¤ë¤À¤í¤¦¤È¹Í¤¨¤Æ¤¤¤ë¿Í¡¹¤â¤¤¤Þ¤¹¤¬¡¢ ¤½¤ÎÅÀ¤Ë¤Ä¤¤¤Æ¤Ï¤Þ¤ÀÉÔÆ©ÌÀ¤Ê¤Þ¤Þ¤Ç¤¹¡£

¤É¤¦¤«Ãí°Õ¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

7.35. ¥Õ¥í¥Ã¥Ô¡¼¤ä CDROM ¤ä¾¤Î¥ê¥à¡¼¥Ð¥Ö¥ë¥á¥Ç¥£¥¢¤Î¥Þ¥¦¥ó¥È¤ò°ìÈ̥桼¥¶¡¼¤Ëµö²Ä¤¹¤ë¤Ë¤Ï?

°ìÈ̥桼¥¶¡¼¤Ç¤â¥Ç¥Ð¥¤¥¹¤ò¥Þ¥¦¥ó¥È¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¼ê½ç¤Ï¼¡¤Î¤È¤ª¤ê¤Ç¤¹¡£

  1. root ¤Ë¤Ê¤Ã¤Æ¡¢ sysctl ÊÑ¿ô¤Ç¤¢¤ë vfs.usermount ¤ò 1 ¤ËÀßÄꤷ¤Þ¤¹¡£

    # sysctl -w vfs.usermount=1
    
  2. root ¤Ë¤Ê¤Ã¤Æ¡¢ ¥ê¥à¡¼¥Ð¥Ö¥ë¥á¥Ç¥£¥¢¤Ë´ØÏ¢¤¹¤ë¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¤ËŬÀڤʥѡ¼¥ß¥Ã¥·¥ç¥ó¤òÀßÄꤷ¤Þ¤¹¡£

    Îã¤È¤·¤Æ¡¢ºÇ½é¤Î¥Õ¥í¥Ã¥Ô¡¼¥Ç¥Ð¥¤¥¹¤ò¥æ¡¼¥¶¡¼¤¬¥Þ¥¦¥ó¥È¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

    # chmod 666 /dev/fd0
    

    operator ¥°¥ë¡¼¥×¤Ë½ê°¤¹¤ë¥æ¡¼¥¶¤¬ CDROM ¥É¥é¥¤¥Ö¤ò¥Þ¥¦¥ó¥È¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï °Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

    # chgrp operator /dev/cd0c
    # chmod 640 /dev/cd0c
    
  3. ºÇ¸å¤Ë vfs.usermount=1 ¤È¤¤¤¦¹Ô¤ò /etc/sysctl.conf ¥Õ¥¡¥¤¥ë¤ËÄɲä·¡¢ ¥Ö¡¼¥È»þ¤Ë¥»¥Ã¥È¤µ¤ì¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤­¤Þ¤¹¡£

¤³¤ì¤Ç¡¢¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¤Ï ¥Õ¥í¥Ã¥Ô¡¼ /dev/fd0 ¤ò ¼«¿È¤Î½êÍ­¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ø¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

% mkdir ~/my-mount-point
% mount -t msdos /dev/fd0 ~/my-mount-point

¤³¤ì¤Ç¡¢operator ¥°¥ë¡¼¥×¤Ë½ê°¤¹¤ë¥æ¡¼¥¶¤Ï CDROM /dev/cd0c ¤ò ¼«¿È¤Î½êÍ­¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ø¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

% mkdir ~/my-mount-point
% mount -t msdos /dev/cd0c ~/my-mount-point

¥Ç¥Ð¥¤¥¹¤Î¥¢¥ó¥Þ¥¦¥ó¥È¤Ï´Êñ¤Ç¤¹¡£

% umount ~/my-mount-point

¤·¤«¤·¡¢ vfs.usermount ¤òÍ­¸ú¤Ë¤¹¤ë¤³¤È¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¾å¤è¤¤¤³¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ MSDOS ·Á¼°¤Î¥á¥Ç¥£¥¢¤Ë¥¢¥¯¥»¥¹¤Ë¤Ï¡¢Ports ¥³¥ì¥¯¥·¥ç¥ó¤Ë¤¢¤ë ¥Ñ¥Ã¥±¡¼¥¸ mtools ¤ò»ÈÍѤ·¤¿Êý¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£

7.36. ¥·¥¹¥Æ¥à¤ò¿·¤·¤¤µðÂç¥Ç¥£¥¹¥¯¤Ø°Ü¤¹¤Ë¤Ï¤É¤¦¤¹¤ë¤Î¤Ç¤¹¤«?

°ìÈÖÎɤ¤¤Î¤Ï¿·¤·¤¤¥Ç¥£¥¹¥¯¤Ë OS ¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢ ¤½¤ì¤«¤é¥æ¡¼¥¶¥Ç¡¼¥¿¤ò°Ü¤¹¤³¤È¤Ç¤¹¡£Æäˤ¢¤Ê¤¿¤¬ -stable ¤ò Ê£¿ô¤Î¥ê¥ê¡¼¥¹¤ò¸Ù¤¤¤ÇÄɤ¤³Ý¤±¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¤³¤ÎÊýË¡¤ò¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¤¢¤Ê¤¿¤Ï boot0cfg(8) ¤ò»È¤¦¤³¤È¤Ç booteasy ¤òξÊý¤Î ¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¡¢¿·¤·¤¤ÇÛÃÖ¤ÇËþ­¤·¤Æ¤¤¤ë´Ö ¥Ç¥å¥¢¥ë¥Ö¡¼¥È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤ì¤ò¹Ô¤Ã¤¿¤¢¤È¥Ç¡¼¥¿¤ò°Ü¤¹ ÊýË¡¤òõ¤¹¤Ê¤é¼¡¤ÎÃÊÍî¤ÏÆɤßÈô¤Ð¤·¤Æ¤¯¤À¤µ¤¤¡£

²¿¤â¤Ê¤¤¥Ç¥£¥¹¥¯¤Ø¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¤³¤È¤Ë·è¤á¤¿¤Ê¤é¤Ð /stand/sysinstall¡¢¤Ê¤ê fdisk(8) ¤È disklabel(8) ¤Ê¤ê¤ò»È¤Ã¤Æ¿·¤·¤¤¥Ç¥£¥¹¥¯¤Ë ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤È¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤òºî¤é¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤Þ¤¿ boot0cfg(8) ¤Ç booteasy ¤òξÊý¤Î¥Ç¥£¥¹¥¯¤Ë ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢¥³¥Ô¡¼¤Îºî¶È¤¬½ª¤ï¤Ã¤¿¤¢¤È¤Ë ¸Å¤¤¥·¥¹¥Æ¥à¤«¤é¤Ç¤â¿·¤·¤¤¥Ç¥£¥¹¥¯¤«¤é¤Ç¤âµ¯Æ°¤Ç¤­¤ë¤è¤¦¤Ë ¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¤³¤Îºî¶È¤Î¾ÜºÙ¤Ï formatting-media tutorial ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£

¿·¤·¤¤¥Ç¥£¥¹¥¯¤ÎΩ¤Á¾å¤²¤¬½ª¤ï¤Ã¤Æ¥Ç¡¼¥¿¤Î°ÜÆ°¤ò ÂԤĤФ«¤ê¤Ë¤Ê¤ê¤Þ¤·¤¿¡£¤·¤«¤·Èᤷ¤¤¤«¤Ê¡¢Ìµ°Ç¤ä¤¿¤é¤È ¥³¥Ô¡¼¤¹¤ì¤Ð¤¤¤¤¤È¤¤¤¦¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë (/dev) ¤ä¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ê¤É¤Ï ¼ºÇԤθµ¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤òÍý²ò¤¹¤ë¥Ä¡¼¥ë¡¢¤¹¤Ê¤ï¤Á dump(8) ¤ä tar(1) Åù¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¡¼¥¿¤Î°Üž¤Ï¥·¥ó¥°¥ë¥æ¡¼¥¶¤Ç¹Ô¤¦¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¤¬¡¢ ÀäÂФȸÀ¤¦¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¤¢¤Ê¤¿¤Ï dump(8) ¤È restore(8) °Ê³°¤Î¤â¤Î¤Ç root ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò°Ü¹Ô¤·¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ tar(1) ¥³¥Þ¥ó¥É¤Ç¤â¤¿¤Ö¤ó¤¦¤Þ¤¯¹Ô¤¯¤Ç¤·¤ç¤¦¤¬¡¢ ¤ä¤é¤Ê¤¤¤Û¤¦¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£¥Ñ¡¼¥Æ¥£¥·¥ç¥ó°ì¤Ä¤ò ¤â¤¦°ì¤Ä¤Î¤«¤é¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë°Ü¤¹¤È¤­¤Ï dump(8) ¤È restore(8) »È¤¦¤Ù¤­¤Ç¤¹¡£ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Ç¡¼¥¿¤ò¿·¤·¤¤¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë°Ü¤¹¤Î¤Ë dump ¤ò»È¤¦¤ä¤êÊý¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

  1. ¿·¤·¤¤¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë newfs ¤ò¤«¤±¤ë¡£

  2. ¤½¤ì¤ò»ÃÄêŪ¤Ê¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ë¥Þ¥¦¥ó¥È¤¹¤ë¡£

  3. ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë cd¡£

  4. ¸Å¤¤¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò dump ¤·¡¢ ¤½¤Î½ÐÎϤò¥Ñ¥¤¥×¤Ç¿·¤·¤¤Êý¤Ø¡£

¤¿¤È¤¨¤Ð root ¤ò /dev/ad1s1a ¤Ø¡¢»ÃÄêŪ¤Ê¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ò /mnt ¤È¤·¤Æ°Ü¤½¤¦¤È¤¹¤ë¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

# newfs /dev/ad1s1a
# mount /dev/ad1s1a
# cd /mnt
# dump 0uaf - / | restore xf -

¤â¤·¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¹½À®¤òÊѤ¨¤è¤¦¤È»×¤Ã¤Æ¤¤¤ë¤Ê¤é - ¤Ä¤Þ¤ê°ì¤Ä¤À¤Ã¤¿¤â¤Î¤òÆó¤Ä¤Ë¤·¤¿¤êÆó¤Ä¤À¤Ã¤¿¤â¤Î¤ò¤¯¤Ã¤Ä¤±¤¿¤ê ¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Ê¤é¡¢¼«Á°¤Ç¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¤¹¤Ù¤Æ¤ò ¿·¤·¤¤¾ì½ê¤Ø°Ü¤¹É¬Íפ¬½Ð¤Æ¤¯¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£dump(8) ¤Ï ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËƯ¤¯¤Î¤Ç¤³¤ÎÌÜŪ¤Ë¤Ï»È¤¨¤Þ¤»¤ó¡£¤³¤Î¾ì¹ç¤Ï tar(1) ¤ò»È¤¤¤Þ¤¹¡£°ìÈÌ¤Ë /old ¤«¤é /new ¤Ø¤Î°ÜÆ°¤Ï tar(1) ¤Ç °Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# (cd /old; tar cf - .) | (cd /new; tar xpf -)

/old ¤Ë¾¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬ ¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤Æ¡¢¤½¤Î¥Ç¡¼¥¿¤Î°ÜÆ°¤Þ¤Ç¤Ï¹Í¤¨¤Æ¤Ê¤¤¤Ê¤é¤Ð ºÇ½é¤Î tar(1) ¤Ë 'l' ¥Õ¥é¥°¤òÄɲä·¤Þ¤¹¡£

# (cd /old; tar clf - .) | (cd /new; tar xpf -).

tar(1) ¤Î¤«¤ï¤ê¤Ë cpio(1) ¤ä pax(1), cpdup (ports/sysutils/cpdup) Åù¤ò »È¤Ã¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£

7.37. ¥·¥¹¥Æ¥à¤òºÇ¿·¤Î -STABLE ¤Ë¥¢¥Ã¥×¥Ç¡¼¥È¤·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬ -RC ¤ä -BETA ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿! ²¿¤¬µ¯¤³¤Ã¤¿¤Î¤Ç¤¹¤«?

û¤¤Åú¤¨: ¤¿¤À¤Î̾Á°¤Ç¤¹¡£RC ¤Ï “¥ê¥ê¡¼¥¹¸õÊä (Release Candidate)” ¤Ë ͳÍ褹¤ë¤â¤Î¤Ç¡¢¥ê¥ê¡¼¥¹¤¬´Ö¶á¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢FreeBSD ¤Ë¤ª¤±¤ë -BETA ¤ÏÄ̾ ¥ê¥ê¡¼¥¹Á°¤Î¥³¡¼¥É¥Õ¥ê¡¼¥º´ü´Ö¤ËÆþ¤Ã¤Æ¤¤¤ë¤È¤¤¤¦°ÕÌ£¤Ë¤Ê¤ê¤Þ¤¹¡£

Ť¤Åú¤¨: FreeBSD ¤Ï¤½¤Î¥ê¥ê¡¼¥¹¤ò 2 ¥ö½ê¤¢¤ë¤¦¤Á¤Î °ìÊý¤«¤éÇÉÀ¸¤µ¤»¤Þ¤¹¡£3.0-RELEASE ¤ä 4.0-RELEASE ¤ÎÍÍ¤Ê (0 ¤Î¥Þ¥¤¥Ê¡¼ÈÖ¹æ¤ò»ý¤Ä) ¥á¥¸¥ã¡¼¥ê¥ê¡¼¥¹¤Ï¡¢°ìÈÌ¤Ë -CURRENT ¤È¸Æ¤Ð¤ì¤ë ³«È¯ÈǤÎή¤ì¤«¤éʬ´ô¤µ¤»¤é¤ì¤Æ¤Ç¤­¤Þ¤¹¡£3.1-RELEASE ¤ä 4.2-RELEASE ¤Ê¤É¤Î¥Þ¥¤¥Ê¡¼¥ê¥ê¡¼¥¹¤Ï¥¢¥¯¥Æ¥£¥Ö¤Ê -STABLE ¥Ö¥é¥ó¥Á (»Þ) ¤Î ¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤Ç¤·¤¿¡£ 4.3-RELEASE ¤«¤é¤Ï¡¢¥ê¥ê¡¼¥¹Ëè¤Ë¥Ö¥é¥ó¥Á¤¬ºîÀ®¤µ¤ì¤ë¤è¤¦¤Ë ¤Ê¤ê¤Þ¤·¤¿¡£¤â¤Î¤¹¤´¤¯ÊݼéŪ¤Ê³«È¯Â®ÅÙ (¼ç¤Ë¥»¥­¥å¥ê¥Æ¥£ ´«¹ð¤Î¤ß) ¤òµá¤á¤Æ¤¤¤ë¿Í¤Ï¡¢¤³¤Î¥Ö¥é¥ó¥Á¤òÄÉÀפ¹¤ë¤È ¤è¤¤¤Ç¤·¤ç¤¦¡£

¥ê¥ê¡¼¥¹¤òºî¤ë»þ¤Ë¤Ê¤ë¤È¤½¤ì¤òʬ´ô¤µ¤»¤ë¥Ö¥é¥ó¥Á¤Ï ÆÃÄê¤Î¥×¥í¥»¥¹¤ØÆÍÆþ¤·¤Þ¤¹¡£¤½¤Î¥×¥í¥»¥¹¤Î°ì¤Ä¤Ï ¥³¡¼¥É¥Õ¥ê¡¼¥º (¥³¡¼¥É¤ÎÅà·ë) ¤Ç¤¹¡£¥³¡¼¥É¥Õ¥ê¡¼¥º¤¬ »Ï¤Þ¤ë¤È¡¢¤½¤Î¥Ö¥é¥ó¥Á¤Î̾Á°¤¬¥ê¥ê¡¼¥¹¤Ë¤Ê¤í¤¦¤È¤·¤Æ¤¤¤ë¤³¤È¤ò È¿±Ç¤¹¤ë¤â¤Î¤ËÊѤ¨¤é¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢4.0-STABLE ¤È ¸Æ¤Ð¤ì¤Æ¤¤¤¿¥Ö¥é¥ó¥Á¤Ï̾Á°¤¬ 4.1-BETA ¤Ø¤È ÊѤ¨¤é¤ì¡¢¥³¡¼¥É¥Õ¥ê¡¼¥º¤È¥ê¥ê¡¼¥¹Á°¤Î¥Æ¥¹¥È¤¬ »Ï¤Þ¤Ã¤¿¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ ¥Ð¥°¤Î½¤Àµ¤Ï¥ê¥ê¡¼¥¹¤Î°ìÉô¤È¤·¤Æ¥³¥ß¥Ã¥È¤µ¤ì¤Þ¤¹¡£ ¥½¡¼¥¹¥³¡¼¥É¤¬¥ê¥ê¡¼¥¹¤Î·Á¤ò¼è¤Ã¤¿¤Ê¤é̾Á°¤¬ 4.1-RC ¤Ø¤È ÊѤ¨¤é¤ì¡¢¤½¤ì¤«¤é¥ê¥ê¡¼¥¹¤¬ºî¤é¤ì¤ë¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ ¤Ò¤È¤¿¤Ó RC ¤Î¥¹¥Æ¡¼¥¸¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤È¡¢È¯¸«¤µ¤ì¤¿ ¤â¤Ã¤È¤âÃ×̿Ū¤Ê¥Ð¥°¤Î½¤Àµ¤·¤«¤Ç¤­¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ ¤Ò¤È¤¿¤Ó¥ê¥ê¡¼¥¹¤¬ (¤³¤ÎÎã¤Ç¤Ï 4.1-RELEASE) ºî¤é¤ì¤ì¤Ð¡¢ ¤½¤Î¥Ö¥é¥ó¥Á¤Ï 4.1-STABLE ¤È²þ̾¤µ¤ì¤Þ¤¹¡£

7.38. ¿·¤·¤¤¥«¡¼¥Í¥ë¤òÆþ¤ì¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢ chflags ¤Ë¼ºÇÔ¤·¤Þ¤¹¡£¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦?

´Êñ¤Ê²óÅú: ¿ʬ¡¢¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬ 0 ¤è¤êÂ礭¤¯¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¡£ ľÀÜ¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤ÇºÆµ¯Æ°¤·¤Æ¡¢ ¥«¡¼¥Í¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£

¾Ü¤·¤¤²óÅú: FreeBSD ¤Ç¤Ï¡¢¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬ 0 ¤è¤êÂ礭¤¤¾ì¹ç¡¢ ¥·¥¹¥Æ¥à¥Õ¥é¥°¤ÎÊѹ¹¤¬¶Ø»ß¤µ¤ì¤Þ¤¹¡£ ¸½ºß¤Î¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ï¡¢¼¡¤Î¥³¥Þ¥ó¥É¤ò»È¤Ã¤ÆÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# sysctl kern.securelevel

¥»¥­¥å¥¢¥ì¥Ù¥ë¤ò²¼¤²¤ëÁàºî¤Ï¡¢¤Ç¤­¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¤¿¤á¡¢¥«¡¼¥Í¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¡¢ ¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤Çµ¯Æ°¤¹¤ë¤«¡¢/etc/rc.conf ¤Î¥»¥­¥å¥ê¥Æ¥£ÀßÄê¤òÊѹ¹¤·¤ÆºÆµ¯Æ°¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤Î¾ÜºÙ¤Ï init(8) ¤ò¡¢ rc.conf ¤Î¾ÜºÙ¤Ï /etc/defaults/rc.conf ¤ª¤è¤Ó¡¢ rc.conf(5) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

7.39. ¥·¥¹¥Æ¥à¤Î»þ¹ï¤ò 1 ÉðʾåÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¤¹! ¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦?

´Êñ¤Ê²óÅú: ¿ʬ¡¢¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬ 1 ¤è¤êÂ礭¤¯¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¡£ ľÀÜ¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤ÇºÆµ¯Æ°¤·¤Æ¡¢ »þ¹ï¤ÎÊѹ¹¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£

¾Ü¤·¤¤²óÅú: FreeBSD ¤Ç¤Ï¡¢¥»¥­¥å¥¢¥ì¥Ù¥ë¤¬ 1 ¤è¤êÂ礭¤¤¾ì¹ç¡¢ 1 Éðʾå¤Î»þ¹ïÊѹ¹¤¬¶Ø»ß¤µ¤ì¤Þ¤¹¡£ ¸½ºß¤Î¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ï¡¢¼¡¤Î¥³¥Þ¥ó¥É¤ò»È¤Ã¤ÆÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# sysctl kern.securelevel

¥»¥­¥å¥¢¥ì¥Ù¥ë¤ò²¼¤²¤ëÁàºî¤Ï¡¢¤Ç¤­¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¤¿¤á¡¢¥·¥¹¥Æ¥à¤Î»þ¹ï¤òÊѹ¹¤¹¤ë¤Ë¤Ï¡¢ ¥·¥ó¥°¥ë¥æ¡¼¥¶¥â¡¼¥É¤Çµ¯Æ°¤¹¤ë¤«¡¢/etc/rc.conf ¤Î¥»¥­¥å¥ê¥Æ¥£ÀßÄê¤òÊѹ¹¤·¤ÆºÆµ¯Æ°¤¹¤ëɬÍפФ¢¤ê¤Þ¤¹¡£ ¥»¥­¥å¥¢¥ì¥Ù¥ë¤Î¾ÜºÙ¤Ï init(8) ¤ò¡¢ rc.conf ¤Î¾ÜºÙ¤Ï /etc/defaults/rc.conf ¤ª¤è¤Ó¡¢ rc.conf(5) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

7.40. rpc.statd(8) ¤Ë¥á¥â¥ê¥ê¡¼¥¯¤ò¸«¤Ä¤±¤Þ¤·¤¿! ¥á¥â¥ê¤ò 256 ¥á¥¬¥Ð¥¤¥È¤â»È¤Ã¤Æ¤¤¤Þ¤¹¡£

¤¤¤¤¤¨¡£¤½¤ì¤Ï¥á¥â¥ê¥ê¡¼¥¯¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤·¡¢ 256 ¥á¥¬¥Ð¥¤¥È¤Î¥á¥â¥ê¤ò»È¤Ã¤Æ¤¤¤ë¡¢¤È¤¤¤¦¤³¤È¤Ç¤â¤¢¤ê¤Þ¤»¤ó¡£ ¤ª¤½¤é¤¯ (¤Û¤È¤ó¤É¤Î¾ì¹ç)¡¢ ½èÍý¤ËÅԹ礬Îɤ¤¤è¤¦¤ËÈó¾ï¤Ë¤¿¤¯¤µ¤ó¤ÎÎ̤Υá¥â¥ê¤ò ¤½¤Î¥×¥í¥»¥¹¤Î¥¢¥É¥ì¥¹¶õ´Ö¤Ë¥Þ¥Ã¥Ô¥ó¥°¤·¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¡£ µ»½ÑŪ¤Ê¸«ÃϤ«¤é¹Í¤¨¤Æ¤â¡¢¤³¤ì¤ÏÂ礭¤Ê³²¤¬¤¢¤ë¤³¤È¤Ç¤Ï¤Ê¤¯¡¢ ñ¤Ë top(1) ¤ä ps(1) ¤È¤¤¤Ã¤¿¥Ä¡¼¥ë¤Îɽ¼¨¤Ë±Æ¶Á¤¬¤¢¤ëÄøÅ٤Ǥ¹¡£

rpc.statd(8) ¤Ï¡¢(/var ¤Ë¤¢¤ë) ¥¹¥Æ¡¼¥¿¥¹¥Õ¥¡¥¤¥ë¤ò¼«Ê¬¤Î¥¢¥É¥ì¥¹¶õ´Ö¤Ë¥Þ¥Ã¥Ô¥ó¥°¤·¤Þ¤¹¡£ ¥Þ¥Ã¥Ô¥ó¥°¤Ï¡¢¸å¤ÇÂ礭¤Ê¶õ´Ö¤¬É¬Íפˤʤä¿»þ¤ËºÆ¥Þ¥Ã¥Ô¥ó¥°¤·¤Ê¤¤¤ÇºÑ¤à¤è¤¦¡¢ Èó¾ï¤ËÂ礭¤Ê¥µ¥¤¥º¤ò»ØÄꤷ¤Æ¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¥½¡¼¥¹¥³¡¼¥É¤Ë´Þ¤Þ¤ì¤ë mmap(2) ´Ø¿ô¤Î¥Þ¥Ã¥Ô¥ó¥°Ä¹¤ò¼¨¤¹°ú¿ô¤Ë 0x10000000 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤³¤È¤«¤é¤âʬ¤«¤ê¤Þ¤¹¡£ ¤³¤Î¿ô»ú¤¬ IA32 ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Î»ý¤Ä¥¢¥É¥ì¥¹¥¹¥Ú¡¼¥¹Á´ÂΤΠ16 ʬ¤Î 1¡¢¤¹¤Ê¤ï¤Á¡¢¤Á¤ç¤¦¤É 256 ¥á¥¬¥Ð¥¤¥È¤ËÁêÅö¤¹¤ë¤Î¤Ç¤¹¡£


第 8章X Window System ¤È²¾ÁÛ¥³¥ó¥½¡¼¥ë

Ìõ: º£Ìî ¸µÇ· 1997 ǯ 11 ·î 13 Æü

8.1. X ¤òÆ°¤«¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?
8.2. X ¤ò¼Â¹Ô¤·¤è¤¦¤È¤·¤Æ startx ¤ÈÆþÎϤ·¤¿¤Î¤Ç¤¹¤¬¡¢ “KDENABIO failed (Operation not permitted)” ¤È¤¤¤¦¥¨¥é¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ²¿¤«¤ª¤«¤·¤Ê¤³¤È¤ò¤ä¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ó¤Ç¤·¤ç¤¦¤«?
8.3. »ä¤Î¥Þ¥¦¥¹¤Ï¤Ê¤¼ X ¤ÇÆ°¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?
8.4. ¤ï¤¿¤·¤Î¥Þ¥¦¥¹¤Ë¤Ï¥Û¥¤¡¼¥ëµ¡Ç½¤¬ÉÕ¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢X ¤Ç»È¤¦¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?
8.5. X ¤Î¥á¥Ë¥å¡¼¤ä¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤¬¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£
8.6. ²¾ÁÛ¥³¥ó¥½¡¼¥ë¤È¤Ï²¿¤Ç¤¹¤«? ¤É¤¦¤ä¤Ã¤¿¤é»È¤¨¤Þ¤¹¤«?
8.7. X ¤«¤é²¾ÁÛ¥³¥ó¥½¡¼¥ë¤ËÀÚÂؤ¨¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤¹¤«?
8.8. XDM ¤òµ¯Æ°»þ¤Ëµ¯Æ°¤µ¤»¤ë¤Ë¤Ï¤É¤¦¤·¤Þ¤¹¤«?
8.9. xconsole ¤òÆ°¤«¤½¤¦¤È¤¹¤ë¤È “Couldn't open console” ¤È¥¨¥é¡¼¤¬½Ð¤Þ¤¹¡£
8.10. ¤ï¤¿¤·¤Ï¤¤¤Ä¤â XFree86 ¤ò°ìÈ̥桼¥¶¤«¤éµ¯Æ°¤·¤Æ¤¤¤¿¤Î¤Ç¤¹¤¬¡¢ ºÇ¶á¤Ë¤Ê¤Ã¤Æ root ¥æ¡¼¥¶¤Ç¤Ê¤±¤ì¤Ð¤Ê ¤é¤Ê¤¤¤È¸À¤ï¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
8.11. »ä¤Î PS/2 ¥Þ¥¦¥¹¤Ï X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¾å¤Ç¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£
8.12. MouseSystems ¤Î PS/2 ¥Þ¥¦¥¹¤¬¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£
8.13. X ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¹½ÃÛ¤¹¤ë»þ¤Ë¡¢ imake can't find Imake.tmpl ¤È¤Ê¤ê¤Þ¤¹¡£¤É¤³¤Ë¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«?
8.14. ¥Þ¥¦¥¹¤Î¥Ü¥¿¥ó¤òÆþ¤ìÂؤ¨¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤¹¤«?
8.15. ¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ï¤É¤¦¤¹¤ë¤Î¤Ç¤¹¤«¡£ ¤É¤³¤Ç¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤«?
8.16. X ¤Ç Windows(tm) ¥­¡¼¤ò»È¤¦¤³¤È¤Ï¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«?

8.1. X ¤òÆ°¤«¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?

¤â¤Ã¤È¤â´Êñ¤ÊÊýË¡¤Ï FreeBSD ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ÎºÝ¤Ë X ¤òÆ°¤«¤¹¤³¤È¤ò»ØÄꤹ¤ë¤À¤±¤Ç¤¹¡£

¤½¤ì¤«¤é xf86config ¥Ä¡¼¥ë¤Î¥É¥­¥å¥á¥ó¥È¤òÆɤó¤Ç¤³¤ì¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¥Ä¡¼¥ë¤Ï¤¢¤Ê¤¿¤Î¥°¥é¥Õ¥£¥Ã¥¯¥«¡¼¥É¤ä¥Þ¥¦¥¹¤Ê¤É¤Ë¹ç¤ï¤»¤Æ XFree86(tm) ¤ÎÀßÄê¤ò¹Ô¤¦¤Î¤ò½õ¤±¤Æ¤¯¤ì¤Þ¤¹¡£

Xaccel ¥µ¡¼¥Ð¡¼¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤Æ¤ß¤ë¤Î¤â¤¤¤¤¤Ç¤·¤ç¤¦¡£ ¾Ü¤·¤¯¤Ï Xi Graphics ¤Ë¤Ä¤¤¤Æ ¤« Metro Link ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

8.2. X ¤ò¼Â¹Ô¤·¤è¤¦¤È¤·¤Æ startx ¤ÈÆþÎϤ·¤¿¤Î¤Ç¤¹¤¬¡¢ “KDENABIO failed (Operation not permitted)” ¤È¤¤¤¦¥¨¥é¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ²¿¤«¤ª¤«¤·¤Ê¤³¤È¤ò¤ä¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ó¤Ç¤·¤ç¤¦¤«?

¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ï¹â¤¤¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ç±¿ÍѤµ¤ì¤Æ¤¤¤Þ¤¹¤Í? ¼Â¤Ï¡¢¹â¤¤¥»¥­¥å¥¢¥ì¥Ù¥ë¤Ç X ¤òµ¯Æ°¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¤Î¤Ç¤¹¡£ ¤É¤¦¤·¤Æ¤Ê¤Î¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢init(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

¤Ç¤Ï¡¢Âå¤ï¤ê¤Ë¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Î¤«¤ªÅú¤¨¤·¤Þ¤·¤ç¤¦¡£ ´ðËÜŪ¤Ë 2 ¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ °ì¤Ä¤Ï¥»¥­¥å¥¢¥ì¥Ù¥ë¤ò 0 ¤Ë¤¹¤ë (Ä̾¤³¤ì¤Ï /etc/rc.conf ¤Ç»ØÄꤷ¤Þ¤¹) ¤³¤È¡¢ ¤â¤¦°ì¤Ä¤Ïµ¯Æ°»þ (¥»¥­¥å¥¢¥ì¥Ù¥ë¤ò¾å¤²¤ëÁ°) ¤Ë xdm(1) ¤ò¼Â¹Ô¤¹¤ë¤«¤Ç¤¹¡£

µ¯Æ°»þ¤Ë xdm(1) ¤ò¼Â¹Ô¤¹¤ëÊýË¡¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ 問: 8.8. ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

8.3. »ä¤Î¥Þ¥¦¥¹¤Ï¤Ê¤¼ X ¤ÇÆ°¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?

syscons (¥Ç¥Õ¥©¥ë¥È¤Î¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð) ¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¤½¤ì¤¾¤ì¤Î²¾ÁÛ¥¹¥¯¥ê¡¼¥ó¤Ç¥Þ¥¦¥¹¥Ý¥¤¥ó¥¿¡¼¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë FreeBSD ¤òÀßÄê¤Ç¤­¤Þ¤¹¡£X ¤Ç¤Î¥Þ¥¦¥¹¤Î¾×ÆͤòÈò¤±¤ë¤¿¤á¤Ë¡¢syscons ¤Ï /dev/sysmouse ¤È¤¤¤¦²¾ÁۥǥХ¤¥¹¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ËÜʪ¤Î¥Þ¥¦¥¹¥Ç¥Ð¥¤¥¹¤«¤éÆþÎϤµ¤ì¤¿¤¹¤Ù¤Æ¤Î¥Þ¥¦¥¹¤Î¥¤¥Ù¥ó¥È¤Ï¡¢ moused ¤ò·Ðͳ¤·¤Æ sysmouse ¥Ç¥Ð¥¤¥¹¤Ø½ÐÎϤµ¤ì¤Þ¤¹¡£ °ì¤Ä°Ê¾å¤Î²¾ÁÛ¥³¥ó¥½¡¼¥ë¤È X ¤Î ξÊý¤Ç ¥Þ¥¦¥¹¤ò»È¤¤¤¿¤¤¾ì¹ç¡¢ 問: 2.11. ¤ò»²¾È¤·¤Æ moused ¤òÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

¤½¤·¤Æ¡¢/etc/XF86Config ¤òÊÔ½¸¤·¡¢ ¼¡¤Î¤è¤¦¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

Section         Pointer
Protocol        "SysMouse"
Device          "/dev/sysmouse"
.....

¾å¤ÎÎã¤Ï¡¢XFree86 3.3.2 °Ê¹ß¤Î¾ì¹ç¤ÎÎã¤Ç¤¹¡£ ¤½¤ì¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ Protocol ¤È¤¤¤¦Éôʬ¤ò MouseSystems ¤ÈÃÖ¤­´¹¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

X ¤Ç /dev/mouse ¤ò»È¤¦¤Î¤ò¹¥¤à¿Í¤â¤¤¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤Ï¡¢ /dev/mouse ¤ò /dev/sysmouse (sysmouse(4) »²¾È) ¤Ë¥ê¥ó¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£

# cd /dev
# rm -f mouse
# ln -s sysmouse mouse

8.4. ¤ï¤¿¤·¤Î¥Þ¥¦¥¹¤Ë¤Ï¥Û¥¤¡¼¥ëµ¡Ç½¤¬ÉÕ¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢X ¤Ç»È¤¦¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

¤Ï¤¤¡¢¤â¤Á¤í¤ó»È¤¨¤Þ¤¹¤¬¡¢¤½¤Î¤¿¤á¤Ë¤Ï X ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤òŬÀÚ¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ë¤Ä¤¤¤Æ¤Ï¡¢ Colas Nahaboo »á¤Î¥¦¥§¥Ö¥Ú¡¼¥¸(http://www.inria.fr/koala/colas/mouse-wheel-scroll/) ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

imwheel ¤È¤¤¤¦¥×¥í¥°¥é¥à¤ò»È¤¦¾ì¹ç¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ê´Êñ¤Ê¼ê½ç¤Ë¤·¤¿¤¬¤Ã¤Æ¤¯¤À¤µ¤¤¡£

  1. ¥Û¥¤¡¼¥ë¥¤¥Ù¥ó¥È¤ÎÊÑ´¹

    imwheel ¤Ï¡¢ ¥Þ¥¦¥¹¤Î¥Ü¥¿¥ó 4¡¢¥Ü¥¿¥ó 5 ¤ò¥­¡¼²¡²¼¥¤¥Ù¥ó¥È¤ËÊÑ´¹¤¹¤ë¥×¥í¥°¥é¥à¤Ç¤¹¡£ ¤½¤Î¤¿¤á¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ÇÍøÍѤ¹¤ë¤Ë¤Ï¡¢¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤Î¥¤¥Ù¥ó¥È¤ò¥Ü¥¿¥ó 4¡¢ ¥Ü¥¿¥ó 5 ¤Î¥¤¥Ù¥ó¥È¤ËÊÑ´¹¤¹¤ë¥Þ¥¦¥¹¥É¥é¥¤¥Ð¤òÍøÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÊÑ´¹¤ò¹Ô¤Ê¤¦¤Ë¤ÏÆó¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ °ì¤Ä¤Ï moused(8) ¤Ç¹Ô¤Ê¤¦ÊýË¡¡¢Æó¤Ä¤á¤Ï X ¥µ¡¼¥Ð¼«¿È¤ËÊÑ´¹¤ò¹Ô¤Ê¤ï¤»¤ëÊýË¡¤Ç¤¹¡£

    1. ¥Û¥¤¡¼¥ë¥¤¥Ù¥ó¥È¤ÎÊÑ´¹¤Ë moused(8) ¤ò»È¤¦

      moused(8) ¤Ë¥¤¥Ù¥ó¥È¤òÊÑ´¹¤µ¤»¤ë¤Ë¤Ï¡¢ moused(8) µ¯Æ°»þ¤Ë¥ª¥×¥·¥ç¥ó -z 4 ¤òÄɲä·¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢ÉáÃÊ moused(8) ¤ò moused -p /dev/psm0 ¤È¤·¤Æµ¯Æ°¤·¤Æ¤¤¤ë¤Ê¤é¡¢¤½¤ÎÂå¤ï¤ê¤Ë moused -p /dev/psm0 -z 4 ¤È¤·¤Þ¤¹¡£ ¤â¤·¡¢ /etc/rc.conf ¤ò»È¤Ã¤Æ¼«Æ°Åª¤Ëµ¯Æ°¤¹¤ë¤è¤¦¤ËÀßÄꤷ¤Æ¤¤¤ë¤Ê¤é¡¢ /etc/rc.conf ¤ÎÃæ¤Î moused_flags ¤È¤¤¤¦ÊÑ¿ô¤Ë -z 4 ¤òÄɲ乤ë¤À¤±¤Ç¤¹¡£

      ¤½¤·¤Æ¡¢5 ¥Ü¥¿¥ó¥Þ¥¦¥¹¤ò»È¤¦¤³¤È¤ò X ¥µ¡¼¥Ð¤ËÅÁ¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤ò¹Ô¤Ê¤¦¤Ë¤Ï /etc/XF86Config ¤Î “Pointer” ¥»¥¯¥·¥ç¥ó¤Ë Buttons 5 ¤È¤¤¤¦¹Ô¤òÄɲ乤ë¤À¤±¤Ç¤¹¡£ ¤½¤¦¤¹¤ë¤È /etc/XF86Config ¤Î “Pointer” ¤Ï¡¢ ¤¿¤È¤¨¤Ð¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

      例 8-1. moused ¤Ë¤è¤ëÊÑ´¹¤òÍøÍѤ·¤Æ¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ò »ÈÍѤ¹¤ë¤¿¤á¤Î XFree86 3.3.x ·ÏÎó¤Î XF86Config ¤Î “Pointer” ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã

      Section "Pointer"
         Protocol        "SysMouse"
         Device          "/dev/sysmouse"
         Buttons         5
      EndSection
      

      例 8-2. ¼«Æ°Åª¤Ê¥×¥í¥È¥³¥ëǧ¼±µ¡Ç½¤ª¤è¤Ó¥Ü¥¿¥óÇÛÃÖÊÑ´¹µ¡Ç½¤ò ÍøÍѤ·¡¢¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ò»ÈÍѤ¹¤ë¤¿¤á¤Î XFree86 4.x ·ÏÎó¤Î XF86Config ¤Î “InputDevice” ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã

      Section "InputDevice"
         Identifier      "Mouse1"
         Driver          "mouse"
         Option          "Protocol" "auto"
         Option          "Device" "/dev/psm0"
         Option          "Buttons" "5"
         Option          "ZAxisMapping" "4 5"
      EndSection
      

      例 8-3. ¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤Ç Emacs ¾å¤Ç¤Î¥Ú¡¼¥¸¥¹¥¯¥í¡¼¥ë¤ò ¹Ô¤¦¤¿¤á¤Î “.emacs” ¤ÎÀßÄêÎã

      ;; wheel mouse
      (global-set-key [mouse-4] 'scroll-down)
      (global-set-key [mouse-5] 'scroll-up)
      
    2. X ¥µ¡¼¥Ð¤ò»È¤Ã¤¿¥Û¥¤¡¼¥ë¥¤¥Ù¥ó¥È¤ÎÊÑ´¹

      moused(8) ¤òµ¯Æ°¤·¤Æ¤¤¤Ê¤«¤Ã¤¿¤ê¡¢ ¥Û¥¤¡¼¥ë¥¤¥Ù¥ó¥È¤ÎÊÑ´¹¤Ë moused(8) ¤òµ¯Æ°¤·¤¿¤¯¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¤½¤ÎÂå¤ï¤ê¤Ë X ¥µ¡¼¥Ð¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤³¤ì¤Ë¤Ï¡¢/etc/XF86Config ¥Õ¥¡¥¤¥ë¤ò½ñ¤­´¹¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤Þ¤ººÇ½é¤ËɬÍפʤΤϡ¢ ¥Þ¥¦¥¹¤¬¤É¤Î¥×¥í¥È¥³¥ë¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤«¤ò³Îǧ¤¹¤ë¤³¤È¤Ç¤¹¡£ ¤Û¤È¤ó¤É¤Î¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤Ï “IntelliMouse” ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¤¬¡¢ XFree86 ¥µ¡¼¥Ð¤Ï¤½¤Î¾¤Î¥×¥í¥È¥³¥ë¡¢ ¤¿¤È¤¨¤Ð Logitech MouseMan+ ¥Þ¥¦¥¹¤¬ÍøÍѤ·¤Æ¤¤¤ë “MouseManPlusPS/2” ¥×¥í¥È¥³¥ë¤Ê¤É¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ »ÈÍѤµ¤ì¤Æ¤¤¤ë¥×¥í¥È¥³¥ë¤¬³Îǧ¤Ç¤­¤¿¤é “Pointer” ¥»¥¯¥·¥ç¥ó¤Ë Protocol ¤Î¹Ô¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

      ¤Ä¤®¤Ë¡¢ ¥Û¥¤¡¼¥ë¤Î¥¹¥¯¥í¡¼¥ë¥¤¥Ù¥ó¥È¤ò¥Þ¥¦¥¹¥Ü¥¿¥ó 4¡¢ ¥Þ¥¦¥¹¥Ü¥¿¥ó 5 ¤Ë³ä¤êÅö¤Æ¤ë¤³¤È¤ò X ¥µ¡¼¥Ð¤ËÅÁ¤¨¤Þ¤¹¡£ ¤³¤ì¤ò¹Ô¤Ê¤¦¤Ë¤Ï ZAxisMapping ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£

      ¤¿¤È¤¨¤Ð¡¢moused(8) ¤¬µ¯Æ°¤·¤Æ¤¤¤Ê¤¤¾õÂ֤ǡ¢ PS/2 ¥Þ¥¦¥¹¥Ý¡¼¥È¤Ë IntelliMouse ¤¬Àܳ¤µ¤ì¤Æ¤¤¤ë¤È¤·¤¿¤é /etc/XF86Config ¤Ï¤ª¤½¤é¤¯¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

      例 8-4. X ¥µ¡¼¥Ð¤Ë¤è¤ëÊÑ´¹¤òÍøÍѤ·¤Æ¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤ò»ÈÍѤ¹¤ë¤¿¤á¤Î XF86Config ¤Î “Pointer” ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã

      Section "Pointer"
         Protocol        "IntelliMouse"
         Device          "/dev/psm0"
         ZAxisMapping    4 5
      EndSection
      
  2. imwheel ¤Î¥¤¥ó¥¹¥È¡¼¥ë

    ¤µ¤Æ¡¢¤Ä¤®¤Ë Ports Collection ¤«¤é imwheel ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£ ¤³¤ì¤¬¤¢¤ë¤Î¤Ï x11 ¥«¥Æ¥´¥ê¤Ç¤¹¡£ ¤³¤Î¥×¥í¥°¥é¥à¤Ï¡¢ ¥Þ¥¦¥¹¥¤¥Ù¥ó¥È¤ò¥­¡¼¥Ü¡¼¥É¥¤¥Ù¥ó¥È¤ËÊÑ´¹¤·¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤òÁ°¤Ë²ó¤·¤¿»þ¡¢ imwheel ¤Ï PageUp ¤ò¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¤ËÁ÷¤ë¤è¤¦¤ÊÆ°ºî¤ò¤¹¤ë¤ï¤±¤Ç¤¹¡£ Imwheel ¤Ï¥Û¥¤¡¼¥ë¥¤¥Ù¥ó¥È¤È¥­¡¼¥Ü¡¼¥É²¡²¼¤ÎÂбþ¤òÀßÄê¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤ÆÀßÄꤹ¤ë¤¿¤á¡¢ ¥¢¥×¥ê¥±¡¼¥·¥ç¥óËè¤Ë°Û¤Ê¤ëÂбþ¤ò»ý¤¿¤»¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£ imwheel ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ï /usr/X11R6/etc/imwheelrc ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£ ¤³¤ì¤ò ~/.imwheelrc ¤Ë¥³¥Ô¡¼¤·¤ÆÊÔ½¸¤·¡¢ ¤ª¹¥¤­¤Ê¤è¤¦¤Ë imwheel ¤ÇÍøÍѤ·¤¿¤¤¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÎÀßÄê¤ò¥«¥¹¥¿¥Þ¥¤¥º¤·¤Æ¤¯¤À¤µ¤¤¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤Î½ñ¼°¤Ï imwheel(1) ¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

  3. Emacs ¤Ç Imwheel ¤ò»È¤¦¤è¤¦¤ËÀßÄꤹ¤ë (ɬ¿Ü¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)

    emacs ¤ä Xemacs ¤ÇÍøÍѤ¹¤ë¤Ë¤Ï¡¢ ~/.emacs ¤Ë¤¤¤¯¤é¤«½ñ¤­²Ã¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ emacs ¤Î¾ì¹ç¤Ï¼¡¤ÎÉôʬ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

    例 8-5. Imwheel ¤òÍøÍѤ¹¤ë¤¿¤á¤Î Emacs ¤ÎÀßÄêÎã

    ;;; For imwheel
    (setq imwheel-scroll-interval 3)
    (defun imwheel-scroll-down-some-lines ()
      (interactive)
      (scroll-down imwheel-scroll-interval))
    (defun imwheel-scroll-up-some-lines ()
      (interactive)
      (scroll-up imwheel-scroll-interval))
    (global-set-key [?\M-\C-\)] 'imwheel-scroll-up-some-lines)
    (global-set-key [?\M-\C-\(] 'imwheel-scroll-down-some-lines)
    ;;; end imwheel section
    

    Xemacs ¤Î¾ì¹ç¤Ï ~/.emacs ¤Ë¼¡¤ÎÉôʬ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

    例 8-6. Imwheel ¤òÍøÍѤ¹¤ë¤¿¤á¤Î XEmacs ¤ÎÀßÄêÎã

    ;;; For imwheel
    (setq imwheel-scroll-interval 3)
    (defun imwheel-scroll-down-some-lines ()
      (interactive)
      (scroll-down imwheel-scroll-interval))
    (defun imwheel-scroll-up-some-lines ()
      (interactive)
      (scroll-up imwheel-scroll-interval))
    (define-key global-map [(control meta \))] 'imwheel-scroll-up-some-lines)
    (define-key global-map [(control meta \()] 'imwheel-scroll-down-some-lines)
    ;;; end imwheel section
    
  4. Imwheel ¤Î¼Â¹Ô

    ¥¤¥ó¥¹¥È¡¼¥ë¤¬´°Î»¤·¤Æ¤¤¤ì¤Ð¡¢Ã±¤Ë xterm (ÌõÃí: ÆüËܸì´Ä¶­¤Ç¹­¤¯»È¤ï¤ì¤Æ¤¤¤ë kterm ¤Ç¤â¹½¤¤¤Þ¤»¤ó) ¤«¤é imwheel ¤òÆþÎϤ¹¤ë¤À¤±¤Çµ¯Æ°¤Ç¤­¤Þ¤¹¡£ µ¯Æ°¤¹¤ë¤È¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤ÇÆ°ºî¤·¡¢¤¹¤°¤ËÍøÍѤǤ­¤Þ¤¹¡£ imwheel ¤ò¤¤¤Ä¤â»È¤¦¤è¤¦¤ËÀßÄꤹ¤ë¤Ë¤Ï¡¢ .xinitrc ¤« .xsession ¤Î¥Õ¥¡¥¤¥ë¤Ë¤½¤Î¤Þ¤Þ¥³¥Þ¥ó¥É¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£ imwheel ¤¬ PID ¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë·Ù¹ð¤òɽ¼¨¤¹¤ë¤«¤âÃΤì¤Þ¤»¤ó¤¬¡¢ ̵»ë¤·¤Æ¤â´í¸±¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤³¤Î·Ù¹ð¤¬°ÕÌ£¤ò»ý¤Ä¤Î¤Ï¡¢ Linux ÈǤΠimwheel ¤À¤±¤Ç¤¹¡£

8.5. X ¤Î¥á¥Ë¥å¡¼¤ä¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤¬¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£

Num Lock ¥­¡¼¤ò¥ª¥Õ¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

Num Lock ¥­¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Çµ¯Æ°»þ¤Ë¥ª¥ó¤Ë¤Ê¤ë¾ì¹ç¤Ï¡¢ XF86Config ¥Õ¥¡¥¤¥ë¤Î Keyboard ¥»¥¯¥·¥ç¥ó¤Ë°Ê²¼¤Î¹Ô¤ò²Ã¤¨¤Æ¤â¤¤¤¤¤Ç¤·¤ç¤¦¡£

# Let the server do the NumLock processing.  This should only be
# required when using pre-R6 clients
    ServerNumLock

ÌõÃí: ¤³¤ÎÌäÂê¤Ï XFree86 3.2 °Ê¹ß¤Ç¤Ï²ò·è¤·¤Æ¤¤¤Þ¤¹¡£

8.6. ²¾ÁÛ¥³¥ó¥½¡¼¥ë¤È¤Ï²¿¤Ç¤¹¤«? ¤É¤¦¤ä¤Ã¤¿¤é»È¤¨¤Þ¤¹¤«?

²¾ÁÛ¥³¥ó¥½¡¼¥ë¤Ï¡¢´Êñ¤Ë¤¤¤¦¤È¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤ä X ¤òÆ°¤«¤¹¤Ê¤É¤ÎÊ£»¨¤Ê¤³¤È¤ò¹Ô¤Ê¤ï¤º¤Ë¡¢ ¤¤¤¯¤Ä¤«¤Î¥»¥Ã¥·¥ç¥ó¤òƱ»þ¤Ë¹Ô¤Ê¤¦¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£

¥·¥¹¥Æ¥à¤Î¥¹¥¿¡¼¥È»þ¤Ë¤Ï¡¢ µ¯Æ°¥á¥Ã¥»¡¼¥¸¤¬½Ð¤¿¸å¤Ë login ¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤³¤Ç ¥í¥°¥¤¥ó̾¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ¹¤ë¤È 1 ÈÖÌܤβ¾ÁÛ¥³¥ó¥½¡¼¥ë¾å¤Ç»Å»ö (¤¢¤ë¤¤¤ÏÍ·¤Ó) ¤ò»Ï¤á¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¾¤Î¥»¥Ã¥·¥ç¥ó¤ò»Ï¤á¤¿¤¤¾ì¹ç¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£ ¤½¤ì¤ÏÆ°¤«¤·¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Î¥É¥­¥å¥á¥ó¥È¤ò¸«¤¿¤ê¡¢ FTP ¤ÎžÁ÷¤¬½ª¤ï¤ë¤Þ¤ÇÂԤĴ֡¢ ¥á¡¼¥ë¤òÆɤ⤦¤È¤·¤¿¤ê¤¹¤ë¤³¤È¤«¤â¤·¤ì¤Þ¤»¤ó¡£ Alt-F2 ¤ò²¡¤¹ (Alt ¥­¡¼¤ò²¡¤·¤Ê¤¬¤é F2 ¥­¡¼¤ò²¡¤¹) ¤È¡¢ 2 ÈÖÌܤΡֲ¾ÁÛ¥³¥ó¥½¡¼¥ë¡×¤Ç ¥í¥°¥¤¥ó¥×¥í¥ó¥×¥È¤¬ÂÔµ¡¤·¤Æ¤¤¤ë¤³¤È¤¬¤ï¤«¤ê¤Þ¤¹¡£ ºÇ½é¤Î¥»¥Ã¥·¥ç¥ó¤ËÌá¤ê¤¿¤¤¤È¤­¤Ï Alt-F1 ¤ò²¡¤·¤Þ¤¹¡£

ɸ½à¤Î FreeBSD¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤Ï¡¢ 3 Ëç (3.3-RELEASE ¤Ç¤Ï 8 Ëç) ¤Î²¾ÁÛ¥³¥ó¥½¡¼¥ë¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢ Alt-F1¡¢ Alt-F2¡¢ Alt-F3 ¤Ç²¾ÁÛ¥³¥ó¥½¡¼¥ë´Ö¤ÎÀÚÂؤ¨¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£

¤è¤ê¿¤¯¤Î²¾ÁÛ¥³¥ó¥½¡¼¥ë¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢ /etc/ttys (ttys(5) »²¾È) ¤òÊÔ½¸¤·¤Æ “Virtual terminals” ¤Î¥³¥á¥ó¥È¹Ô¤Î¸å¤Ë ttyv4 ¤«¤é ttyvc ¤Î¼êÁ°¤Þ¤Ç¤Î¥¨¥ó¥È¥ê¤ò²Ã¤¨¤Þ¤¹ (°Ê²¼¤ÎÎã¤ÏÀèƬ¤Ë¤Ï¶õÇò¤ÏÆþ¤ê¤Þ¤»¤ó)¡£

# /etc/ttys ¤Ë¤Ï ttyv3 ¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç
# "off" ¤ò "on" ¤ËÊѹ¹¤·¤Þ¤¹¡£
ttyv3   "/usr/libexec/getty Pc"         cons25  on secure
ttyv4   "/usr/libexec/getty Pc"         cons25  on secure
ttyv5   "/usr/libexec/getty Pc"         cons25  on secure
ttyv6   "/usr/libexec/getty Pc"         cons25  on secure
ttyv7   "/usr/libexec/getty Pc"         cons25  on secure
ttyv8   "/usr/libexec/getty Pc"         cons25  on secure
ttyv9   "/usr/libexec/getty Pc"         cons25  on secure
ttyva   "/usr/libexec/getty Pc"         cons25  on secure
ttyvb   "/usr/libexec/getty Pc"         cons25  on secure

¿¤¯¤¹¤ë¤«¾¯¤Ê¤¯¤¹¤ë¤«¤Ï¤¢¤Ê¤¿¤Î¼«Í³¤Ç¤¹¡£ ¤è¤ê¿¤¯¤Î²¾ÁÛ¥¿¡¼¥ß¥Ê¥ë¤ò»È¤¦¤È¤è¤ê¿¤¯¤Î¥ê¥½¡¼¥¹¤ò»È¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ 8MB °Ê²¼¤Î¥á¥â¥ê¤·¤«¤Ê¤¤¾ì¹ç¤Ï¤³¤ì¤Ï½ÅÍפÊÌäÂê¤Ç¤¹¡£ ¤â¤·É¬Íפ¬¤¢¤ì¤Ð secure ¤ò insecure ¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£

重要項目: X ¤ò»È¤¤¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ºÇÄã°ì¤Ä¤Î²¾ÁÛ¥¿¡¼¥ß¥Ê¥ë (¤Î¥¨¥ó¥È¥ê) ¤ò»È¤ï¤º¤Ë»Ä¤·¤Æ¤ª¤¯¤«¡¢ off ¤Ë¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢12 ¸Ä¤Î Alt-¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥­¡¼¤¹¤Ù¤Æ¤Ç¥í¥°¥¤¥ó¥×¥í¥ó¥×¥È¤ò ½Ð¤·¤¿¤¤¤Î¤Ê¤é¤Ð¡¢ »ÄÇ°¤Ê¤¬¤é X ¤ÏÍøÍѤǤ­¤Ê¤¤¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ Ʊ¤¸¥Þ¥·¥ó¤Ç X ¥µ¡¼¥Ð¡¼¤âÆ°¤«¤·¤¿¤¤¤Î¤Ê¤é¤Ð 11 ¸Ä¤·¤«»È¤¨¤Þ¤»¤ó¡£

²¾ÁÛ¥³¥ó¥½¡¼¥ë¤ò̵¸ú¤Ë¤¹¤ë¤â¤Ã¤È¤â´Êñ¤ÊÊýË¡¤Ï¡¢ ¥³¥ó¥½¡¼¥ë¤ò off ¤Ë¤¹¤ë¤³¤È¤Ç¤¹¡£ ¤¿¤È¤¨¤Ð 12 ¸Ä¤¹¤Ù¤Æ¤Î¥¿¡¼¥ß¥Ê¥ë¤ò³ä¤êÅö¤Æ¤Æ¤¤¤ë¾õÂÖ¤Ç X ¤òÆ°¤«¤·¤¿¤¤¤È¤­¤Ï¡¢ ²¾ÁÛ¥¿¡¼¥ß¥Ê¥ë 12 ¤òÊѹ¹¤·¤Þ¤¹¡£

ttyvb   "/usr/libexec/getty Pc"         cons25  on secure

¤³¤ì¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£

ttyvb   "/usr/libexec/getty Pc"         cons25  off secure

¥­¡¼¥Ü¡¼¥É¤Ë¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥­¡¼¤¬ 10 ¸Ä¤·¤«¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ¼¡¤Î¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡£

ttyv9   "/usr/libexec/getty Pc"         cons25  off secure
ttyva   "/usr/libexec/getty Pc"         cons25  off secure
ttyvb   "/usr/libexec/getty Pc"         cons25  off secure

(¤³¤ì¤é¤Î¹Ô¤ò¾Ã¤¹¤À¤±¤Ç¤â¤¤¤¤¤Ç¤¹¡£)

/etc/ttys ¤òÊÔ½¸¤·¤¿¤é¡¢ ¼¡¤Ï½½Ê¬¤Ê¿ô¤Î²¾ÁÛ¥¿¡¼¥ß¥Ê¥ë¥Ç¥Ð¥¤¥¹¤òºî¤é¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ¤â¤Ã¤È¤â´Êñ¤ÊÊýË¡¤ò¼¨¤·¤Þ¤¹¡£

# cd /dev
# ./MAKEDEV vty12(12 ¸Ä¤Î¥Ç¥Ð¥¤¥¹¤ò¤Ä¤¯¤ë¾ì¹ç)

¤µ¤Æ¡¢²¾ÁÛ¥³¥ó¥½¡¼¥ë¤òÍ­¸ú¤Ë¤¹¤ë¤â¤Ã¤È¤â´Êñ (¤½¤·¤Æ³Î¼Â) ¤ÊÊýË¡¤Ï¡¢ ºÆµ¯Æ°¤¹¤ë¤³¤È¤Ç¤¹¡£¤·¤«¤·¡¢ºÆµ¯Æ°¤·¤¿¤¯¤Ê¤¤¾ì¹ç¤Ï¡¢ X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤ò½ªÎ»¤µ¤»¤Æ¼¡¤ÎÆâÍƤò (root¸¢¸Â¤Ç) ¼Â¹Ô¤·¤Þ¤¹¡£

# kill -HUP 1

½ÅÍפÊÅÀ¤Ï¡¢ ¤³¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ëÁ°¤Ë X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤ò´°Á´¤Ë½ªÎ»¤µ¤»¤Æ¤ª¤¯¤³¤È¤Ç¤¹¡£ ¤â¤·¤½¤¦¤·¤Ê¤¤¤È kill ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤¿¸å¡¢ ¥·¥¹¥Æ¥à¤Ï¤ª¤½¤é¤¯¥Ï¥ó¥°¥¢¥Ã¥×¤¹¤ë¤Ç¤·¤ç¤¦¡£

8.7. X ¤«¤é²¾ÁÛ¥³¥ó¥½¡¼¥ë¤ËÀÚÂؤ¨¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤¹¤«?

²¾ÁÛ¥³¥ó¥½¡¼¥ë¤ØÌá¤ë¤Ë¤Ï Ctrl+Alt+Fn ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ºÇ½é¤Î²¾ÁÛ¥³¥ó¥½¡¼¥ë¤Ø¤Ï Ctrl+Alt+F1 ¤ÇÌá¤ì¤Þ¤¹¡£

¥Æ¥­¥¹¥È¥³¥ó¥½¡¼¥ë¤Ø°Ü¤Ã¤¿¸å¤Ï¡¢¤½¤ÎÃæ¤Ç°ÜÆ°¤¹¤ë¤Î¤Ë º£Å٤Ϥ¤¤Ä¤â¤É¤ª¤ê Alt+Fn ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

X ¤Î¥»¥Ã¥·¥ç¥ó¤ØÌá¤ë¤Ë¤Ï X ¤ÎÁö¤Ã¤Æ¤¤¤ë²¾ÁÛ¥³¥ó¥½¡¼¥ë¤Ø ÀÚ¤êÂؤ¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤â¤·¤¢¤Ê¤¿¤¬ X ¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é ¼Â¹Ô¤·¤Æ¤¤¤¿¤Î¤Ç¤¢¤ì¤Ð (¤¿¤È¤¨¤Ð startx ¤ò»È¤¦) X ¤Î¥»¥Ã¥·¥ç¥ó¤Ï¤½¤ì¤ò¼Â¹Ô¤·¤¿¥Æ¥­¥¹¥È¥³¥ó¥½¡¼¥ë¤Ç¤Ï¤Ê¤¯ ºÇ½é¤Î»È¤ï¤ì¤Æ¤¤¤Ê¤¤²¾ÁÛ¥³¥ó¥½¡¼¥ë¤Ë³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£ ¤¢¤Ê¤¿¤¬²¾ÁÛüËö¤ò 8 ¸ÄÍÑ°Õ¤·¤Æ¤¤¤ë¾ì¹ç¤Ï X ¤ò 9 ÈÖÌܤΠ¥³¥ó¥½¡¼¥ë¤Ë¤¤¤ë¤Ï¤º¤Ç¡¢ Alt+F9 ¤ò»È¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

ÌõÃí: X ¤ËÌá¤ë¤Ë¤Ï¡¢ 3 Ëç¤Î²¾ÁÛ¥³¥ó¥½¡¼¥ë¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï Alt-F4 ¤Ç¤¹¡£ Í­¸ú¤Ê²¾ÁÛ¥³¥ó¥½¡¼¥ë¤Î¿ô +1 ¤Î¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥­¡¼¤Î °ÌÃÖ¤Ë X ¤¬³ä¤êÅö¤Æ¤é¤ì¤Þ¤¹¡£

8.8. XDM ¤òµ¯Æ°»þ¤Ëµ¯Æ°¤µ¤»¤ë¤Ë¤Ï¤É¤¦¤·¤Þ¤¹¤«?

xdm ¤Îµ¯Æ°ÊýË¡¤Ë¤Ä¤¤¤Æ¤ÏÆó¤Ä¤ÎήÇɤ¬¤¢¤ê¤Þ¤¹¡£ °ìÊý¤ÎήÇɤǤÏÄ󶡤µ¤ì¤¿Îã¤ò»ÈÍѤ·¤Æ xdm ¤ò /etc/ttys (ttys(5) »²¾È) ¤«¤éµ¯Æ°¤·¡¢¤â¤¦°ìÊý¤ÎήÇÉ¤Ç¤Ï xdm ¤òñ¤Ë rc.local (rc(8) »²¾È) ¤Þ¤¿¤Ï /usr/local/etc/rc.d ¤Ë¤ª¤¤¤¿ X.sh ¥¹¥¯¥ê¥×¥È¤«¤éµ¯Æ°¤·¤Þ¤¹¡£ ¤É¤Á¤é¤âÀµ¤·¤¯¡¢ÊÒÊý¤¬Æ°ºî¤·¤Ê¤¤¾ì¹ç¤Ï¡¢¤â¤¦ÊÒÊý¤¬Æ°ºî¤¹¤ë¤Ç¤·¤ç¤¦¡£ ¤É¤Á¤é¤â¾ì¹ç¤Ç¤â·ë²Ì¤ÏƱ¤¸¤Ç¤¢¤ê¡¢X ¤Ï¥°¥é¥Õ¥£¥«¥ë¤Ê login: ¥×¥í¥ó¥×¥È¤òɽ¼¨¤·¤Þ¤¹¡£

ttys ¤òÍøÍѤ¹¤ëÊýË¡¤ÎÍøÅÀ¤Ï¡¢ ¤É¤Î vty ¤Ç X ¤¬µ¯Æ°¤·¤¿¤«¤Îµ­Ï¿¤¬»Ä¤»¤ë¤³¤È¤È¡¢ ¥í¥°¥¢¥¦¥È»þ¤Ë X ¥µ¡¼¥Ð¤òºÆµ¯Æ°¤¹¤ëÀÕǤ¤ò init ¤Ë²¡¤·¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¤³¤È¤Ç¤·¤ç¤¦¡£

rc.local ¤«¤é¥í¡¼¥É¤µ¤ì¤ë¾ì¹ç¡¢ xdm ¤Ï°ú¿ô¤ò»ý¤¿¤º¤Ë (¤¹¤Ê¤ï¤Á¡¢¥Ç¡¼¥â¥ó¤È¤·¤Æ) µ¯Æ°¤·¤Þ¤¹¡£ xdm ¤Ï getty ¤¬µ¯Æ°¤·¤¿¸å¤Ë¥í¡¼¥É¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤½¤¦¤Ç¤Ê¤¤¤È¡¢xdm ¤Ï getty ¤È¾×Æͤ·¡¢¥³¥ó¥½¡¼¥ë¤ò¥í¥Ã¥¯¥¢¥¦¥È¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¤³¤ÎÌäÂê¤ËÂн褹¤ëºÇÁ±¤ÎÊýË¡¤Ï¡¢ µ¯Æ°¥¹¥¯¥ê¥×¥È (ÌõÃí: rc.local ¤Î¤³¤È) ¤Ç 10 ÉäۤɤΠsleep ¤ò¼Â¹Ô¤µ¤»¡¢ ¤½¤Î¸å¤Ë xdm ¤ò¥í¡¼¥É¤¹¤ë¤³¤È¤Ç¤¹¡£

/etc/ttys ¤«¤é xdm ¤òµ¯Æ°¤µ¤»¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ xdm ¤È getty ¤¬¾×Æͤ¹¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ë¤Ë¤Ï¡¢/usr/X11R6/lib/X11/xdm/Xservers ¤Ë vt ÈÖ¹æ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

:0 local /usr/X11R6/bin/X vt4

¾å¤ÎÎã¤Ï¡¢/dev/ttyv3 ¤ò X ¥µ¡¼¥Ð¤ËÂбþ¤µ¤»¤Þ¤¹¡£ÈÖ¹æ¤Ï 1 ¤«¤é»Ï¤Þ¤ê¤Þ¤¹¤Î¤ÇÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ X ¥µ¡¼¥Ð¤Ï vty ¤ò 1 ¤«¤é¿ô¤¨¤Þ¤¹¤¬¡¢ FreeBSD ¥«¡¼¥Í¥ë¤Ï vty ¤ò 0 ¤«¤é¿ô¤¨¤Þ¤¹¡£

8.9. xconsole ¤òÆ°¤«¤½¤¦¤È¤¹¤ë¤È “Couldn't open console” ¤È¥¨¥é¡¼¤¬½Ð¤Þ¤¹¡£

X ¤ò startx ¤Çµ¯Æ°¤·¤Þ¤¹¤È¡¢/dev/console ¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ï Êѹ¹¤Ç¤­¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ xterm -C ¤ä xconsole ¤ÏÆ°¤­¤Þ¤»¤ó¡£

¤³¤ì¤Ï¥³¥ó¥½¡¼¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤¬¡¢ ɸ½à¤Ç¤Ï¤½¤Î¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£ ¥Þ¥ë¥Á¥æ¡¼¥¶¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ ¥æ¡¼¥¶¤Îï¤â¤¬¥·¥¹¥Æ¥à¥³¥ó¥½¡¼¥ë¤Ë½ñ¤­¹þ¤à¤³¤È¤¬²Äǽ¤Ç¤¢¤ëɬÍפÏɬ¤º¤·¤â¤¢¤ê¤Þ¤»¤ó¡£ VTY ¤ò»È¤¤Ä¾ÀÜ¥Þ¥·¥ó¤Ë¥í¥°¥¤¥ó¤¹¤ë¥æ¡¼¥¶¤Î¤¿¤á¤Ë¡¢ ¤³¤Î¤è¤¦¤ÊÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤Ë fbtab(5) ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£

Í×ÅÀ¤ò½Ò¤Ù¤ë¤È¡¢¼¡¤Î¤è¤¦¤Ê·Á¼°¤Î¹Ô¤ò /etc/fbtab (fbtab(5) »²¾È) ¤Ë²Ã¤¨¤Þ¤¹¡£

/dev/ttyv0 0600 /dev/console

¤½¤¦¤¹¤ë¤È¡¢ /dev/ttyv0 ¤«¤é¥í¥°¥¤¥ó¤·¤¿¥æ¡¼¥¶¤¬ ¥³¥ó¥½¡¼¥ë¤ò½êÍ­¤¹¤ë¤³¤È¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

8.10. ¤ï¤¿¤·¤Ï¤¤¤Ä¤â XFree86 ¤ò°ìÈ̥桼¥¶¤«¤éµ¯Æ°¤·¤Æ¤¤¤¿¤Î¤Ç¤¹¤¬¡¢ ºÇ¶á¤Ë¤Ê¤Ã¤Æ root ¥æ¡¼¥¶¤Ç¤Ê¤±¤ì¤Ð¤Ê ¤é¤Ê¤¤¤È¸À¤ï¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¤¹¤Ù¤Æ¤Î X ¥µ¡¼¥Ð¤Ï¡¢ ¥Ó¥Ç¥ª¥Ï¡¼¥É¥¦¥§¥¢¤ËľÀÜ¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë root ¥æ¡¼¥¶¤Ç¼Â¹Ô¤µ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î XFree86 (<= 3.3.6) ¤Ë´Þ¤Þ¤ì¤ë¤¹¤Ù¤Æ¤Î¥µ¡¼¥Ð¤Ï¡¢ ¼«Æ°Åª¤Ë root ¸¢¸Â¤Ç¼Â¹Ô¤µ¤ì¤ë¤è¤¦¤Ë (root ¥æ¡¼¥¶¤Ë setuid ¤µ¤ì¤Æ) ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£ X ¥µ¡¼¥Ð¤ÏÂ礭¤¯Ê£»¨¤Ê¥×¥í¥°¥é¥à¤Ç¤¢¤ê¡¢ ¤³¤ì¤ÏÌÀ¤é¤«¤Ë¥»¥­¥å¥ê¥Æ¥£¤ò´í¸±¤Ë»¯¤¹Í×°ø¤È¤Ê¤ê¤Þ¤¹¡£ ¤½¤Î¤¿¤á¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î XFree86 ¤Ç¤Ï¡¢ ¥µ¡¼¥Ð¤ò root ¥æ¡¼¥¶¤Ë setuid ¤·¤Ê¤¤¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

X ¥µ¡¼¥Ð¤ò root ¥æ¡¼¥¶¤ÇÆ°¤«¤¹¤È¤¤¤¦¤Î¤Ï¡¢ ÌÀ¤é¤«¤Ë¥»¥­¥å¥ê¥Æ¥£Åª¤ËÉÔŬÅö¤Ç¼õ¤±Æþ¤ì¤é¤ì¤Ê¤¤¤³¤È¤Ç¤¹¡£ X ¤ò°ìÈ̥桼¥¶¤Ç¼Â¹Ô¤¹¤ë¤Ë¤Ï¡¢Æó¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ °ì¤Ä¤Ï xdm ¤ä¡¢¤½¤Î¾¤Î¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã (¤¿¤È¤¨¤Ð kdm ¤Ê¤É) ¤ò»È¤¦¤³¤È¡¢ ¤â¤¦°ì¤Ä¤Ï Xwrapper ¤ò»È¤¦¤³¤È¤Ç¤¹¡£

xdm ¤Ï¡¢ ¥°¥é¥Õ¥£¥«¥ë¤Ê¥í¥°¥¤¥ó²èÌ̤ò°·¤¦¥Ç¡¼¥â¥ó¤Ç¤¹¡£ Ä̾µ¯Æ°»þ¤Ë¼Â¹Ô¤µ¤ì¡¢ ³Æ¥æ¡¼¥¶¤Îǧ¾Ú¤È¥æ¡¼¥¶¥»¥·¥ç¥ó¤ò³«»Ï¤µ¤»¤ëµ¡Ç½¤ò¼Â¸½¤·¤Þ¤¹¡£ ´ðËÜŪ¤Ë¡¢getty ¤È login ¤Î¥°¥é¥Õ¥£¥Ã¥¯ÈÇ¡¢¤È¹Í¤¨¤ÆÎɤ¤¤Ç¤·¤ç¤¦¡£ xdm ¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ XFree86 ´ØϢʸ½ñ ¤ª¤è¤Ó FAQ ¹àÌܤò¤´Í÷¤¯¤À¤µ¤¤¡£

Xwrapper ¤È¤Ï¡¢X ¥µ¡¼¥ÐÍѤΥé¥Ã¥Ñ (wrapper) ¤Î¤³¤È¤Ç¤¹¡£ ¤³¤ì¤ÏɬÍפʥ»¥­¥å¥ê¥Æ¥£¤ò³ÎÊݤ·¤Ä¤Ä¡¢°ìÈ̥桼¥¶¤¬ X ¥µ¡¼¥Ð¤ò¼Â¹Ô¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¾®¤µ¤Ê¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¡¢ ¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¤ÎÀµÅöÀ­¥Á¥§¥Ã¥¯¤ò¹Ô¤Ê¤¤¡¢ ¤½¤ì¤òÄ̲᤹¤ì¤ÐŬÀÚ¤Ê X ¥µ¡¼¥Ð¤òµ¯Æ°¤·¤Þ¤¹¡£ ²¿¤é¤«¤ÎÍýͳ¤Ç¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã¤ò»È¤¤¤¿¤¯¤Ê¤¤¾ì¹ç¤Ë ¤³¤ì¤ò»È¤¦¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£ Ports Collection Á´ÂΤò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤ì¤Ð¡¢ /usr/ports/x11/wrapper ¤Ë¤¢¤ê¤Þ¤¹¡£

8.11. »ä¤Î PS/2 ¥Þ¥¦¥¹¤Ï X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¾å¤Ç¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£

¤¢¤Ê¤¿¤Î¥Þ¥¦¥¹¤È¥Þ¥¦¥¹¥É¥é¥¤¥Ð¤¬¤¦¤Þ¤¯Æ±´ü¤·¤Æ¤¤¤Ê¤¤¤«¤é¤«¤â¤·¤ì¤Þ¤»¤ó¡£

FreeBSD 2.2.5 ¤Þ¤Ç¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢X ¤«¤é²¾ÁÛ¥¿¡¼¥ß¥Ê¥ë¤ØÀÚÂؤ¨¤Æ¡¢ ¤Þ¤¿ X ¤ØÌá¤ë¤ÈºÆƱ´ü¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤³¤ÎÌäÂ꤬¤è¤¯µ¯¤­¤ë¤è¤¦¤Ç¤¢¤ì¤Ð¡¢¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó ¥Õ¥¡¥¤¥ë¤Ë¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò½ñ¤¤¤Æ¥«¡¼¥Í¥ë¤òºÆ¹½À®¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

options PSM_CHECKSYNC

¤â¤·¡¢¥«¡¼¥Í¥ë¤ÎºÆ¹½ÃÛ¤ò¹Ô¤Ê¤Ã¤¿¤³¤È¤¬¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥«¡¼¥Í¥ë¤ò¹½ÃÛ¤¹¤ë¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê¡¢ ¥Þ¥¦¥¹¤È¥É¥é¥¤¥Ð¤ÎƱ´ü¤ÇÌäÂ꤬µ¯¤­¤ë²ÄǽÀ­¤Ï¾¯¤Ê¤¯¤Ê¤ë¤Ç¤·¤ç¤¦¡£ ¤â¤·¤½¤ì¤Ç¤â¤³¤ÎÌäÂ꤬µ¯¤­¤ë¤è¤¦¤Ê¤é¤Ð¡¢ ºÆƱ´ü¤µ¤»¤ë¤Ë¤Ï¥Þ¥¦¥¹¤òÆ°¤«¤µ¤Ê¤¤¤è¤¦¤Ë¤·¤Æ¤ª¤¤¤Æ ¥Þ¥¦¥¹¥Ü¥¿¥ó¤Î¤É¤ì¤«¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£

¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï»ÄÇ°¤Ê¤¬¤é¤¹¤Ù¤Æ¤Î¥·¥¹¥Æ¥à¤ÇƯ¤¯¤ï¤±¤Ç¤Ï¤Ê¤¯¡¢ ¤Þ¤¿¡¢PS/2 ¥Þ¥¦¥¹¥Ý¡¼¥È¤Ë¤Ä¤Ê¤¬¤ì¤Æ¤¤¤ë¤Î¤¬ ¥¿¥Ã¥× (tap) µ¡Ç½¤ò»ý¤Ä ¥¢¥ë¥×¥¹¼ÒÀ½ GlidePoint ¥Ç¥Ð¥¤¥¹¤Î¾ì¹ç¡¢ ¥¿¥Ã¥×µ¡Ç½¤¬Ìµ¸ú¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

FreeBSD 2.2.6 °Ê¹ß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ Ʊ´ü¤Î¥Á¥§¥Ã¥¯ÊýË¡¤¬¾¯¤·²þÁ±¤µ¤ì¤¿¤Î¤Çɸ½à¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ GlidePoint ¤Ç¤â¤¦¤Þ¤¯Æ¯¤­¤Þ¤¹ (Ʊ´ü¥Á¥§¥Ã¥¯¤¬É¸½à¤Îµ¡Ç½¤Ë¤Ê¤Ã¤¿¤Î¤Ç PSM_CHECKSYNC ¥ª¥×¥·¥ç¥ó¤Ï¤³¤ì¤é¤Î¥Ð¡¼¥¸¥ç¥ó¤«¤é¤Ïºï½ü¤µ¤ì¤Þ¤·¤¿)¡£ ¤·¤«¤·¤Ê¤¬¤é¡¢ ¤Þ¤ì¤Ë¥É¥é¥¤¥Ð¤¬´Ö°ã¤Ã¤Æ (ÌõÃí: ÌäÂ꤬¤Ê¤¤¤Î¤Ë) Ʊ´ü¤Ë´Ø¤·¤ÆÌäÂ꤬¤¢¤ë¤ÈÊó¹ð¤·¡¢¥«¡¼¥Í¥ë¤«¤é

psmintr: out of sync (xxxx != yyyy)

¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½ÐÎϤµ¤ì¤Æ¡¢¥Þ¥¦¥¹¤¬Àµ¤·¤¯Æ°ºî¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ë¸«¤¨¤ë ¤³¤È¤¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£

¤â¤·¤³¤Î¤è¤¦¤Ê¤³¤È¤¬µ¯¤³¤ë¾ì¹ç¤Ë¤Ï¡¢PS/2 ¥Þ¥¦¥¹¥É¥é¥¤¥Ð¤Î¥Õ¥é¥°¤Ë 0x100 ¤ò»ØÄꤷ¤ÆƱ´ü¥Á¥§¥Ã¥¯¤ò̵¸ú¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£¥·¥¹¥Æ¥à¤Îµ¯Æ°»þ¤Ë “-c” µ¯Æ°¥ª¥×¥·¥ç¥ó¤òÍ¿¤¨¤Æ UserConfig ¤ËÆþ¤ê¤Þ¤¹¡£

boot: -c
boot: -c

UserConfig ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç°Ê²¼¤Î¤è¤¦¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

UserConfig> flags psm0 0x100
UserConfig> quit

8.12. MouseSystems ¤Î PS/2 ¥Þ¥¦¥¹¤¬¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£

MouseSystems ¤Î PS/2 ¥Þ¥¦¥¹¤Î¤¢¤ë¥â¥Ç¥ë¤Ï¡¢ ¹â²òÁüÅ٥⡼¥É¤Î¾ì¹ç¤Ë¤Î¤ßÀµ¤·¤¯Æ°ºî¤¹¤ë¤È¤¤¤¦¤³¤È¤¬Êó¹ð¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤ì°Ê³°¤Î¥â¡¼¥É¤Ç¤Ï¡¢ ¥Þ¥¦¥¹¥«¡¼¥½¥ë¤¬¤·¤ç¤Ã¤Á¤å¤¦¥¹¥¯¥ê¡¼¥óº¸¾å¤Ë¹Ô¤Ã¤Æ¤·¤Þ¤¦¤«¤â¤·¤ì¤Þ¤»¤ó¡£

»ÄÇ°¤Ê¤¬¤é FreeBSD 2.0.X ¤ä 2.1.X ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ ¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£ 2.2 ¤«¤é 2.2.5 ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ °Ê²¼¤Î¥Ñ¥Ã¥Á¤ò /sys/i386/isa/psm.c ¤ËŬÍѤ·¥«¡¼¥Í¥ë¤ÎºÆ¹½ÃÛ¤ò¹Ô¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤¡£

¤â¤·¡¢¥«¡¼¥Í¥ë¤ÎºÆ¹½ÃÛ¤ò¹Ô¤Ê¤Ã¤¿¤³¤È¤¬¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥«¡¼¥Í¥ë¤Î¹½Ãۤιà¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

@@ -766,6 +766,8 @@
     if (verbose >= 2)
         log(LOG_DEBUG, "psm%d: SET_DEFAULTS return code:%04x\n",
             unit, i);
+    set_mouse_resolution(sc->kbdc, PSMD_RES_HIGH);
+
 #if 0
     set_mouse_scaling(sc->kbdc);    /* 1:1 scaling */
     set_mouse_mode(sc->kbdc);               /* stream mode */

FreeBSD 2.2.6 °Ê¹ß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ PS/2 ¥Þ¥¦¥¹¥É¥é¥¤¥Ð¤Î¥Õ¥é¥°¤Ë 0x04 ¤ò»ØÄꤷ¤Æ¥Þ¥¦¥¹¤ò¹â²òÁüÅ٥⡼¥É¤Ë¤·¤Þ¤¹¡£ ¥·¥¹¥Æ¥à¤Îµ¯Æ°»þ¤Ë -c µ¯Æ°¥ª¥×¥·¥ç¥ó¤òÍ¿¤¨¤Æ UserConfig ¤ËÆþ¤ê¤Þ¤¹¡£

boot: -c

UserConfig ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç°Ê²¼¤Î¤è¤¦¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

UserConfig> flags psm0 0x04
UserConfig> quit

¥Þ¥¦¥¹¤Ë´Ø¤¹¤ëÉÔ¶ñ¹ç¤Î¾¤Î¸¶°ø¤Î²ÄǽÀ­¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ľÁ°¤Î¥»¥¯¥·¥ç¥ó¤â¸«¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

8.13. X ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¹½ÃÛ¤¹¤ë»þ¤Ë¡¢ imake can't find Imake.tmpl ¤È¤Ê¤ê¤Þ¤¹¡£¤É¤³¤Ë¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«?

Imake.tmpl ¤Ï X ¤Îɸ½à¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¹½Ãۥġ¼¥ë¤Ç¤¢¤ë Imake ¥Ñ¥Ã¥±¡¼¥¸¤Î°ìÉô¤Ç¤¹¡£ Imake.tmpl ¤Ï¡¢ X ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¹½ÃÛ¤ËɬÍפÊ¿¤¯¤Î¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤ÈƱÍͤˡ¢ X ¤Î¥×¥í¥°¥é¥à¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ sysinstall ¤ò»È¤¦¤«¡¢ ¼êÆ°¤Ç X ¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

8.14. ¥Þ¥¦¥¹¤Î¥Ü¥¿¥ó¤òÆþ¤ìÂؤ¨¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤¹¤«?

.xinitrc ¤« .xsession ¤Ç

xmodmap -e "pointer = 3 2 1"

¤È¤¤¤¦¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

8.15. ¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ï¤É¤¦¤¹¤ë¤Î¤Ç¤¹¤«¡£ ¤É¤³¤Ç¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤«?

FreeBSD 3.1 ¤Î¥ê¥ê¡¼¥¹Ä¾Á°¤Ë¡¢µ¯Æ°¥á¥Ã¥»¡¼¥¸¤Îɽ¼¨´ü´Ö¤Ë ¤¤¤ï¤æ¤ë "¥¹¥×¥é¥Ã¥·¥å" ¥¹¥¯¥ê¡¼¥ó¤òɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¿·¤·¤¤µ¡Ç½¤¬Äɲ䵤ì¤Þ¤·¤¿¡£ ¤¤¤Þ¤Î¤È¤³¤í¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤Ï 256 ¿§¤Î¥Ó¥Ã¥È¥Þ¥Ã¥× (*.BMP) ¤« ZSoft PCX (*.PCX) ¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ ¤½¤ì¤Ë²Ã¤¨¤Æ¡¢É¸½à¤Î VGA ¥¢¥À¥×¥¿¤Ç¤ÎÆ°ºî¤µ¤»¤ë¤Ë¤Ï 320x200 °Ê²¼¤Î²òÁüÅ٤Ǥ¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¥«¡¼¥Í¥ë¤Ë VESA ¥µ¥Ý¡¼¥È¤òÄɲ乤ì¤Ð 1024x768 ¤Þ¤Ç¤Î¤è¤êÂ礭¤¤¥Ó¥Ã¥È¥Þ¥Ã¥×¤ò»ÈÍѤǤ­¤Þ¤¹¡£ VESA ¥µ¥Ý¡¼¥È¤òÍ­¸ú²½¤¹¤ë¤Ë¤Ï¤Þ¤º¡¢ ¥«¡¼¥Í¥ë¤¬ VM86 ¥«¡¼¥Í¥ë¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ VESA ¥µ¥Ý¡¼¥È¤½¤Î¤â¤Î¤Ï VESA ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ª¥×¥·¥ç¥ó ¤Ë¤è¤Ã¤ÆľÀÜ¥«¡¼¥Í¥ëÃæ¤Ë¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤«¡¢ µ¯Æ°»þ¤Ë VESA kld ¥â¥¸¥å¡¼¥ë¤òÆɤ߹þ¤Þ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤ò»È¤¦¤Ë¤Ï¡¢ FreeBSD ¤Îµ¯Æ°¥×¥í¥»¥¹¤ò¥³¥ó¥È¥í¡¼¥ë¤¹¤ë¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤ò½ñ¤­´¹¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï FreeBSD 3.2 ¤Î¥ê¥ê¡¼¥¹°ÊÁ°¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¤Î¤Ç¡¢ ¸½ºß¤Ï¡¢¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤òÆɤ߹þ¤àÊýË¡¤¬Æó¤Ä¤¢¤ê¤Þ¤¹¡£

  • FreeBSD 3.1 ¤Î¾ì¹ç

    ¤Þ¤ººÇ½é¤Î¥¹¥Æ¥Ã¥×¤Ï¡¢ ¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×ÈǤòõ¤·¤Æ¤¯¤ë¤³¤È¤Ç¤¹¡£ 3.1-RELEASE ¤Ç¤Ï Windows ¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×·Á¼°¤Î¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤À¤±¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤ªË¾¤ß¤Î¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤ò¸«¤Ä¤±¤¿¤Ê¤é¡¢¤½¤ì¤ò /boot/splash.bmp ¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£¼¡¤Ë¡¢¤³¤ì¤é¤Î¹Ô¤¬½ñ¤«¤ì¤¿ /boot/loader.rc ¥Õ¥¡¥¤¥ë¤¬É¬ÍפǤ¹¡£

    load kernel
    load -t splash_image_data /boot/splash.bmp
    load splash_bmp
    autoboot
    
  • FreeBSD 3.2 °Ê¹ß¤Î¾ì¹ç

    PCX ·Á¼°¤Î¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤Î¥µ¥Ý¡¼¥È¤¬Äɲ䵤ì¤ë¤ÈƱ»þ¤Ë¡¢ FreeBSD 3.2 ¤Ë¤Ïµ¯Æ°¥×¥í¥»¥¹¤òÀßÄꤹ¤ë¡¢ ¤è¤êÀöÎý¤µ¤ì¤¿ÊýË¡¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤â¤·¤ªË¾¤ß¤Ê¤é¡¢¾å¤Ë¼¨¤·¤¿ FreeBSD 3.1 ÍѤÎÊýË¡¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¤â¤·¤½¤¦¤·¤¿¤¯¤Æ¡¢¤«¤Ä PCX ·Á¼°¤ò»È¤¤¤¿¤¤¤Ê¤é¡¢ splash_bmp ¤ò splash_pcx ¤ÈÆɤߴ¹¤¨¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤¦¤Ç¤Ï¤Ê¤¯¤Æ¡¢¿·¤·¤¤µ¯Æ°ÀßÄêÊýË¡¤ò»È¤¦¤Î¤Ê¤é¡¢ ¼¡¤Î¿ô¹Ô¤¬½ñ¤«¤ì¤¿ /boot/loader.rc ¥Õ¥¡¥¤¥ë¤È¡¢

    include /boot/loader.4th
    start
    

    ¼¡¤Î¿ô¹Ô¤¬´Þ¤Þ¤ì¤¿ /boot/loader.conf ¥Õ¥¡¥¤¥ë¤òºî¤ë¤³¤È¤¬É¬ÍפǤ¹¡£

    splash_bmp_load="YES"
    bitmap_load="YES"
    

    ¤³¤ÎÎã¤Ç¤Ï¡¢¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤È¤·¤Æ /boot/splash.bmp ¤ò»È¤¦¤³¤È¤òÁÛÄꤷ¤Æ¤¤¤Þ¤¹¡£PCX ·Á¼°¤Î¥Õ¥¡¥¤¥ë¤ò»È¤¦¾ì¹ç¤Ë¤Ï¡¢ ¤½¤Î¥Õ¥¡¥¤¥ë¤ò /boot/splash.pcx ¤Ë¥³¥Ô¡¼¤·¤Æ¡¢ ¾å¤Ç¼¨¤·¤¿¤è¤¦¤Ë /boot/loader.rc ¤òºî¤ê¤Þ¤¹¡£ ¤½¤·¤Æ¡¢¼¡¤ÎÆâÍƤΠ/boot/loader.conf ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òºî¤Ã¤Æ¤¯¤À¤µ¤¤¡£

    splash_pcx_load="YES"
    bitmap_load="YES"
    bitmap_name="/boot/splash.pcx"
    

¤µ¤Æ¡¢¤¢¤È¤Ï¥¹¥×¥é¥Ã¥·¥å¥¹¥¯¥ê¡¼¥ó¤òÍÑ°Õ¤¹¤ë¤À¤±¤Ç¤¹¡£ ¤½¤ì¤Ë¤Ï http://www.baldwin.cx/splash/ ¤Î¥®¥ã¥é¥ê¡¼¤ò¥µ¡¼¥Õ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

8.16. X ¤Ç Windows(tm) ¥­¡¼¤ò»È¤¦¤³¤È¤Ï¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«?

¤Ï¤¤¡¢¤â¤Á¤í¤ó¡£ ¤É¤¦¤¤¤¦Æ°ºî¤ò¤¹¤ë¤«¤Ë¤Ä¤¤¤ÆÄêµÁ¤¹¤ë¤Ë¤Ï xmodmap(1) ¤ò»È¤¤¤Þ¤¹¡£

ɸ½àŪ¤Ê "Windows(tm)" ¥­¡¼¥Ü¡¼¥É¤Î¾ì¹ç¡¢ Âбþ¤¹¤ë¥­¡¼¥³¡¼¥É¤Ï 3 ¼ïÎढ¤ê¤Þ¤¹¡£

  • 115 - º¸¤Î Ctrl ¤È Alt ¤Î´Ö¤Ë¤¢¤ë Windows(tm) ¥­¡¼

  • 116 - ±¦¤Î Alt ¤È Gr ¤Î´Ö¤Ë¤¢¤ë Windows(tm) ¥­¡¼

  • 117 - ±¦¤Î Ctrl ¤Îº¸Î٤ˤ¢¤ë¥á¥Ë¥å¡¼¥­¡¼

º¸¤Ë¤¢¤ë Windows(tm) ¥­¡¼¤ò²¡¤¹¤È¥«¥ó¥Þµ­¹æ¤¬ÆþÎϤµ¤ì¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢ ¤³¤ó¤ÊÉ÷¤Ë¤·¤Þ¤¹¡£

# xmodmap -e "keycode 115 = comma"

ÀßÄê¤òÈ¿±Ç¤µ¤»¤ë¤Ë¤Ï¡¢¤ª¤½¤é¤¯¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤òºÆµ¯Æ°¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Windows(tm) ¥­¡¼¤Î¥­¡¼¥Þ¥Ã¥×¤ò X µ¯Æ°»þ¤ËËè²ó¡¢ ¼«Æ°Åª¤ËÍ­¸ú²½¤¹¤ë¤Ë¤Ï xmodmap ¥³¥Þ¥ó¥É¤ò ~/.xinitrc ¤ËÄɲ乤뤫¡¢ ¤â¤·¤¯¤Ï¤ª¤¹¤¹¤á¤Ç¤­¤ëÊýË¡¤È¤·¤Æ ~/.xmodmaprc ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Æ¡¢ ¤½¤Î¥Õ¥¡¥¤¥ë¤Î°ì¹Ô°ì¹Ô¤Ë xmodmap ¤Î¥ª¥×¥·¥ç¥ó¤òµ­½Ò¤·¡¢¼¡¤Î°ì¹Ô

xmodmap $HOME/.xmodmaprc

¤ò ~/.xinitrc ¤ËÄɲ乤ë¤È¤¤¤¦ÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£

¤¿¤È¤¨¤Ð¡¢Àè¤Û¤É¤¢¤²¤¿»°¤Ä¤Î¥­¡¼¤ò F13¡¢F14¡¢F15 ¤Ë³ä¤êÅö¤Æ¤ë¤È¤·¤Þ¤¹¡£ ¤³¤¦¤·¤Æ¤ª¤±¤Ð¡¢¸å¤Û¤É¼¨¤¹¤è¤¦¤Ë¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤ÎÊØÍø¤Êµ¡Ç½¤ò ¤½¤Î»°¤Ä¤Î¥­¡¼¤Ë´Êñ¤Ë³ä¤êÅö¤Æ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤³¤¦¤¹¤ë¤Ë¤Ï¡¢¼¡¤ÎÆâÍƤò ~/.xmodmaprc ¤ËÄɲä·¤Þ¤¹¡£

keycode 115 = F13
keycode 116 = F14
keycode 117 = F15

¤¿¤È¤¨¤Ð fvwm2 ¤ò»È¤Ã¤Æ¤¤¤¿¤é¡¢ F13 ¤ò¥«¡¼¥½¥ë²¼¤Î¥¦¥£¥ó¥É¥¦¤Î¥¢¥¤¥³¥ó²½¡¢ F14 ¤ò¥¦¥£¥ó¥É¥¦¤ÎÁ°ÌÌ/ÇØÌ̲½¡¢ F15 ¤ò¡¢¤¢¤¿¤«¤â¥Ç¥¹¥¯¥È¥Ã¥×¤Ë¥«¡¼¥½¥ë¤¬Â¸ºß¤·¤Ê¤¤¤«¤Î¤è¤¦¤Ë¡¢ ¥á¥¤¥ó¥ï¡¼¥¯¥¹¥Ú¡¼¥¹ (¥¢¥×¥ê¥±¡¼¥·¥ç¥ó) ¤Î¥á¥Ë¥å¡¼¤ò¸Æ¤Ó½Ð¤»¤ëµ¡Ç½¤Ë³ä¤êÅö¤Æ¤é¤ì¤Þ¤¹¡£ ºÇ¸å¤Îµ¡Ç½¤Ï¡¢¤½¤Î¥Ç¥¹¥¯¥È¥Ã¥×¤¬¤Þ¤Ã¤¿¤¯¸«¤¨¤Ê¤¤¤È¤­¤ËÊØÍø¤Ç¤¹¡£ (¤Þ¤¿¡¢¥­¡¼¥È¥Ã¥×¤Î¥í¥´¤Ë¤â¤Ô¤Ã¤¿¤ê¤Ç¤¹)

~/.fvwmrc ¤Î¼¡¤Î¥¨¥ó¥È¥ê¤Ï¡¢Á°½Ò¤Î ÀßÄê¤ò¼Â¸½¤·¤Þ¤¹¡£

Key F13        FTIWS    A        Iconify
Key F14        FTIWS    A        RaiseLower
Key F15        A        A        Menu Workplace Nop

第 9章¥Í¥Ã¥È¥ï¡¼¥­¥ó¥°

Ìõ: ͭ¼ ¸÷À² ¡¢ ¹­À¥ ¾»°ì ¡¢ ¤Ë¤·¤« ¡¢ ¤Ï¤é¤À ¤­¤í¤¦ ¡¢ 1998 ǯ 10 ·î 4 Æü

9.1. “¥Ç¥£¥¹¥¯¥ì¥¹¥Ö¡¼¥È (diskless boot)” ¤Ë´Ø¤¹¤ë¾ðÊó¤Ï¤É¤³¤ÇÆÀ¤é¤ì¤Þ¤¹¤«?
9.2. FreeBSD ¤ò¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥ë¡¼¥¿ (router) ¤È¤·¤Æ»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?
9.3. Win95 ¤ÎÁö¤Ã¤Æ¤¤¤ë¥Þ¥·¥ó¤ò¡¢FreeBSD ·Ðͳ¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤Ç¤­¤Þ¤¹¤«?
9.4. ISC ¤«¤é¥ê¥ê¡¼¥¹¤µ¤ì¤Æ¤¤¤ë BIND ¤ÎºÇ¿·ÈǤϥ³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¤¤ó¤Ç¤·¤ç¤¦¤«?
9.5. FreeBSD ¤Ç SLIP ¤È PPP ¤Ï»È¤¨¤Þ¤¹¤«?
9.6. FreeBSD ¤Ï NAT ¤« IP ¥Þ¥¹¥«¥ì¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?
9.7. /dev/ed0 ¥Ç¥Ð¥¤¥¹¤òºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£
9.8. Ethernet ¥¢¥É¥ì¥¹¤Î¥¨¥¤¥ê¥¢¥¹ (alias) ¤Ï¤É¤Î¤è¤¦¤Ë¤·¤ÆÀßÄê¤Ç¤­¤Þ¤¹¤«?
9.9. 3C503 ¤Ç¾¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥Ý¡¼¥È¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¤É¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¤Ç¤¹¤«?
9.10. FreeBSD ¤È¤Î´Ö¤Ç NFS ¤¬¤¦¤Þ¤¯¤Ç¤­¤Þ¤»¤ó¡£
9.11. ²¿¸Î Linux ¤Î¥Ç¥£¥¹¥¯¤ò NFS ¥Þ¥¦¥ó¥È¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?
9.12. ²¿¸Î Sun ¤Î¥Ç¥£¥¹¥¯¤ò NFS ¥Þ¥¦¥ó¥È¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?
9.13. mountd ¤«¤é “can't change attributes” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤º¤Ã¤È½Ð³¤±¤Æ¤¤¤Æ¡¢ FreeBSD ¤Î NFS ¥µ¡¼¥Ð¤Ç¤Ï “bad exports list” ¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï²¿¤¬¸¶°ø¤Ê¤Î¤Ç¤·¤ç¤¦?
9.14. PPP ¤Ç NeXTStep ¤ËÀܳ¤¹¤ëºÝ¤ËÌäÂ꤬¤¢¤ë¤Î¤Ç¤¹¤¬¡£
9.15. IP ¥Þ¥ë¥Á¥­¥ã¥¹¥È (multicast) ¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï?
9.16. DEC ¤Î PCI ¥Á¥Ã¥×¥»¥Ã¥È¤òÍѤ¤¤Æ¤¤¤ë¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤Ë¤Ï¡¢ ¤É¤Î¤è¤¦¤Êʪ¤¬¤¢¤ê¤Þ¤¹¤«?
9.17. ²¿¸Î¼«Ê¬¤Î¥µ¥¤¥È¤Î¥Û¥¹¥È¤ËÂФ·¤Æ FQDN ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ë¤Î¤Ç¤¹¤«?
9.18. ¤¹¤Ù¤Æ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÁàºî¤ËÂФ·¤Æ Permission denied ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬¡£
9.19. IPFW ¤Î¥ª¡¼¥Ð¥Ø¥Ã¥É¤Ï¤É¤Î¤¯¤é¤¤¤Ç¤·¤ç¤¦¤«?
9.20. ipfw(8) “fwd” ¥ë¡¼¥ë¤ò»È¤Ã¤Æ¾¤Î¥Þ¥·¥ó¤Ë¥µ¡¼¥Ó¥¹¤ò¥ê¥À¥¤¥ì¥¯¥È¤·¤¿¤Î¤Ç¤¹¤¬¡¢ ¤¦¤Þ¤¯Æ°¤¤¤Æ¤¯¤ì¤Ê¤¤¤è¤¦¤Ç¤¹¡£¤É¤¦¤·¤Æ¤Ê¤ó¤Ç¤·¤ç¤¦?
9.21. ¥µ¡¼¥Ó¥¹Í×µá¤ò¾¤Î¥Þ¥·¥ó¤Ë¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¤Ë¤Ï?
9.22. ¥Ð¥ó¥ÉÉý¤Î´ÉÍý¤ò¹Ô¤Ê¤¨¤ë¥Ä¡¼¥ë¤Ï¤É¤³¤Ç¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«?
9.23. BIND (named) ¤¬¡¢53 È֥ݡ¼¥È¤Î¤Û¤«¤Ë Â礭¤ÊÈÖ¹æ¤Î¥Ý¡¼¥È¤Ç¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤¹¡£»ä¤Î¥Û¥¹¥È¤Ï ¾è¤Ã¼è¤é¤ì¤¿¤Î¤Ç¤·¤ç¤¦¤«¡£
9.24. ¤Ê¤¼ “/dev/bpf0: device not configured” ¤¬½Ð¤ë¤Î¤Ç¤·¤ç¤¦¤«?
9.25. Linux ¤Î smbmount ¤Î¤è¤¦¤Ë¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î Windows ¥Þ¥·¥ó¤Î¥Ç¥£¥¹¥¯¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤·¤ç¤¦?
9.26. “icmp-response bandwidth limit 300/200 pps” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¥í¥°¥Õ¥¡¥¤¥ë¤Ë¸½¤ì¤ë¤Î¤Ç¤¹¤¬¡¢ ¤É¤¦¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦?

9.1. “¥Ç¥£¥¹¥¯¥ì¥¹¥Ö¡¼¥È (diskless boot)” ¤Ë´Ø¤¹¤ë¾ðÊó¤Ï¤É¤³¤ÇÆÀ¤é¤ì¤Þ¤¹¤«?

“¥Ç¥£¥¹¥¯¥ì¥¹¥Ö¡¼¥È (diskless boot)” ¤È¤¤¤¦¤Î¤Ï¡¢FreeBSD ¤¬¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Çµ¯Æ°¤·¡¢ ɬÍפʥե¡¥¤¥ë¤ò¼«Ê¬¤Î¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ç¤Ï¤Ê¤¯¤Æ¥µ¡¼¥Ð¤«¤éÆɤ߹þ¤à¤â¤Î¤Ç¤¹¡£ ¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡Ö¥Ç¥£¥¹¥¯¥ì¥¹¥Ö¡¼¥È¡×¤òÆɤó¤Ç¤¯¤À¤µ¤¤¡£

9.2. FreeBSD ¤ò¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥ë¡¼¥¿ (router) ¤È¤·¤Æ»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

¥¤¥ó¥¿¡¼¥Í¥Ã¥Èɸ½à¤ä¤³¤ì¤Þ¤Ç¤Î¤è¤¤·Ð¸³¤Ë¤è¤Ã¤Æ»ØŦ¤µ¤ì¤Æ¤¤¤ëÄ̤ꡢ FreeBSD ¤Ïɸ½à¤Ç¤Ï¥Ñ¥±¥Ã¥È¤òžÁ÷ (forward) ¤¹¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢ rc.conf(5) ¤ÎÃæ¤Ç¼¡¤ÎÊÑ¿ô¤ÎÃͤò YES ¤È¤¹¤ë»ö¤Ë¤è¤Ã¤Æ¤³¤Îµ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

gateway_enable=YES          # Set to YES if this host will be a gateway

¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ sysctl(8) ¤ÎÊÑ¿ô net.inet.ip.forwarding ¤¬ 1 ¤Ë¤Ê¤ê¤Þ¤¹¡£

¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢ ¥ë¡¼¥¿¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òƱ¤¸¥Í¥Ã¥È¥ï¡¼¥¯¤Î¾¤Î·×»»µ¡Åù¤ËÃΤ餻¤ë¤¿¤á¤Ë¡¢ ·ÐÏ©À©¸æ¤Î¤¿¤á¤Î¥×¥í¥»¥¹¤òÁö¤é¤»¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£ FreeBSD ¤Ë¤Ï BSD ¤Îɸ½à·ÐÏ©À©¸æ¥Ç¡¼¥â¥ó¤Ç¤¢¤ë routed(8) ¤¬ÉÕ°¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¤è¤êÊ£»¨¤Ê¾õ¶·¤ËÂн褹¤ë¤¿¤á¤Ë¤Ï GaTeD(http://www.gated.org/ ¤«¤éÆþ¼ê²Äǽ) ¤ò»ÈÍѤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ 3_5Alpha7 ¤Ë¤ª¤¤¤Æ FreeBSD ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

Ãí°Õ¤·¤Æ¤Û¤·¤¤¤Î¤Ï¡¢FreeBSD ¤ò¤³¤Î¤è¤¦¤Ë¤·¤Æ»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ç¤â¡¢ ¥ë¡¼¥¿¤Ë´Ø¤¹¤ë¥¤¥ó¥¿¡¼¥Í¥Ã¥Èɸ½à¤ÎɬÍ×¾ò·ï¤ò´°Á´¤Ë¤ÏËþ¤¿¤·¤Æ¤¤¤Ê¤¤ ¤È¤¤¤¦¤³¤È¤Ç¤¹¡£¤·¤«¤·¡¢ÉáÄ̤˻ÈÍѤ¹¤ë¾ì¹ç¤Ë¤Ï¤Û¤È¤ó¤ÉÌäÂꤢ¤ê¤Þ¤»¤ó¡£

9.3. Win95 ¤ÎÁö¤Ã¤Æ¤¤¤ë¥Þ¥·¥ó¤ò¡¢FreeBSD ·Ðͳ¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤Ç¤­¤Þ¤¹¤«?

Ä̾¤³¤Î¼ÁÌ䤬½Ð¤Æ¤¯¤ë¾õ¶·¤Ï¼«Âð¤ËÆóÂæ¤Î PC ¤¬¤¢¤ê¡¢°ìÂæ¤Ç¤Ï FreeBSD ¤¬¡¢¤â¤¦°ìÂæ¤Ç¤Ï Win95 ¤¬Áö¤Ã¤Æ¤¤¤ë¤è¤¦¤Ê¾ì¹ç¤Ç¤¹¡£ ¤³¤³¤Ç¤ä¤í¤¦¤È¤·¤Æ¤¤¤¦»ö¤Ï FreeBSD ¤ÎÁö¤Ã¤Æ¤¤¤ë·×»»µ¡¤ò¥¤¥ó¥¿¡¼¥Í¥Ã¥È ¤ËÀܳ¤·¡¢Win95 ¤ÎÁö¤Ã¤Æ¤¤¤ë¥Þ¥·¥ó¤«¤é¤Ï FreeBSD ¤ÎÁö¤Ã¤Æ¤¤¤ë¥Þ¥·¥ó¤ò·Ðͳ¤·¤ÆÀܳ¤ò¹Ô¤Ê¤¦»ö¤Ç¤¹¡£ ¤³¤ì¤ÏÆó¤ÄÁ°¤Î¼ÁÌä¤ÎÆÃÊ̤ʾì¹ç¤ËÁêÅö¤·¤Þ¤¹¡£

¡Ä¤Ç¡¢Åú¤¨¤Ï¡Ö¤Ï¤¤¡×¤Ç¤¹¡£ FreeBSD 3.x ¤Î¥æ¡¼¥¶¥â¡¼¥É ppp ¤Ë¤Ï -nat ¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£ ppp ¤ò -nat ¥ª¥×¥·¥ç¥óÉÕ¤­¤Çµ¯Æ°¤·¡¢ /etc/rc.conf ¤Ë¤¢¤ë gateway_enable ¤ò YES ¤ËÀßÄꤷ¤Þ¤¹¡£ ¤½¤·¤Æ Windows ¥Þ¥·¥ó¤òÀµ¤·¤¯ÀßÄꤹ¤ì¤Ð¡¢ ¤­¤Á¤ó¤ÈÆ°ºî¤¹¤ë¤Ç¤·¤ç¤¦¡£

ÀßÄê¤Ë´Ø¤¹¤ë¤µ¤é¤Ë¾Ü¤·¤¤¾ðÊó¤Ï¡¢ Steve Sims »á¤Ë¤è¤ë Pedantic PPP Primer ¤Ë¤¢¤ê¤Þ¤¹¡£

¥«¡¼¥Í¥ë¥â¡¼¥É ppp ¤òÍøÍѤ¹¤ë¾ì¹ç¤ä¡¢ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤È¤Î¥¤¡¼¥µ¥Í¥Ã¥ÈÀܳ¤¬ÍøÍѤǤ­¤ë¾ì¹ç¤Ï¡¢ natd ¤òÍøÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î FAQ ¤Î natd ¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

9.4. ISC ¤«¤é¥ê¥ê¡¼¥¹¤µ¤ì¤Æ¤¤¤ë BIND ¤ÎºÇ¿·ÈǤϥ³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¤¤ó¤Ç¤·¤ç¤¦¤«?

BIND ¤ÎÇÛÉÛʪ¤È FreeBSD ¤È¤Ç¤Ï cdefs.h ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¥Ç¡¼¥¿·¿¤ÎÌ·½â¤¬¤¢¤ê¤Þ¤¹¡£ compat/include/sys/cdefs.h ¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£

9.5. FreeBSD ¤Ç SLIP ¤È PPP ¤Ï»È¤¨¤Þ¤¹¤«?

»È¤¨¤Þ¤¹¡£FreeBSD ¤òÍѤ¤¤Æ¾¤Î¥µ¥¤¥È¤ËÀܳ¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢ slattach(8)¡¢sliplogin(8)¡¢ppp(8) ¤½¤·¤Æ pppd(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ppp(8) ¤È pppd(8) ¤Ï¡¢ PPP ¤Î¥µ¡¼¥Ð¡¢¥¯¥é¥¤¥¢¥ó¥ÈξÊý¤Îµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î°ìÊý¤Ç¡¢sliplogin(8) ¤Ï SLIP ¤Î¥µ¡¼¥ÐÀìÍѤǡ¢ slattach(8) ¤Ï SLIP ¤Î¥¯¥é¥¤¥¢¥ó¥ÈÀìÍѤǤ¹¡£

¤³¤ì¤é¤ò»È¤¦¤¿¤á¤Î¤µ¤é¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î PPP ¤È SLIP ¤Î¾Ï¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

¡Ö¥·¥§¥ë¥¢¥«¥¦¥ó¥È¡×¤òÄ̤¸¤Æ¤Î¤ß¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ø¥¢¥¯¥»¥¹²Äǽ¤Ê¾ì¹ç¡¢ slirp package ¤ß¤¿¤¤¤Ê¤â¤Î¤¬Íߤ·¤¯¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤Í¡£ ¤³¤ì¤ò»È¤¨¤Ð¡¢¥í¡¼¥«¥ë¥Þ¥·¥ó¤«¤éľÀÜ ftp ¤ä http ¤Î¤è¤¦¤Ê¥µ¡¼¥Ó¥¹¤Ë (¸ÂÄêŪ¤Ç¤Ï¤¢¤ê¤Þ¤¹¤¬) ¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

9.6. FreeBSD ¤Ï NAT ¤« IP ¥Þ¥¹¥«¥ì¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«?

¥í¡¼¥«¥ë¤Ê¥µ¥Ö¥Í¥Ã¥È (°ìÂæ°Ê¾å¤Î¥í¡¼¥«¥ë¥Þ¥·¥ó) ¤ò»ý¤Ã¤Æ¤¤¤ë¤¬¡¢ ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥×¥í¥Ð¥¤¥À¤«¤é 1 ¤Ä¤·¤« IP ¥¢¥É¥ì¥¹¤Î³ä¤êÅö¤Æ¤ò¼õ¤±¤Æ¤¤¤Ê¤¤¾ì¹ç (¤Þ¤¿¤Ï IP ¥¢¥É¥ì¥¹¤òưŪ¤Ë³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ç¤â)¡¢ natd(8) ¥×¥í¥°¥é¥à¤ò»È¤¤¤¿¤¯¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤Í¡£ natd ¤ò»È¤¨¤Ð¡¢ 1 ¤Ä¤·¤« IP ¥¢¥É¥ì¥¹¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤â¡¢ ¥µ¥Ö¥Í¥Ã¥ÈÁ´ÂΤò¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ËÀܳ¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

ppp(8) ¤âƱÍͤε¡Ç½¤ò»ý¤Ã¤Æ¤ª¤ê¡¢-nat ¥¹¥¤¥Ã¥Á¤ÇÍ­¸ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤É¤Á¤é¤Î¾ì¹ç¤â alias ¥é¥¤¥Ö¥é¥ê (libalias(3)) ¤¬»È¤ï¤ì¤Þ¤¹¡£

9.7. /dev/ed0 ¥Ç¥Ð¥¤¥¹¤òºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£

Berkeley UNIX ¤Ë¤ª¤±¤ë¥Í¥Ã¥È¥ï¡¼¥¯¤Î¹½À®¤Ë¤ª¤¤¤Æ¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¥«¡¼¥Í¥ë¥³¡¼¥É¤«¤é¤Î¤ß¡¢ ľÀܤ¢¤Ä¤«¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤è¤ê¾Ü¤·¤¯ÃΤꤿ¤¤¾ì¹ç¤Ï¡¢ /etc/rc.network ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ä¡¢ ¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë½ñ¤¤¤Æ¤¢¤ë¡¢ ¤µ¤Þ¤¶¤Þ¤Ê¥×¥í¥°¥é¥à¤Ë¤Ä¤¤¤Æ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤Ç¤â¤Þ¤Àʬ¤«¤é¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢ ¾¤Î BSD ·Ï¤Î OS ¤Î¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý¤Ë¤Ä¤¤¤Æ¤ÎËܤòÆɤà¤Ù¤­¤Ç¤·¤ç¤¦¡£ ¤´¤¯¾¯¤·¤ÎÎã³°¤ò¤Î¤¾¤¤¤Æ¤Ï¡¢FreeBSD ¤Î¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý¤Ï SunOS 4.0 ¤ä Ultrix ¤È´ðËÜŪ¤ËƱ¤¸¤Ç¤¹¡£

9.8. Ethernet ¥¢¥É¥ì¥¹¤Î¥¨¥¤¥ê¥¢¥¹ (alias) ¤Ï¤É¤Î¤è¤¦¤Ë¤·¤ÆÀßÄê¤Ç¤­¤Þ¤¹¤«?

ifconfig(8) ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë netmask 0xffffffff ¤òÄɲ䷤ơ¢¼¡¤Î¤è¤¦¤Ë½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£

# ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff

9.9. 3C503 ¤Ç¾¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥Ý¡¼¥È¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¤É¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¤Ç¤¹¤«?

¾¤Î¥Ý¡¼¥È¤ò»ÈÍѤ·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢ ifconfig(8) ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¥Ñ¥é¥á¡¼¥¿¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï link0 ¤¬ÍѤ¤¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ BNC ¤Î¤«¤ï¤ê¤Ë AUI ¥Ý¡¼¥È¤ò»ÈÍѤ·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢ link2 ¤È¤¤¤¦¥Ñ¥é¥á¡¼¥¿¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£ ¤³¤ì¤é¤Î¥Õ¥é¥°¤Ï¡¢ /etc/rc.conf (rc.conf(5) »²¾È) ¤Ë¤¢¤ë ifconfig_* ¤ÎÊÑ¿ô¤ò»È¤Ã¤Æ»ØÄꤵ¤ì¤ë¤Ï¤º¤Ç¤¹¡£

9.10. FreeBSD ¤È¤Î´Ö¤Ç NFS ¤¬¤¦¤Þ¤¯¤Ç¤­¤Þ¤»¤ó¡£

PC ÍѤΥͥåȥ¥¯¥«¡¼¥É¤Ë¤è¤Ã¤Æ¤Ï¡¢ NFS ¤Î¤è¤¦¤Ê¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹ó»È¤¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤ª¤¤¤ÆÌäÂê¤òµ¯¤³¤¹¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

¤³¤ÎÅÀ¤Ë´Ø¤·¤Æ¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡ÖNFS¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

9.11. ²¿¸Î Linux ¤Î¥Ç¥£¥¹¥¯¤ò NFS ¥Þ¥¦¥ó¥È¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?

Linux ¤Î NFS ¤Î¥³¡¼¥É¤Ë¤Ï¡¢ µö²Ä¤µ¤ì¤¿¥Ý¡¼¥È¤«¤é¤Î¥ê¥¯¥¨¥¹¥È¤·¤«¼õ¤±¤Ä¤±¤Ê¤¤¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£ °Ê²¼¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

# mount -o -P linuxbox:/blah /mnt

9.12. ²¿¸Î Sun ¤Î¥Ç¥£¥¹¥¯¤ò NFS ¥Þ¥¦¥ó¥È¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«?

SunOS 4.X ¤¬Áö¤Ã¤Æ¤¤¤ë Sun Workstation ¤Ï¡¢ µö²Ä¤µ¤ì¤¿¥Ý¡¼¥È¤«¤é¤Î¥Þ¥¦¥ó¥ÈÍ׵ᤷ¤«¼õ¤±¤Ä¤±¤Þ¤»¤ó¡£ °Ê²¼¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

# mount -o -P sunbox:/blah /mnt

9.13. mountd ¤«¤é “can't change attributes” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤º¤Ã¤È½Ð³¤±¤Æ¤¤¤Æ¡¢ FreeBSD ¤Î NFS ¥µ¡¼¥Ð¤Ç¤Ï “bad exports list” ¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï²¿¤¬¸¶°ø¤Ê¤Î¤Ç¤·¤ç¤¦?

ºÇ¤âÎɤ¯¤¢¤ëÌäÂê¤Ï¡¢exports(5) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Î°Ê²¼¤ÎÉôʬ¤òÀµ¤·¤¯Íý²ò¤·¤Æ¤¤¤Ê¤¤¤³¤È¤Ç¤¹¡£

¤³¤Î¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô (# ¤Ç¤Ï¤¸¤Þ¤ë¥³¥á¥ó¥È¹Ô¤ò½ü¤¯) ¤Ï¡¢ NFS ¥µ¡¼¥Ð¤Î¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë¡¢ ¾¤Î¥Û¥¹¥È¤Ë¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤ë¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È (Ê£¿ô²Ä) ¤È¡¢ ¤½¤ì¤ËÂФ¹¤ë¥¨¥¯¥¹¥Ý¡¼¥È¥Õ¥é¥°¤ò»ØÄꤷ¤Þ¤¹¡£ ÆÃÄê¤Î¥¨¥¯¥¹¥Ý¡¼¥ÈÀè¥Û¥¹¥È¤ª¤è¤Ó¡¢ ¤¹¤Ù¤Æ¤Î¥Û¥¹¥È¤ËŬÍѤµ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¥¨¥ó¥È¥ê¤ÏξÊý¤È¤â¡¢ ¥µ¡¼¥Ð¤Î³Æ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËÂФ·¤Æ°ì²ó¤À¤±¤·¤«»ØÄê¤Ç¤­¤Þ¤»¤ó¡£

¤µ¤Æ¡¢¤¢¤ê¤¬¤Á¤Ê´Ö°ã¤¤¤ò¤´Í÷¤Ë¤Ê¤ì¤Ð¤Ï¤Ã¤­¤ê¤¹¤ë¤Ç¤·¤ç¤¦¡£ ¤â¤· /usr °Ê²¼¤¬Ã±°ì¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç¤¢¤ë (¤Ä¤Þ¤ê /usr ¤Ë²¿¤â¥Þ¥¦¥ó¥È¤µ¤ì¤Ê¤¤) ¾ì¹ç¡¢ ¼¡¤Î exports ¥ê¥¹¥È¤ÏÀµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£

/usr/src   client
/usr/ports client

°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËÂФ·¤Æ°À­¤Î»ØÄ꤬Æó¹Ô¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ /usr ¤ÏƱ¤¸¥Û¥¹¥È client ¤Ë¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤Þ¤¹¤«¤é¡¢ Àµ¤·¤¤½ñ¤­Êý¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

/usr/src /usr/ports  client

¤â¤¦°ìÅ٥ޥ˥奢¥ë¥Ú¡¼¥¸¤Îʸ¾Ï¤ò³Îǧ¤¹¤ë¤È¡¢ ¤¢¤ë¥Û¥¹¥È¤Ë¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤ë³Æ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î°À­¤Ï ¤¹¤Ù¤Æ°ì¹Ô¤Ë½ñ¤«¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡¢¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹ (¤³¤³¤Ç¤Ï¡¢¡Ö¥¢¥¯¥»¥¹²Äǽ¤Ê¤¹¤Ù¤Æ¤Î¥Û¥¹¥È¡× ¤â°ì¤Ä¤ÎÆÈΩ¤·¤¿¥Û¥¹¥È¤È¤·¤Æ°·¤ï¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤)¡£ ¤³¤Î¤³¤È¤Ï¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë ´ñ̯¤Ê½ñ¼°¤ò»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¸¶°ø¤Ë¤â¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¤Û¤È¤ó¤É¤Î¿Í¤Ë¤È¤Ã¤Æ¡¢¤³¤ì¤ÏÌäÂê¤Ë¤Ï¤Ê¤é¤Ê¤¤¤Ç¤·¤ç¤¦¡£

¼¡¤Ë¼¨¤¹¤Î¤Ï¡¢Í­¸ú¤Ê exports ¥ê¥¹¥È¤ÎÎã¤Ç¤¹¡£ ¤³¤³¤Ç¤Ï¡¢/usr ¤È /exports ¤¬¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ç¤¹¡£

# Export src and ports to client01 and client02, but only
# client01 has root privileges on it
/usr/src /usr/ports -maproot=0    client01
/usr/src /usr/ports               client02
# The "client" machines have root and can mount anywhere
# up /exports. The world can mount /exports/obj read-only
/exports -alldirs -maproot=0      client01 client02
/exports/obj -ro

9.14. PPP ¤Ç NeXTStep ¤ËÀܳ¤¹¤ëºÝ¤ËÌäÂ꤬¤¢¤ë¤Î¤Ç¤¹¤¬¡£

/etc/rc.conf (rc.conf(5) »²¾È) ¤ÎÃæ¤Ç¼¡¤ÎÊÑ¿ô¤ò NO ¤Ë¤·¤Æ¡¢ TCP extension ¤ò̵¸ú¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

tcp_extensions=NO

Xylogic ¤Î Annex ¤âƱÍͤÎÌäÂ꤬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢ Annex ·Ðͳ¤Ç PPP ¤ò¹Ô¤Ê¤¦¾ì¹ç¤Ë¤â¤³¤ÎÊѹ¹¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£

9.15. IP ¥Þ¥ë¥Á¥­¥ã¥¹¥È (multicast) ¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï?

FreeBSD 2.0 ¤«¤½¤ì°Ê¹ß¤Ç¤Ï¡¢ ɸ½à¤Î¾õÂ֤Ǵ°Á´¤Ë¥Þ¥ë¥Á¥­¥ã¥¹¥È¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£ ¸½ºß»ÈÍѤ·¤Æ¤¤¤ë·×»»µ¡¤ò¥Þ¥ë¥Á¥­¥ã¥¹¥È¤Î¥ë¡¼¥¿ (router) ¤È¤·¤Æ»ÈÍѤ¹¤ë¤Ë¤Ï¡¢ MROUTING ¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤òÄêµÁ¤·¤¿¥«¡¼¥Í¥ë¤òºî¤Ã¤¿¤¦¤¨¤Ç¡¢ mrouted ¤òÁö¤é¤»¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£2.2 ¤«¤½¤ì°Ê¹ß¤Î FreeBSD ¤Ê¤é¤Ð¡¢ /etc/rc.conf ¤Ç¥Õ¥é¥° mrouted_enable ¤ò YES ¤Ë¥»¥Ã¥È¤·¤Æ¤ª¤¯¤³¤È¤Ç¡¢ µ¯Æ°»þ¤Ë mrouted ¤òµ¯Æ°¤Ç¤­¤Þ¤¹¡£

MBONE ÍѤΥġ¼¥ë¤Ï ports Æâ¤ÎÀìÍѤΥ«¥Æ¥´¥ê¡¼ mbone ¤Ë¤¢¤ê¤Þ¤¹¡£ vic ¤ä vat ¤È¤¤¤Ã¤¿²ñµÄÍѤΥġ¼¥ë¤òõ¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¤³¤Î¾ì½ê¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£

¾Ü¤·¤¤¾ðÊó¤Ï Mbone Information Web ¤Ë¤¢¤ê¤Þ¤¹¡£

9.16. DEC ¤Î PCI ¥Á¥Ã¥×¥»¥Ã¥È¤òÍѤ¤¤Æ¤¤¤ë¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É¤Ë¤Ï¡¢ ¤É¤Î¤è¤¦¤Êʪ¤¬¤¢¤ê¤Þ¤¹¤«?

Glen Foster »á¤Ë¤è¤ë°ìÍ÷¤Ë¡¢ ºÇ¶á¤ÎÀ½ÉʤòÄɲä·¤¿¤â¤Î¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹¡£

Vendor          Model
----------------------------------------------
ASUS            PCI-L101-TB
Accton          ENI1203
Cogent          EM960PCI
Compex          ENET32-PCI
D-Link          DE-530
Dayna           DP1203, DP2100
DEC             DE435, DE450
Danpex          EN-9400P3
JCIS            Condor JC1260
Linksys         EtherPCI
Mylex           LNP101
SMC             EtherPower 10/100 (Model 9332)
SMC             EtherPower (Model 8432)
TopWare         TE-3500P
Znyx            (2.2.X) ZX312, ZX314, ZX342, ZX345, ZX346, ZX348
                (3.X) ZX345Q, ZX346Q, ZX348Q, ZX412Q, ZX414, ZX442,
                      ZX444, ZX474, ZX478, ZX212, ZX214 (10mbps/hd)

9.17. ²¿¸Î¼«Ê¬¤Î¥µ¥¤¥È¤Î¥Û¥¹¥È¤ËÂФ·¤Æ FQDN ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ë¤Î¤Ç¤¹¤«?

¼ÂºÝ¤Ë¤Ï¤½¤Î¥Û¥¹¥È¤ÏÊ̤Υɥᥤ¥ó¤Ë¤¢¤ë¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤¹¤«¡£ ¤¿¤È¤¨¤Ð¡¢foo.bar.edu ¤È¤¤¤¦¥É¥á¥¤¥ó¤ÎÃ椫¤é¡¢ bar.edu ¥É¥á¥¤¥ó¤Ë¤¢¤ë mumble ¤È¤¤¤¦¥Û¥¹¥È¤ò»ØÄꤷ¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢ mumble ¤À¤±¤Ç¤Ï¥À¥á¤Ç¡¢ mumble.bar.edu ¤È¤¤¤¦ FQDN (fully-qualified domain name) ¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

ÅÁÅýŪ¤Ë¡¢BSD ¤Î BIND ¤Î¥ê¥¾¥ë¥Ð (resolver) ¤Ç¤Ï¤³¤Î¤è¤¦¤Ê»ö¤Ï²Äǽ¤Ç¤·¤¿¤¬¡¢ FreeBSD ¤ËÆþ¤Ã¤Æ¤¤¤ë bind (named(8) »²¾È) ¤Î¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ ¼«Ê¬°Ê³°¤Î¥É¥á¥¤¥ó¤ËÂФ·¤Æ FQDN ¤Ç¤Ê¤¤ÊÌ̾¤ò¼«Æ°Åª¤Ë¤Ä¤±¤Æ¤¯¤ì¤ë¤è¤¦¤Ê»ö¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤·¤¿¤¬¤Ã¤Æ mumble ¤È¤¤¤¦¥Û¥¹¥È̾¤Ï¡¢ mumble.foo.bar.edu ¤È¤¤¤¦Ì¾Á°¤«¡¢¤â¤·¤¯¤Ï root ¥É¥á¥¤¥óÆâ¤Ë¤¢¤ë¾ì¹ç¤Ë¤·¤«Å¬ÍѤµ¤ì¤Þ¤»¤ó¡£

¤³¤ì¤Ï¡¢ mumble.bar.edu ¤È mumble.edu ¤È¤¤¤¦¤³¤È¤Ê¤Ã¤¿¥É¥á¥¤¥ó̾¤ËÂФ·¤Æ¥Û¥¹¥È̾¤Î¥µ¡¼¥Á¤¬¹Ô¤Ê¤ï¤ì¤Æ¤¤¤¿ °ÊÁ°¤Î¿¶¤ëÉñ¤¤¤È¤Ï°Û¤Ê¤Ã¤¿¤â¤Î¤Ç¤¹¡£¤³¤Î¤è¤¦¤Ê»ö¤¬°­¤¤Îã¤â¤·¤¯¤Ï ¥»¥­¥å¥ê¥Æ¥£¥Û¡¼¥ë¤È¤ß¤Ê¤µ¤ì¤ëÍýͳ¤Ë¤Ä¤¤¤Æ¤Ï RFC 1535 ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£

/etc/resolv.conf ¥Õ¥¡¥¤¥ë (resolv.conf(5) »²¾È) ¤ÎÃæ¤Ç

domain foo.bar.edu

¤È½ñ¤¤¤Æ¤¢¤ë¹Ô¤ò¡¢ search foo.bar.edu bar.edu ¤Î¤è¤¦¤Ë½ñ¤­¤«¤¨¤ë¤³¤È¤Ç¡¢¾å¤Î¤è¤¦¤Ê»ö¤¬¤Ç¤­¤Þ¤¹¡£¤·¤«¤·¡¢ RFC 1535 ¤Ë¤¢¤ë¤è¤¦¤Ë¡¢ ¸¡º÷½ç½ø¤¬¡ÖÆâÉô (local) ¤È³°Éô (public) ¤Î´ÉÍý¤Î¶­³¦¡×¤ò¤Þ¤¿¤¬¤Ê¤¤¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

9.18. ¤¹¤Ù¤Æ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÁàºî¤ËÂФ·¤Æ Permission denied ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¤¹¤¬¡£

IPFIREWALL ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ¥«¡¼¥Í¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤¿¾ì¹ç¤Ë¤Ï¡¢ 2.1-STABLE ¤Î³«È¯¤ÎÅÓÃ椫¤éÊѹ¹¤Ë¤Ê¤Ã¤¿ 2.1.7R ¤Îɸ½àŪ¤ÊÊý¿Ë¤È¤·¤Æ¡¢ ÌÀ¼¨Åª¤Ëµö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¤¹¤Ù¤Æ¤Î¥Ñ¥±¥Ã¥È¤ÏÍî¤È¤µ¤ì¤ëÀßÄê ¤Ë¤Ê¤Ã¤Æ¤¤¤ë»ö¤ò³Ð¤¨¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£

¤â¤·¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤ÎÀßÄê¤ò´Ö°ã¤¨¤¿¾ì¹ç¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÁàºî¤¬ºÆ¤Ó¤Ç¤­¤ë ¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢root ¤Ç¥í¥°¥¤¥ó¤·¤Æ¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# ipfw add 65534 allow all from any to any

/etc/rc.conf ¤Ë firewall_type='open' ¤òÄɲ䷤Ƥâ¤è¤¤¤Ç¤·¤ç¤¦¡£

FreeBSD ¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡Ö¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¡×¤Ë¤¢¤ê¤Þ¤¹¡£

9.19. IPFW ¤Î¥ª¡¼¥Ð¥Ø¥Ã¥É¤Ï¤É¤Î¤¯¤é¤¤¤Ç¤·¤ç¤¦¤«?

¤³¤ÎÅú¤¨¤Ï¡¢ »È¤Ã¤Æ¤¤¤ë¥ë¡¼¥ë¥»¥Ã¥È¤È¥×¥í¥»¥Ã¥µ¤Î¥¹¥Ô¡¼¥É¤Ë¤è¤Ã¤Æ¤Û¤È¤ó¤É·è¤Þ¤ê¤Þ¤¹¡£ ¥¤¡¼¥µ¥Í¥Ã¥È¤ËÂФ·¤Æ¾¯¤·¤Î¥ë¡¼¥ë¥»¥Ã¥È¤À¤±¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ ¤Û¤È¤ó¤É¤½¤Î±Æ¶Á¤Ï̵»ë¤Ç¤­¤ëÄøÅ٤Ǥ¹¡£ ¼ÂºÝ¤Î¬ÄêÃͤò¸«¤Ê¤¤¤ÈËþ­¤Ç¤­¤Ê¤¤Êý¡¹¤Î¤¿¤á¤Ë¡¢ ¼ÂºÝ¤Î¬Äê·ë²Ì¤ò¤ª¸«¤»¤·¤Þ¤·¤ç¤¦¡£

¼¡¤Î¬Äê¤Ï 486-66 (ÌõÃí: Intel ¼ÒÀ½ CPU i486¡¢66MHz ¤Î¤³¤È) ¾å¤Ç 2.2.5-STABLE ¤ò»ÈÍѤ·¤Æ¹Ô¤Ê¤ï¤ì¤Þ¤·¤¿¡£ IPFW ¤ÏÊѹ¹¤¬²Ã¤¨¤é¤ì¤Æ¡¢ip_fw_chk ¥ë¡¼¥Á¥óÆâ¤Ç¤«¤«¤ë»þ´Ö¤ò ¬Äꤷ¤Æ 1000 ¥Ñ¥±¥Ã¥ÈËè¤Ë·ë²Ì¤ò¥³¥ó¥½¡¼¥ë¤Ëɽ¼¨¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¤½¤ì¤¾¤ì 1000 ¤º¤Ä¤Î¥ë¡¼¥ë¤¬Æþ¤Ã¤Æ¤¤¤ë 2 ¤Ä¤Î¥ë¡¼¥ë¥»¥Ã¥È¤Ç¥Æ¥¹¥È¤¬¹Ô¤Ê¤ï¤ì¤Þ¤·¤¿¡£ ¤Ò¤È¤ÄÌܤΥ롼¥ë¥»¥Ã¥È¤ÏºÇ°­¤Î¥±¡¼¥¹¤ò¸«¤ë¤¿¤á¤Ë

ipfw add deny tcp from any to any 55555

¤È¤¤¤¦¥ë¡¼¥ë¤ò·«¤êÊÖ¤·¤¿¤â¤Î¤Ç¤¹¡£

IPFW ¤Î¥Ñ¥±¥Ã¥È¥Á¥§¥Ã¥¯¥ë¡¼¥Á¥ó¤Ï¡¢ ¥Ñ¥±¥Ã¥È¤¬ (¥Ý¡¼¥ÈÈÖ¹æ¤Î¤»¤¤¤Ç) ¤³¤Î¥ë¡¼¥ë¤Ë¥Þ¥Ã¥Á¤·¤Ê¤¤¤³¤È¤¬¤ï¤«¤ë¤Þ¤Ç¤Ë¡¢ ²¿ÅÙ¤â¼Â¹Ô¤µ¤ì¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¤³¤ì¤ÏºÇ°­¤Î¥±¡¼¥¹¤ò¼¨¤·¤Þ¤¹¡£ ¤³¤Î¥ë¡¼¥ë¤ò 999 ¸Ä·«¤êÊÖ¤·Ê¤٤¿¸å¤Ë

allow ip from any to any

¤¬½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

2¤ÄÌܤΥ롼¥ë¥»¥Ã¥È¤Ï¡¢¤Ê¤ë¤Ù¤¯Á᤯¥Á¥§¥Ã¥¯¤¬½ªÎ»¤¹¤ë¤è¤¦¤Ë½ñ¤«¤ì¤¿¤â¤Î¤Ç¤¹¡£

ipfw add deny ip from 1.2.3.4 to 1.2.3.4

¤³¤Î¥ë¡¼¥ë¤Ç¤Ï¡¢È¯¿®¸µ¤Î IP ¥¢¥É¥ì¥¹¤¬¥Þ¥Ã¥Á¤·¤Ê¤¤¤Î¤Ç¡¢ ¥Á¥§¥Ã¥¯¤Ï¤¹¤°¤Ë½ªÎ»¤·¤Þ¤¹¡£¾å¤Î¥ë¡¼¥ë¥»¥Ã¥È¤È¤ª¤Ê¤¸¤è¤¦¤Ë¡¢ 1000 ¸ÄÌܤΥ롼¥ë¤Ï

allow ip from any to any

¤Ç¤¹¡£

1 ¤ÄÌܤΥ롼¥ë¥»¥Ã¥È¤Î¾ì¹ç¡¢ ¥Ñ¥±¥Ã¥È¤¢¤¿¤ê¤Î¥ª¡¼¥Ð¥Ø¥Ã¥É¤Ï¤ª¤è¤½ 2.703ms/packet¡¢ ¤³¤ì¤Ï¤À¤¤¤¿¤¤ 1 ¤Ä¤Î¥ë¡¼¥ë¤¢¤¿¤ê 2.7 ¥Þ¥¤¥¯¥íÉ䫤«¤Ã¤Æ¤¤¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢ ¤³¤Î¥ë¡¼¥ë¤Ë¤ª¤±¤ë¥Ñ¥±¥Ã¥È½èÍý»þ´Ö¤ÎÍýÏÀŪ¤Ê¸Â³¦¤Ï¡¢ ËèÉÃÌó 370 ¥Ñ¥±¥Ã¥È¤Ç¤¹¡£ 10Mbps ¤Î¥¤¡¼¥µ¥Í¥Ã¥È¤Ç 1500 ¥Ð¥¤¥È°Ê²¼¤Î¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤ò²¾Äꤹ¤ë¤È¡¢ ¥Ð¥ó¥ÉÉý¤ÎÍøÍѸúΨ¤Ï 55.5% ¤¬¸Â³¦¤È¤Ê¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

2 ¤ÄÌܤΥ롼¥ë¥»¥Ã¥È¤Ç¤Ï¡¢¤½¤ì¤¾¤ì¤Î¥Ñ¥±¥Ã¥È¤¬¤ª¤è¤½ 1.172ms¤Ç½èÍý¤µ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¤À¤¤¤¿¤¤ 1 ¤Ä¤Î¥ë¡¼¥ë¤¢¤¿¤ê 1.2 ¥Þ¥¤¥¯¥íÉ䫤«¤Ã¤Æ¤¤¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥Ñ¥±¥Ã¥È½èÍý»þ´Ö¤ÎÍýÏÀŪ¤Ê¸Â³¦¤Ï¡¢ ËèÉÃÌó 853 ¥Ñ¥±¥Ã¥È¤È¤Ê¤ê¤Þ¤¹¤Î¤Ç¡¢ 10Mbps Ethernet ¤Î¥Ð¥ó¥ÉÉý¤ò»È¤¤Àڤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤³¤Î¥Æ¥¹¥È¤Ç¤Î¥ë¡¼¥ë¿ô¤Ï¿²á¤®¤ë¤¿¤á¡¢ ¼ÂºÝ¤Ë»ÈÍѤ¹¤ëºÝ¤Î·ë²Ì¤òÈ¿±Ç¤·¤Æ¤¤¤ëÌõ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤é¤Ï¾å¤Ë¼¨¤·¤¿¿ôÃͤò½Ð¤¹¤¿¤á¤À¤±¤ËÍѤ¤¤é¤ì¤¿¤â¤Î¤Ç¤¹¡£ ¸úΨ¤ÎÎɤ¤¥ë¡¼¥ë¥»¥Ã¥È¤òºî¤ë¤¿¤á¤Ë¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ê»ö¤ò¹Í¤¨¤Æ¤ª¤±¤Ð¤è¤¤¤Ç¤·¤ç¤¦¡£

  • ¡Ö³ÎÄꤷ¤Æ¤¤¤ë¡×¥ë¡¼¥ë¤ÏÀèƬ¤ÎÊý¤Ë»ý¤Ã¤Æ¤­¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤Ï¡¢Â¿¿ô¤Î TCP ¤Î¥È¥é¥Õ¥£¥Ã¥¯¤¬¤³¤Î¥ë¡¼¥ë¤Ç½èÍý¤µ¤ì¤ë¤¿¤á¤Ç¤¹¡£ ¤½¤·¤Æ¤³¤Î¥ë¡¼¥ë¤ÎÁ°¤Ë¤Ï allow tcp ¤È¤¤¤¦µ­½Ò¤òÃÖ¤«¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£

  • Îɤ¯»È¤ï¤ì¤ë¥ë¡¼¥ë¤ò¡¢¤¢¤Þ¤êÎɤ¯»È¤ï¤ì¤Ê¤¤¥ë¡¼¥ë¤è¤ê¤â Á°¤ÎÊý¤Ë (¤â¤Á¤í¤ó¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤Îµö²ÄÀßÄê¤òÊѤ¨¤Ê¤¤ÈϰϤÇ) »ý¤Ã¤Æ¤­¤Æ¤¯¤À¤µ¤¤¡£ ipfw -a l ¤Î¤è¤¦¤·¤Æ¥Ñ¥±¥Ã¥È¿ô¤ÎÅý·×¤ò¼è¤ë¤³¤È¤Ç¡¢ ¤É¤Î¥ë¡¼¥ë¤¬ºÇ¤â¤è¤¯»È¤ï¤ì¤Æ¤¤¤ë¤«¤òÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

9.20. ipfw(8) “fwd” ¥ë¡¼¥ë¤ò»È¤Ã¤Æ¾¤Î¥Þ¥·¥ó¤Ë¥µ¡¼¥Ó¥¹¤ò¥ê¥À¥¤¥ì¥¯¥È¤·¤¿¤Î¤Ç¤¹¤¬¡¢ ¤¦¤Þ¤¯Æ°¤¤¤Æ¤¯¤ì¤Ê¤¤¤è¤¦¤Ç¤¹¡£¤É¤¦¤·¤Æ¤Ê¤ó¤Ç¤·¤ç¤¦?

¤ª¤½¤é¤¯¡¢¤¢¤Ê¤¿¤¬´üÂÔ¤·¤Æ¤¤¤ëÆ°ºî¤È¤Ï¡¢ ñ¤Ê¤ë¥Ñ¥±¥Ã¥ÈžÁ÷¤Ç¤Ï¤Ê¤¯¥Í¥Ã¥È¥ï¡¼¥¯¥¢¥É¥ì¥¹ÊÑ´¹ (NAT) ¤È¸Æ¤Ð¤ì¤ë¤â¤Î¤À¤«¤é¤Ç¤·¤ç¤¦¡£ “fwd” ¥ë¡¼¥ë¤Ïʸ»ú¤É¤ª¤ê¡¢ËÜÅö¤ËžÁ÷¤·¤«¹Ô¤Ê¤¤¤Þ¤»¤ó¡£ ¥Ñ¥±¥Ã¥È¤ÎÃæ¿È¤Ë¤Ä¤¤¤Æ¤Ï°ìÀÚ¼ê¤ò²Ã¤¨¤Ê¤¤¤Î¤Ç¤¹¡£ ¤½¤Î¤¿¤á¡¢¼¡¤Î¤è¤¦¤Ê¥ë¡¼¥ë¤òÀßÄꤷ¤¿¤È¤¹¤ë¤È¡¢

01000 fwd 10.0.0.1 from any to foo 21

°¸À襢¥É¥ì¥¹¤Ë foo ¤È½ñ¤«¤ì¤¿¥Ñ¥±¥Ã¥È¤¬ ¤³¤Î¥ë¡¼¥ë¤òÀßÄꤷ¤¿¥Þ¥·¥ó¤ËÅþÃ夷¤¿¾ì¹ç¡¢¤½¤Î¥Ñ¥±¥Ã¥È¤Ï 10.0.0.1 ¤ËžÁ÷¤µ¤ì¤Þ¤¹¤¬¡¢°¸À襢¥É¥ì¥¹¤Ï foo ¤Î¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢¥Ñ¥±¥Ã¥È¤Ë°¸À襢¥É¥ì¥¹¤¬ 10.0.0.1 ¤Ë½ñ¤­´¹¤¨¤é¤ì¤ë¤È¤¤¤¦¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¼«Ê¬°¸¤Ç¤Ê¤¤¥Ñ¥±¥Ã¥È¤ò¼õ¤±¤È¤Ã¤¿¥Þ¥·¥ó¤Ï¡¢ ¤ª¤½¤é¤¯¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢¤½¤Î¥Ñ¥±¥Ã¥È¤òÇË´þ¤¹¤ë¤È»×¤¤¤Þ¤¹¡£ ¤½¤Î¤¿¤á “fwd” ¥ë¡¼¥ë¤Ï¡¢ ¤½¤Î¥ë¡¼¥ë¤ò½ñ¤¤¤¿¥æ¡¼¥¶¤¬°Õ¿Þ¤·¤¿¤è¤¦¤Ë¤ÏÆ°¤«¤Ê¤¤¤³¤È¤¬Îɤ¯¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÆ°ºî¤Ï¥Ð¥°¤Ç¤Ï¤Ê¤¯¡¢»ÅÍͤʤΤǤ¹¡£

¥µ¡¼¥Ó¥¹¤ÎžÁ÷¤ò¤­¤Á¤ó¤ÈÆ°ºî¤µ¤»¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¥µ¡¼¥Ó¥¹¤Î¥ê¥À¥¤¥ì¥¯¥È¤Ë´Ø¤¹¤ë FAQ ¤ä natd(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¡¢ Ports Collection ¤Ë¤¤¤¯¤Ä¤«´Þ¤Þ¤ì¤Æ¤¤¤ë¥Ý¡¼¥ÈžÁ÷¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ê¤É¤ò¤´Í÷¤Ë¤Ê¤ë¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£

9.21. ¥µ¡¼¥Ó¥¹Í×µá¤ò¾¤Î¥Þ¥·¥ó¤Ë¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¤Ë¤Ï?

FTP ¤Ê¤É¤Î¥µ¡¼¥Ó¥¹¤Î¥ê¥¯¥¨¥¹¥È¤Ï¡¢“socket” ¥Ñ¥Ã¥±¡¼¥¸¤òÍøÍѤ·¤Æ¥ê¥À¥¤¥ì¥¯¥È¤Ç¤­¤Þ¤¹¡£ “socket” ¥Ñ¥Ã¥±¡¼¥¸¤Ï ports ¤Î sysutils ¥«¥Æ¥´¥ê¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ (/etc/inet.conf¤Ë½ñ¤«¤ì¤Æ¤¤¤ë) ¥³¥Þ¥ó¥É¹Ô¤ò¡¢¼¡¤Î¤è¤¦¤Ë “socket” ¤ò¸Æ¤Ö¤è¤¦¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£

ftp stream tcp nowait nobody /usr/local/bin/socket socket ftp.foo.com ftp

¤³¤³¤Ç ftp.foo.com ¤Ï¥ê¥À¥¤¥ì¥¯¥ÈÀè¤Î¥Û¥¹¥È̾¡¢ ¹Ô¤ÎºÇ¸å¤Î ftp ¤Ï¥Ý¡¼¥È̾¤Ç¤¹¡£

9.22. ¥Ð¥ó¥ÉÉý¤Î´ÉÍý¤ò¹Ô¤Ê¤¨¤ë¥Ä¡¼¥ë¤Ï¤É¤³¤Ç¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«?

FreeBSD ÍѤΥХó¥ÉÉý´ÉÍý¥Ä¡¼¥ë¤Ë¤Ï¡¢ÌµÎÁ¤Ç¼ê¤ËÆþ¤ì¤é¤ì¤ë ALTQ ¤È¡¢ Emerging Technologies ¤«¤éÆþ¼ê¤Ç¤­¤ë Bandwidth Manager ¤È¤¤¤¦»ÔÈΤΤâ¤Î¤Î 2 ¼ïÎब¤¢¤ê¤Þ¤¹¡£

9.23. BIND (named) ¤¬¡¢53 È֥ݡ¼¥È¤Î¤Û¤«¤Ë Â礭¤ÊÈÖ¹æ¤Î¥Ý¡¼¥È¤Ç¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤¹¡£»ä¤Î¥Û¥¹¥È¤Ï ¾è¤Ã¼è¤é¤ì¤¿¤Î¤Ç¤·¤ç¤¦¤«¡£

¤ª¤½¤é¤¯°ã¤¤¤Þ¤¹¡£FreeBSD 3.0 °Ê¹ß¤Ç¤Ï¡¢³°¸þ¤±¤ÎÌä¹ç¤»¤Ë ¥é¥ó¥À¥à¤ÊÂ礭¤ÊÈÖ¹æ¤Î¥Ý¡¼¥È¤òÍѤ¤¤ë¥Ð¡¼¥¸¥ç¥ó¤Î BIND ¤ò ÍѤ¤¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤òÄ̤¹¤¿¤á¡¢¤Þ¤¿¤Ï¤¢¤Ê¤¿¤Î µ¤Ê¬¤Ç¡¢³°¸þ¤­¤ÎÌä¹ç¤»¤ò 53 È֥ݡ¼¥È¤«¤é¹Ô¤¤¤¿¤¤¤Ê¤é¤Ð¡¢ /etc/namedb/named.conf ¤Ë¼¡¤Î¤è¤¦¤Ë ÀßÄꤷ¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

options {
        query-source address * port 53;
};

¹¹¤Ë¸ÂÄꤷ¤¿¤±¤ì¤Ð¡¢* ¤òñ°ì¤Î IP ¥¢¥É¥ì¥¹¤ËÃÖ¤­´¹¤¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¤½¤ì¤Ï¤È¤â¤«¤¯¡¢¤ª¤á¤Ç¤È¤¦¤´¤µ¤¤¤Þ¤¹¡£ sockstat ¤Î½ÐÎϤò¸«¤Æ¡¢¤ª¤«¤·¤Ê¸½¾Ý¤Ë ÃíÌܤ¹¤ë¤Î¤Ï¤è¤¤½¬´·¤Ç¤¹¡£

9.24. ¤Ê¤¼ “/dev/bpf0: device not configured” ¤¬½Ð¤ë¤Î¤Ç¤·¤ç¤¦¤«?

¥Ð¡¼¥¯¥ì¡¼¥Ñ¥±¥Ã¥È¥Õ¥£¥ë¥¿ (bpf(4)) ¥É¥é¥¤¥Ð¤Ï¡¢¤½¤ì¤òÍøÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ëÁ°¤ËÍ­¸ú¤Ë¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤Ë¡¢¼¡¤Î¤è¤¦¤ËÄɲ䷤ƥ«¡¼¥Í¥ë¤ÎºÆ¹½ÃÛ¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£

pseudo-device bpfilter		# Berkeley Packet Filter

¤½¤·¤ÆºÆµ¯Æ°¤·¤Æ¤«¤é¡¢¼¡¤Ë¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤òºîÀ®¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¼¡¤Î¤è¤¦¤ËÆþÎϤ·¡¢/dev ¤òÊѹ¹¤¹¤ë¤³¤È¤Ç¹Ô¤Ê¤¤¤Þ¤¹¡£

# sh MAKEDEV bpf0

¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤ÎºîÀ®¤Î¾ÜºÙ¤Ï¡¢ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡Ö¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

9.25. Linux ¤Î smbmount ¤Î¤è¤¦¤Ë¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î Windows ¥Þ¥·¥ó¤Î¥Ç¥£¥¹¥¯¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤·¤ç¤¦?

Ports Collection ¤Ë´Þ¤Þ¤ì¤ë sharity light ¥Ñ¥Ã¥±¡¼¥¸¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡¢

9.26. “icmp-response bandwidth limit 300/200 pps” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¥í¥°¥Õ¥¡¥¤¥ë¤Ë¸½¤ì¤ë¤Î¤Ç¤¹¤¬¡¢ ¤É¤¦¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦?

¤³¤ì¤Ï¡¢¥«¡¼¥Í¥ë¼«¿È¤«¤é¡ÖICMP ¤ä TCP ¤Î¥ê¥»¥Ã¥È (RST) ±þÅú¤ò¡¢ÂÅÅö¤Ê¿ô¤è¤ê¤â¿¤¯Á÷¤Ã¤Æ¤¤¤ë¡×¤È¤¤¤¦¤³¤È¤ò¡¢ ¤¢¤Ê¤¿¤ËÅÁ¤¨¤ë¥á¥Ã¥»¡¼¥¸¤Ç¤¹¡£ ICMP ±þÅú¤ÏÎɤ¯¡¢»È¤ï¤ì¤Æ¤¤¤Ê¤¤ UDP ¥Ý¡¼¥È¤ËÀܳ¤·¤è¤¦¤È¤·¤¿·ë²Ì¤È¤·¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£ ¤Þ¤¿¡¢TCP ¥ê¥»¥Ã¥È¤Ï¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤Ê¤¤ TCP ¥Ý¡¼¥È¤ËÀܳ¤·¤è¤¦¤È¤·¤¿·ë²Ì¤È¤·¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£ ¤½¤Î¾¡¢¤³¤ì¤é¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¸¶°ø¤È¤Ê¤ë¾õ¶·¤È¤·¤Æ¡¢ °Ê²¼¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

  • (ÆÃÄê¤Î¥»¥­¥å¥ê¥Æ¥£¾å¤Î¼åÅÀ¤ò°­ÍѤ·¤è¤¦¤È¤¹¤ë¹¶·â¤Ç¤Ï¤Ê¤¯) ËÄÂç¤Ê¿ô¤Î¥Ñ¥±¥Ã¥È¤ò»È¤Ã¤¿¶¯°ú¤Ê¥µ¡¼¥Ó¥¹Ë¸³² (DoS) ¹¶·â¡£

  • (°ìÉô¤Î¥¦¥§¥ë¥Î¥¦¥ó¥Ý¡¼¥È¤òÁÀ¤Ã¤¿¤â¤Î¤Ç¤Ï¤Ê¤¯) Èó¾ï¤Ë¹­¤¤ÈϰϤΥݡ¼¥È¤ËÀܳ¤ò»î¤ß¤ë¥Ý¡¼¥È¥¹¥­¥ã¥ó¡£

¥á¥Ã¥»¡¼¥¸Ãæ¤ÎºÇ½é¤Î¿ô»ú¤Ï¡¢ ¾å¸Â¤òÀßÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¥«¡¼¥Í¥ë¤¬Á÷¤Ã¤Æ¤¤¤¿¤Ç¤¢¤í¤¦¥Ñ¥±¥Ã¥È¤Î¿ô¤ò¼¨¤·¡¢ ÆóÈÖÌܤοô»ú¤Ï¡¢¥Ñ¥±¥Ã¥È¿ô¤Î¾å¸ÂÃͤò¼¨¤·¤Þ¤¹¡£ ¤³¤Î¾å¸ÂÃÍ¤Ï net.inet.icmp.icmplim ¤È¤¤¤¦ sysctl ÊÑ¿ô¤ò»È¤¦¤³¤È¤Ç¡¢°Ê²¼¤Î¤è¤¦¤ËÊѹ¹²Äǽ¤Ç¤¹¡£ ¤³¤³¤Ç¤Ï¾å¸Â¤ò 1 É䢤¿¤ê¤Î¥Ñ¥±¥Ã¥È¿ô¤Ç 300 ¤Ë¤·¤Æ¤¤¤Þ¤¹¡£

# sysctl -w net.inet.icmp.icmplim=300

¥«¡¼¥Í¥ë¤Î±þÅúÀ©¸Â¤ò̵¸ú¤Ë¤»¤º¡¢ ¥í¥°¥Õ¥¡¥¤¥ëÃæ¤Î¥á¥Ã¥»¡¼¥¸¤À¤±¤òÍÞÀ©¤·¤¿¤¤¾ì¹ç¡¢ net.inet.icmp.icmplim_output sysctl ÊÑ¿ô¤ò¼¡¤Î¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ç½ÐÎϤò»ß¤á¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

# sysctl -w net.inet.icmp.icmplim_output=0

ºÇ¸å¤Ë¡¢¤â¤·±þÅúÀ©¸Â¤ò̵¸ú¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢ net.inet.icmp.icmplim sysctl ÊÑ¿ô¤Ë (¾å¤ÎÎã¤Î¤è¤¦¤Ë¤·¤Æ) 0 ¤òÀßÄꤹ¤ë¤³¤È¤Ç¼Â¸½¤Ç¤­¤Þ¤¹¡£ ¤¿¤À¤·±þÅúÀ©¸Â¤ò̵¸ú²½¤¹¤ë¤Î¤Ï¡¢¾åµ­¤ÎÍýͳ¤«¤é¤ª¤¹¤¹¤á¤·¤Þ¤»¤ó¡£


第 10章PPP

10.1. ppp ¤¬Æ°¤­¤Þ¤»¤ó¡£¤É¤³¤ò´Ö°ã¤¨¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦?
10.2. ppp ¤ò¼Â¹Ô¤¹¤ë¤È¥Ï¥ó¥°¤·¤Þ¤¹
10.3. ppp ¤¬ -auto ¥â¡¼¥É¤Ç¥À¥¤¥¢¥ë¤·¤Æ¤¯¤ì¤Ê¤¤
10.4. No route to host” ¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«?
10.5. 3 ʬ¤Û¤É·Ð¤Ä¤ÈÀܳ¤¬ÀÚ¤ì¤Æ¤·¤Þ¤¦
10.6. Éé²Ù¤¬¹â¤¤¤ÈÀܳ¤¬ÀÚ¤ì¤Æ¤·¤Þ¤¦
10.7. Àܳ¤¬¥é¥ó¥À¥à¤ËÀÚ¤ì¤Æ¤·¤Þ¤¦
10.8. Àܳ¤¬ÉÔµ¬Â§¤Ë¥Ï¥ó¥°¥¢¥Ã¥×¤·¤Æ¤·¤Þ¤¦
10.9. ²óÀþ¤Î¸þ¤³¤¦Â¦¤Ç¤ÎÈ¿±þ¤¬¤Ê¤¤
10.10. ppp ¤¬¥Ï¥ó¥°¥¢¥Ã¥×¤¹¤ë
10.11. Login OK! ¤Î¥á¥Ã¥»¡¼¥¸¤¬½Ð¤¿¸å¡¢²¿¤âµ¯¤³¤é¤Ê¤¤
10.12. ¤Ç¤â¤Þ¤À “magic is the same” ¤È¤¤¤¦¥¨¥é¡¼¤¬½Ð¤ë
10.13. Àܳ¤¬ÀÚ¤ì¤ë¤Þ¤Ç LCP ¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤¬Â³¤¯¤Î¤Ç¤¹¤¬¡£
10.14. ppp ¤¬Àܳľ¸å¤Ë¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¦
10.15. ppp ¤ÎÆâÉô¤Ç¥·¥§¥ë¤òµ¯Æ°¤·¤è¤¦¤È¤¹¤ë¤È¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¦
10.16. ¥Ì¥ë¥â¥Ç¥à¥±¡¼¥Ö¥ë¤ò»ÈÍѤ·¤Æ¤¤¤ë¤È¤­¡¢ ppp ¤¬½ªÎ»¤·¤Ê¤¤
10.17. ppp ¤ò -auto ¥â¡¼¥É¤ÇÆ°¤«¤¹¤È¡¢ ¾¡¼ê¤Ë¥À¥¤¥¢¥ë¤¹¤ë¤³¤È¤¬¤¢¤ë
10.18. CCP ¥¨¥é¡¼¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«
10.19. ¥Õ¥¡¥¤¥ëžÁ÷¤ÎÅÓÃæ¤Ç¡¢ppp ¤¬ IO ¥¨¥é¡¼¤ò½Ð¤·¤Æ¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¦
10.20. ¤É¤¦¤·¤Æ ppp ¤ÏÀܳ®ÅÙ¤ò¥í¥°¤Ë»Ä¤µ¤Ê¤¤¤ó¤Ç¤·¤ç¤¦?
10.21. »ä¤Î chat ¥¹¥¯¥ê¥×¥È¤Ç¤Ï “\” ¤È¤¤¤¦Ê¸»ú¤ò PPP ¤¬²ò¼á¤·¤Æ¤¯¤ì¤Þ¤»¤ó¡£
10.22. ppp ¤¬ segmentation fault ¤Ë¤Ê¤ë¤Î¤Ç¤¹¤¬¡¢ ppp.core ¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤»¤ó
10.23. auto ¥â¡¼¥É¤Ç¥À¥¤¥¢¥ë¤ò¤¹¤ë¤è¤¦¤Ê¥×¥í¥»¥¹¤¬Àܳ¤µ¤ì¤Ê¤¤¡£
10.24. ²¿¸Î¤Û¤È¤ó¤É¤Î¥²¡¼¥à¤¬ -nat ¥¹¥¤¥Ã¥ÁÉÕ¤­¤À¤ÈÆ°¤«¤Ê¤¤¤ó¤Ç¤¹¤«?
10.25. Í­ÍѤʥݡ¼¥ÈÈÖ¹æ¤Î¥ê¥¹¥È¤Ï¤¢¤ê¤Þ¤»¤ó¤«?
10.26. FCS ¥¨¥é¡¼¤Ã¤Æ²¿?
10.27. ¥²¡¼¥È¥¦¥§¥¤¤Ç PPPoE ¤ò¼Â¹Ô¤¹¤ë¤È MacOS ¤ä Windows 98 ¤È¤ÎÀܳ¤¬¥Õ¥ê¡¼¥º¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤Ï¤Ê¤¼¤Ê¤Î¤Ç¤·¤ç¤¦¤«?
10.28. ¤É¤ì¤Ë¤âÅö¤Æ¤Ï¤Þ¤é¤Ê¤¤! ¤É¤¦¤·¤¿¤é¤¤¤¤¤Î?

10.1. ppp ¤¬Æ°¤­¤Þ¤»¤ó¡£¤É¤³¤ò´Ö°ã¤¨¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦?

¤Þ¤º ppp(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¤È¡¢ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡ÖPPP¡×¤òÆɤó¤Ç¤ß¤Þ¤·¤ç¤¦¡£ ¼¡¤Ë¡¢

set log Phase Chat Connect Carrier lcp ipcp ccp command

¤È¤¤¤¦Ì¿Îá¤ò ppp ¤Î¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤ËÂФ·¤ÆÂǤÁ¹þ¤à¤«¡¢ ÀßÄê¥Õ¥¡¥¤¥ë /etc/ppp/ppp.conf ¤Ë²Ã¤¨¤Æ (default ¥»¥¯¥·¥ç¥ó¤ÎÀèƬ¤Ë²Ã¤¨¤ë¤Î¤¬°ìÈÖÎɤ¤¤Ç¤·¤ç¤¦) ¥í¥°¤òÍ­¸ú¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ÎºÝ¡¢ /etc/syslog.conf (syslog.conf(5) »²¾È) ¤Ë

!ppp
*.*              /var/log/ppp.log

¤È½ñ¤«¤ì¤¿¹Ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¡¢¤Þ¤¿¡¢ /var/log/ppp.log ¤¬Â¸ºß¤·¤Æ¤¤¤ë¤«¤É¤¦¤«³Î¤«¤á¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ ¤µ¤Æ¡¢¤³¤ì¤Ç²¿¤¬µ¯¤­¤Æ¤¤¤ë¤Î¤«Æͤ­»ß¤á¤ë¤¿¤á¤Ë¡¢ ¥í¥°¥Õ¥¡¥¤¥ë¤«¤é¤¿¤¯¤µ¤ó¤Î¾ðÊó¤òÆÀ¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¥í¥°¤ËÌõ¤Îʬ¤é¤Ê¤¤Éôʬ¤¬¤¢¤Ã¤Æ¤â¿´ÇÛ¤´ÌµÍÑ¡£ ¤¢¤Ê¤¿¤¬½õ¤±¤òµá¤á¤¿Ã¯¤«¤Ë¤È¤Ã¤Æ¤Ï¡¢ ¤½¤ÎÉôʬ¤¬°ÕÌ£¤ò¤Ê¤¹¾ì¹ç¤¬¤¢¤ë¤Î¤Ç¤¹¡£

ÌõÃí: ¥í¥°¤Î¼èÆÀ¤Ë syslog ¤ò»ÈÍѤ¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤Î¤Ï 2.2.5 °Ê¹ß¤«¤é¤Ç¤¹¡£

»ÈÍÑÃæ¤Î ppp ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç “set log” Ì¿Îá¤ò²ò¼á¤·¤Ê¤¤¾ì¹ç¤Ï¡¢ºÇ¿·ÈǤò¥À¥¦¥ó¥í¡¼¥É¤¹¤Ù¤­¤Ç¤¹¡£ FreeBSD ¤Î 2.1.5 °Ê¹ß¤Ç¥Ó¥ë¥É¤Ç¤­¤Þ¤¹¡£

10.2. ppp ¤ò¼Â¹Ô¤¹¤ë¤È¥Ï¥ó¥°¤·¤Þ¤¹

¥Û¥¹¥È̾¤Î²ò·è¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¡£¤Þ¤º¡¢ ¥ê¥¾¥ë¥Ð (resolver) ¤¬ /etc/hosts¤ò»²¾È¤¹¤ë¤è¤¦¤Ë¡¢ /etc/host.conf ¤ÎºÇ½é¤Î¹Ô¤Ë host ¤È½ñ¤­¹þ¤ó¤Ç¤¯¤À¤µ¤¤¡£ ¤Ä¤®¤Ë¡¢/etc/hosts ¤Ë»ÈÍѤ·¤Æ¤¤¤ë¥Þ¥·¥ó¤Î¥¨¥ó¥È¥ê¤ò½ñ¤­²Ã¤¨¤Þ¤¹¡£ ¥í¡¼¥«¥ë¤Ç¥Í¥Ã¥È¥ï¡¼¥¯¤ò»ÈÍѤ·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢ localhost ¤Î¹Ô¤ò°Ê²¼¤Î¤è¤¦¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£

127.0.0.1      foo.bar.com foo localhost

»ÈÍѤ·¤Æ¤¤¤ë¥Û¥¹¥È¤Î¥¨¥ó¥È¥ê¤òÄɲ䷤Ƥ⤫¤Þ¤¤¤Þ¤»¤ó¡£ ¾ÜºÙ¤Ï´ØÏ¢¤¹¤ë¥Þ¥ó¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

10.3. ppp ¤¬ -auto ¥â¡¼¥É¤Ç¥À¥¤¥¢¥ë¤·¤Æ¤¯¤ì¤Ê¤¤

¤Þ¤ººÇ½é¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¥ë¡¼¥È¤¬³ÎΩ¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£ netstat -rn (netstat(1) »²¾È) ¤ò¼Â¹Ô¤¹¤ë¤È¡¢°Ê²¼¤Î¤è¤¦¤Ê¾ðÊó¤¬É½¼¨¤µ¤ì¤ë¤Ï¤º¤Ç¤¹¡£

Destination        Gateway            Flags     Refs     Use     Netif Expire
default            10.0.0.2           UGSc        0        0      tun0
10.0.0.2           10.0.0.1           UH          0        0      tun0

¤³¤ì¤Ï¤¢¤Ê¤¿¤¬¥Ï¥ó¥É¥Ö¥Ã¥¯¤ä¥Þ¥Ë¥å¥¢¥ë¡¢ ppp.conf.sample ¤ÎÃæ¤Ç½Ð¤Æ¤¯¤ë¥¢¥É¥ì¥¹¤ò»ÈÍѤ·¤Æ¤¤¤ë¤È²¾Äꤷ¤¿¾ì¹ç¤ÎÎã¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¥ë¡¼¥È¤¬³ÎΩ¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢ ppp.conf ¤ÎÃæ¤Î HISADDR ¤¬Íý²ò¤Ç¤­¤Ê¤¤¡¢ ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î ppp(8) ¤¬Áö¤Ã¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ FreeBSD 2.2.5 ¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤ËÉÕ°¤·¤Æ¤¤¤¿ ppp ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢

add 0 0 HISADDR

¤È½ñ¤«¤ì¤¿¹Ô¤ò°Ê²¼¤Î¤è¤¦¤Ë½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤¡£

add 0 0 10.0.0.2

netstat -rn ¤Ç¥Ç¥Õ¥©¥ë¥È¥ë¡¼¥È¤Î¾ðÊó¤¬É½¼¨¤µ¤ì¤Ê¤¤¾ì¹ç¡¢¤â¤¦°ì¤Ä¡¢ /etc/rc.conf (rc.conf(5) »²¾È) (2.2.2 ¤è¤êÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï /etc/sysconfig ¤È¸Æ¤Ð¤ì¤Æ¤¤¤Þ¤·¤¿) ¤ÎÃæ¤Ç¥Ç¥Õ¥©¥ë¥È¤Î¥ë¡¼¥¿¤ò¸í¤Ã¤ÆÀßÄꤷ¡¢ ppp.conf ¤«¤é

delete ALL

¤Î¹Ô¤ò¤¦¤Ã¤«¤ê¾Ã¤·¤Æ¤·¤Þ¤Ã¤¿²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤Ï¡¢ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡Ö¥·¥¹¥Æ¥à¤ÎºÇ½ªÀßÄê¡×¤Î¹à¤òÆɤßľ¤·¤Æ¤¯¤À¤µ¤¤¡£

10.4.No route to host” ¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«?

¤³¤Î¥¨¥é¡¼¤ÏÄ̾ /etc/ppp/ppp.linkup ¤Ë°Ê²¼¤Î¤è¤¦¤Ê¥»¥¯¥·¥ç¥ó¤¬Ìµ¤¤¾ì¹ç¤Ëµ¯¤³¤ê¤Þ¤¹¡£

MYADDR:
  delete ALL
  add 0 0 HISADDR

¤³¤ì¤ÏưŪ IP ¥¢¥É¥ì¥¹¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢ ¤Þ¤¿¤Ï¥²¡¼¥È¥¦¥§¥¤¤Î¥¢¥É¥ì¥¹¤òÃΤé¤Ê¤¤¾ì¹ç¤Ë¤Î¤ßɬÍפÊÀßÄê¤Ç¤¹¡£ ¥¤¥ó¥¿¥é¥¯¥Æ¥£¥Ö¥â¡¼¥É¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢ ¥Ñ¥±¥Ã¥È¥â¡¼¥É¤ËÆþ¤Ã¤¿¸å¤Ç (¥×¥í¥ó¥×¥È¤¬ PPP ¤ÈÂçʸ»ú¤ËÊѤï¤Ã¤¿¤é¥Ñ¥±¥Ã¥È¥â¡¼¥É¤ËÆþ¤Ã¤¿¤·¤ë¤·¤Ç¤¹)¡¢ °Ê²¼¤ÎÌ¿Îá¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

delete ALL
add 0 0 HISADDR

¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡ÖPPP ¤ÈưŪ IP ÀßÄê¡×¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

10.5. 3 ʬ¤Û¤É·Ð¤Ä¤ÈÀܳ¤¬ÀÚ¤ì¤Æ¤·¤Þ¤¦

ppp ¤Î¥¿¥¤¥à¥¢¥¦¥È¤Ï ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 3 ʬ¤Ç¤¹¡£ ¤³¤ì¤Ï

set timeout NNN

¤È¤¤¤¦Ì¿Îá¤Ë¤è¤Ã¤ÆÄ´À°¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ NNN ¤Ë¤Ï¡¢ Àܳ¤¬ÀÚ¤ì¤ë¤Þ¤Ç¤Î¥¢¥¤¥É¥ë»þ´Ö¤¬Éÿô¤ÇÆþ¤ê¤Þ¤¹¡£ NNN ¤¬ 0 ¤Î¾ì¹ç¡¢ ¥¿¥¤¥à¥¢¥¦¥È¤Ë¤è¤ëÀÚÃǤϵ¯¤³¤ê¤Þ¤»¤ó¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï ppp.conf ¤ËÆþ¤ì¤ë¤³¤È¤â¡¢ ¥¤¥ó¥¿¥é¥¯¥Æ¥£¥Ö¥â¡¼¥É¤Ç¥×¥í¥ó¥×¥È¤«¤éÆþÎϤ¹¤ë¤³¤È¤â ¤Ç¤­¤Þ¤¹¡£ ¥½¥±¥Ã¥È¤òÍѤ¤¤ë telnet(1) ¤« pppctl(8) ¤ò»ÈÍѤ·¡¢ ppp ¥µ¡¼¥Ð¤ËÀܳ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢ ²óÀþ¤¬¥¢¥¯¥Æ¥£¥Ö¤Ê´Ö¤Ë¸ÂÄꤷ¤Æ¥¿¥¤¥à¥¢¥¦¥È¤Î»þ´Ö¤òÄ´À°¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£

ÌõÃí: pppctl ¤Ï 2.2.5R ¤«¤é¤Ç¤¹¡£

¾Ü¤·¤¤¾ðÊó¤Ï ppp(8) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

10.6. Éé²Ù¤¬¹â¤¤¤ÈÀܳ¤¬ÀÚ¤ì¤Æ¤·¤Þ¤¦

Link Quality Reporting (LQR) ¤ÎÀßÄê¤ò¹Ô¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢ ¥Þ¥·¥ó¤ÈÀܳÀè¤Î´Ö¤ÇÈó¾ï¤Ë¤¿¤¯¤µ¤ó¤Î LQR ¥Ñ¥±¥Ã¥È¤¬¼º¤ï¤ì¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£·ë²Ì¤È¤·¤Æ ppp ¤Ï²óÀþ¤Î¶ñ¹ç¤¤¤¬°­¤¤¤È¹Í¤¨¡¢ ²óÀþ¤òÀÚÃǤ¹¤ë¤Î¤Ç¤¹¡£2.2.5 ¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤Ç¤Ï LQR ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¤Ç¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤Ç̵¸ú¤Ç¤¹¡£ LQR ¤Ï°Ê²¼¤ÎÌ¿Îá¤Ç̵¸ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

disable lqr

10.7. Àܳ¤¬¥é¥ó¥À¥à¤ËÀÚ¤ì¤Æ¤·¤Þ¤¦

¥Î¥¤¥º¤Î¿¤¤²óÀþ¡¢¤¢¤ë¤¤¤ÏÂÔ¤Áµ¡Ç½ÉÕ¤­¤Î²óÀþ¤Ç¤Ï¡¢ »þ¡¹¥â¥Ç¥à¤¬ (¸í¤Ã¤Æ) ¥­¥ã¥ê¥¢¤ò¼º¤Ã¤¿¤È»×¤¤¹þ¤ß¡¢ ²óÀþ¤¬ÀÚÃǤµ¤ì¤Æ¤·¤Þ¤¦¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£

Âç¿¿ô¤Î¥â¥Ç¥à¤Ç¤Ï¡¢ °ì»þŪ¤Ê¥­¥ã¥ê¥¢¤ÎÁÓ¼º¤ò¤É¤ì¤¯¤é¤¤¤Î»þ´Ö¤Ç¸¡½Ð¤¹¤ë¤«¤ò¡¢ ÀßÄê¤Ç·è¤á¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð USR Sportster ¤Ç¤Ï¡¢S10 ¥ì¥¸¥¹¥¿ ¤ÎÃͤò 10 Çܤ·¤¿Éÿô¤¬¤½¤ÎÃͤˤʤê¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¡¢¥â¥Ç¥à¤ò¤â¤Ã¤È¤Î¤ó¤Ó¤ê²°¤µ¤ó¤Ë¤¹¤ë¤Ë¤Ï¡¢ dial ¹Ô¤Ë¼¡¤Î¤è¤¦¤Êʸ»úÎó¤ò²Ã¤¨¤ë¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£

set dial "...... ATS10=10 OK ......"

¾Ü¤·¤¯¤Ï¤ª»È¤¤¤Î¥â¥Ç¥à¤Î¥Þ¥Ë¥å¥¢¥ë¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

10.8. Àܳ¤¬ÉÔµ¬Â§¤Ë¥Ï¥ó¥°¥¢¥Ã¥×¤·¤Æ¤·¤Þ¤¦

¤¿¤¯¤µ¤ó¤Î¿Í¤¬¡¢¸¶°øÉÔÌÀ¤Î¥Ï¥ó¥°¥¢¥Ã¥×¤ò·Ð¸³¤·¤Æ¤¤¤Þ¤¹¡£ ¸¡¾Ú¤Î¤¿¤á¤ËɬÍפʤΤϡ¢¤Þ¤º¤É¤Á¤é¦¤Î¥ê¥ó¥¯¤Ç¤½¤ì¤¬µ¯¤³¤Ã¤Æ¤¤¤ë¤«¡¢ ¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

³°ÉôÀܳ·¿¥â¥Ç¥à¤òÍøÍѤ·¤Æ¤¤¤ë¤Ê¤é¡¢ ñ¤Ë ping ¤ò»È¤¦¤³¤È¤Ç¡¢ ¥Ç¡¼¥¿¤òÁ÷¿®¤¹¤ë¤È¤­¤Ë TD ¥é¥ó¥×¤¬ÅÀÅô¤¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤â¤·¡¢TD ¥é¥ó¥×¤¬ÅÀÅô¤·¤Æ¡¢ RD ¥é¥ó¥×¤¬ÅÀÅô¤·¤Ê¤±¤ì¤Ð¡¢ ÌäÂê¤Ï²óÀþ¤Î¸þ¤³¤¦Â¦¤Ë¤¢¤ê¤Þ¤¹¡£TD ¤¬ÅÀÅô¤·¤Ê¤±¤ì¤Ð¡¢ ÌäÂê¤Ï²óÀþ¤Î¤³¤Á¤é¦¤Ç¤¹¡£Æ⢷¿¥â¥Ç¥à¤Î¾ì¹ç¡¢ ppp.conf ¥Õ¥¡¥¤¥ë¤Ë set server ¥³¥Þ¥ó¥É¤òÆþ¤ì¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£ ²óÀþ¤¬ÀÚÃǤµ¤ì¤¿¤È¤­¡¢pppctl ¤ò»È¤Ã¤Æ ppp ¤ËÀܳ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤Î¤È¤­¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¤¬µÞ¤ËÉüµì (¿ÇÃÇ¥½¥±¥Ã¥È¤Ø¤Î¥¢¥¯¥»¥¹¤Ç¡¢ ppp ¤¬Éü³è¤·¤Þ¤¹) ¤¹¤ë¤«¡¢ ¤â¤·¤¯¤ÏÀܳ¼«ÂΤ¬Á´¤¯¤Ç¤­¤Ê¤¤ (¤¿¤À¤·¡¢ ppp µ¯Æ°»þ¤Ë set socket ¥³¥Þ¥ó¥É¤¬¤Á¤ã¤ó¤È¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¤È¤·¤Þ¤¹) ¤È¤·¤¿¤é¡¢ ÌäÂê¤Ï²óÀþ¤Î¤³¤Á¤é¦¤Ç¤¹¡£ ¤â¤·¡¢Àܳ²Äǽ¤Ç¡¢¤«¤Ä¾õ¶·¤¬ÊѲ½¤·¤Ê¤±¤ì¤Ð¡¢ set log local async ¤ò»È¤Ã¤Æ¥í¡¼¥«¥ëÈóƱ´ü¥í¥° (async logging) ¤òÍ­¸ú¤Ë¤·¡¢ ping ¤ò¾¤Î¥¦¥£¥ó¥É¥¦¤«¥¿¡¼¥ß¥Ê¥ë¤«¤é»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ÈóƱ´ü¥í¥°¤Ë¤Ï¡¢¤³¤Á¤é¦¤Î¥ê¥ó¥¯¤ÎÁ÷¼õ¿®¥Ç¡¼¥¿¤¬µ­Ï¿¤µ¤ì¤Þ¤¹¡£ ¤â¤·¡¢¥Ç¡¼¥¿¤¬Á÷¿®¤µ¤ì¤¿¤Ë¤â¤«¤«¤ï¤é¤ºÊ֤äÆÍè¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ ÌäÂê¤Ï²óÀþ¤Î¸þ¤³¤¦Â¦¤Ë¤¢¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

ÌäÂ꤬²óÀþ¤Î¤É¤Á¤é¦¤«¤Ë¤¢¤ë¤³¤È¤¬Ê¬¤«¤Ã¤¿¤é¡¢ ¤Ä¤®¤ÎÆó¤Ä¤Î²ÄǽÀ­¤¬¹Í¤¨¤é¤ì¤ë¤Ç¤·¤ç¤¦¡£

10.9. ²óÀþ¤Î¸þ¤³¤¦Â¦¤Ç¤ÎÈ¿±þ¤¬¤Ê¤¤

¤³¤ì¤ËÂнè¤Ç¤­¤ë¤³¤È¤Ï¤Û¤È¤ó¤É¤¢¤ê¤Þ¤»¤ó¡£ÂçÉôʬ¤Î ISP ¤Ï¡¢Microsoft ¼ÒÀ½ OS °Ê³°¤ÎÍøÍѼԤËÂФ·¤Æ¤Î¥µ¥Ý¡¼¥È¤òµñÈݤ¹¤ë¤Ç¤·¤ç¤¦¡£ ppp.conf ¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë enable lqr ¤òµ­½Ò¤¹¤ë¤³¤È¤Ç ppp ¤¬²óÀþ¤Î¸þ¤³¤¦Â¦¤ÇȯÀ¸¤¹¤ëÀÚÃǤò¸¡½Ð¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢ ¤³¤Î¸¡½Ð¤ÏÈæ³ÓŪÃÙ¤¤¤¿¤á¡¢¤¢¤Þ¤êÌò¤ËΩ¤Á¤Þ¤»¤ó¡£¤Þ¤¿¡¢¤¢¤Ê¤¿¤Ï user-ppp ¤òÍøÍѤ·¤Æ¤¤¤ë¤³¤È¤ò ISP ¤ËÃΤé¤ì¤¿¤¯¤Ê¤¤¤È»×¤¦¤«¤âÃΤì¤Þ¤»¤ó¤Í¡£

¤Þ¤ººÇ½é¤Ë¡¢¤³¤Á¤é¦¤Î°µ½Ìµ¡Ç½¤ò¤¹¤Ù¤Æ̵¸ú¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤Ë¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ò¤Ä¤®¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
deny pred1 deflate deflate24 protocomp acfcomp shortseq vj

¤½¤·¤ÆºÆÀܳ¤·¡¢Êѹ¹Á°¤ÈƱ¤¸¤è¤¦¤ËÄÌ¿®¤Ç¤­¤ë¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£ ¤â¤·¤³¤ì¤Ë¤è¤Ã¤Æ¾õ¶·¤¬²þÁ±¤µ¤ì¤ë¤«¡¢´°Á´¤Ë²ò·è¤·¤¿¤é¡¢ (¾å¤ÎÀßÄê¤Î¤¦¤Á) ¤É¤ÎÀßÄê¤Ç¾õ¶·¤¬ÊѲ½¤·¤¿¤Î¤«¤ò¡¢ ¿§¡¹¤ÊÁȹ礻¤Ç»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ï¡¢ISP ¤ËÌ䤤¹ç¤ï¤»¤ò¹Ô¤Ê¤¦¤È¤­¤ÎÍ­¸ú¤Ê¾ðÊó¤È¤Ê¤ê¤Þ¤¹ (¤¿¤À¤·¡¢ ¤¢¤Ê¤¿¤¬ Microsoft ¼ÒÀ½Éʰʳ°¤Î¤â¤Î¤òÍøÍѤ·¤Æ¤¤¤ë¤³¤È¤âÌÀ¤é¤«¤Ë¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¤¬)¡£

ISP ¤ËÌ䤤¹ç¤ï¤»¤ò¹Ô¤Ê¤¦Á°¤Ë¡¢¤³¤Á¤é¦¤ÎÈóƱ´ü¥í¥°¤òÍ­¸ú¤Ë¤·¤Æ¡¢ Àܳ¤¬¥Ï¥ó¥°¥¢¥Ã¥×¤¹¤ë¤Þ¤ÇÂԤäƤ¯¤À¤µ¤¤¡£¤³¤Îºî¶È¤Ï¡¢ Èó¾ï¤Ë¿¤¯¤Î¥Ç¥£¥¹¥¯¶õ´Ö¤ò¾ÃÈñ¤¹¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£ ¶½Ì£¤ÎÂоݤȤʤäƤ¤¤ë¤Î¤Ï¡¢ÄÌ¿®¥Ý¡¼¥È¤«¤éºÇ¸å¤ËÆɤ߹þ¤Þ¤ì¤¿¥Ç¡¼¥¿¤Ç¤¹¡£ ¤½¤ì¤ÏÄ̾ï ASCII ¥Ç¡¼¥¿¤Ç¡¢ ÌäÂêÅÀ¤Î¾ÜºÙ (“Memory fault, core dump” ¤Ê¤É) ¤¬ µ­ºÜ¤µ¤ì¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

²óÀþ¤Î¸þ¤³¤¦Â¦¤ÇÄÌ¿®¥í¥°¤ò´Æ»ë¤¹¤ë¤³¤È¤Ï²Äǽ¤Ê¤Ï¤º¤Ç¤¹¤Î¤Ç¡¢ ÀÚÃǤ¬È¯À¸¤·¤¿»þ¡¢ISP ¤ÎÂбþ¤¬¹¥°ÕŪ¤Ê¤é¤Ð ¤É¤¦¤·¤Æ ISP ¦¤ÇÌäÂ꤬ȯÀ¸¤·¤¿¤Î¤«¤³¤Á¤é¤ËÅÁ¤¨¤Æ¤¯¤ì¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£ ¤Þ¤Ç¾ÜºÙ¤òÁ÷¤Ã¤Æĺ¤¯¤«¡¢ISP ¤ËľÀÜ»ä¤ËÏ¢Íí¤¹¤ë¤è¤¦¤ËÅÁ¤¨¤Æ²¼¤µ¤Ã¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£

10.10. ppp ¤¬¥Ï¥ó¥°¥¢¥Ã¥×¤¹¤ë

¥Ù¥¹¥È¤ÊÊýË¡¤Ï¡¢ CFLAGS+=-g ¤È STRIP= ¤ò ppp ¤Î Makefile ¤ËÄɲ䷤ơ¢ ppp ¤òºÆ¹½ÃÛ¤·¡¢ ¤½¤·¤Æ make clean && make && make install ¤ò¹Ô¤Ê¤¦¤³¤È¤Ç¤¹¡£ ppp ¤¬¥Ï¥ó¥°¥¢¥Ã¥×¤·¤¿»þ¡¢ ps ajxww | fgrep ppp ¤ò»È¤Ã¤Æ ppp ¤Î¥×¥í¥»¥¹ ID ¤òÄ´¤Ù¡¢ gdb ppp PID ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£ gdb ¤Î¥×¥í¥ó¥×¥È¤«¤é¡¢ bt ¤ò»È¤Ã¤Æ¥¹¥¿¥Ã¥¯¤ò¥È¥ì¡¼¥¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥¹¥¿¥Ã¥¯¥È¥ì¡¼¥¹¤Î·ë²Ì¤Ï¡¢ ¤Þ¤ÇÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£

10.11. Login OK! ¤Î¥á¥Ã¥»¡¼¥¸¤¬½Ð¤¿¸å¡¢²¿¤âµ¯¤³¤é¤Ê¤¤

2.2.5 ¤è¤êÁ°¤Î¥ê¥ê¡¼¥¹¤Î FreeBSD ¤Ç¤Ï¡¢ ppp(8) ¤Ï¥ê¥ó¥¯¤¬³ÎΩ¤·¤¿¸å¡¢ÀܳÀ褬 Line Control Protocol (LCP) ¤òȯ¿®¤¹¤ë¤Î¤òÂÔ¤Á¤Þ¤¹¡£¤·¤«¤·¡¢Â¿¤¯¤Î ISP ¤Ç¤Ï¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò¼«Ê¬¤«¤é¤Ïµ¯¤³¤µ¤º¡¢ ¥¯¥é¥¤¥¢¥ó¥È¤¬µ¯¤³¤¹¤Î¤òÂԤäƤ¤¤Þ¤¹¡£ ppp ¤Ë¶¯À©Åª¤Ë LCP ¤òȯ¿®¤µ¤»¤ë¤Ë¤Ï¡¢ ¼¡¤ÎÌ¿Îá¤ò»È¤¤¤Þ¤¹¡£

set openmode active

注意: ξÊý¤Î¦¤¬¥Í¥´¥¸¥§¡¼¥·¥ç¥ó¤òµ¯¤³¤·¤Æ¤â¡¢ ÂçÄñ¤Î¾ì¹ç¤Ï²¿¤ÎÌäÂê¤â¤¢¤ê¤Þ¤»¤ó¡£ ¤Ç¤¹¤«¤é¡¢¸½ºß¤Ç¤Ï openmode ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¼¡¤Î¥»¥¯¥·¥ç¥ó¤Ç¤³¤ì¤¬ÌäÂê¤Ë¤Ê¤ë¾ì¹ç¤òÀâÌÀ¤·¤Þ¤¹¡£

10.12. ¤Ç¤â¤Þ¤À “magic is the same” ¤È¤¤¤¦¥¨¥é¡¼¤¬½Ð¤ë

»þÀÞ¡¢Àܳľ¸å¤Î¥í¥°¤Ë “magic is the same” ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤é¤ï¤ì¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¥á¥Ã¥»¡¼¥¸¤¬¤¢¤é¤ï¤ì¤Æ¤â²¿¤âµ¯¤­¤Ê¤¤¾ì¹ç¤â¤¢¤ê¤Þ¤¹¤·¡¢ ¤É¤Á¤é¤«¤Î¦¤¬Àܳ¤òÀڤäƤ·¤Þ¤¦¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£ ppp ¤Î¼ÂÁõ¤Î¿¤¯¤Ï¤³¤ÎÌäÂê¤ËÂбþ¤Ç¤­¤Æ¤ª¤é¤º¡¢ ¤½¤Î¾ì¹ç¤Ë¤Ï¤Á¤ã¤ó¤È link ¤¬¾å¤¬¤Ã¤Æ¤¤¤ë¾õÂ֤Ǥ¢¤Ã¤Æ¤â¡¢ ppp ¤¬ºÇ½ªÅª¤Ë¤¢¤­¤é¤á¤Æ¤·¤Þ¤¤¡¢ Àܳ¤òÀÚ¤ë¤Þ¤ÇÀßÄê¤Î¥ê¥¯¥¨¥¹¥È¤¬·«¤êÊÖ¤·Á÷¤é¤ì¡¢ ÀßÄ꤬¹Ô¤ï¤ì¤¿¤È¤¤¤¦ÄÌÃΤ¬¥í¥°¥Õ¥¡¥¤¥ë¤Ë»Ä¤ë¤È»×¤¤¤Þ¤¹¡£

¤³¤ì¤ÏÄ̾ ¥Ç¥£¥¹¥¯¥¢¥¯¥»¥¹¤ÎÃÙ¤¤¥µ¡¼¥Ð¥Þ¥·¥ó¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ç getty ¤¬À¸¤­¤Æ¤¤¤Æ¡¢ ppp ¤¬¥í¥°¥¤¥ó¥¹¥¯¥ê¥×¥È¤«¡¢ ¥í¥°¥¤¥óľ¸å¤Ëµ¯Æ°¤µ¤ì¤¿¥×¥í¥°¥é¥à¤«¤é¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ëµ¯¤³¤ê¤Þ¤¹¡£ slirp ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤ËƱÍͤξɾõ¤¬¸«¤é¤ì¤¿¤È¤¤¤¦Êó¹ð¤â¤¢¤ê¤Þ¤¹¡£ ¸¶°ø¤Ï getty ¤Î½ªÎ»¤µ¤ì¤ë¤Þ¤Ç¤È¡¢ ppp ¤¬¼Â¹Ô¤µ¤ì¡¢ ¥¯¥é¥¤¥¢¥ó¥È¦¤Î ppp ¤¬ Line Control Protocol (LCP) ¤òÁ÷¤ê»Ï¤á¤ë¤Þ¤Ç¤Î¥¿¥¤¥ß¥ó¥°¤Ë¤¢¤ê¤Þ¤¹¡£ ¥µ¡¼¥Ð¦¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ç ECHO ¤¬Í­¸ú¤Ê¤Þ¤Þ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢ ¥¯¥é¥¤¥¢¥ó¥È¦¤Î ppp ¤Ë¥Ñ¥±¥Ã¥È¤¬¡ÖÈ¿¼Í¡×¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¡£

LCP ¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤Î°ìÉô¤È¤·¤Æ¡¢ ¥ê¥ó¥¯¤Îξ¥µ¥¤¥É¤Ç magic number ¤òÄê¤á¤Æ¡¢ ¡ÖÈ¿¼Í¡×¤¬µ¯¤­¤Æ¤¤¤Ê¤¤¤«¤É¤¦¤«³Î¤«¤á¤ëºî¶È¤¬¤¢¤ê¤Þ¤¹¡£ µ¬Ìó¤Ç¤Ï¡¢ÀܳÁê¼ê¤¬¤³¤Á¤é¤ÈƱ¤¸ magic number ¤òÄ󼨤·¤Æ¤­¤¿¤é¡¢ NAK ¤òÁ÷¤Ã¤Æ¿·¤·¤¤ magic number ¤òÁªÂò¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤ÈÄê¤á¤Æ¤¤¤Þ¤¹¡£ ¤³¤Îºî¶È¤Î´Ö¡¢¥µ¡¼¥Ð¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Î ECHO ¤¬¤º¤Ã¤ÈÍ­¸ú¤Ë¤Ê¤Ã¤¿¤Þ¤Þ¤Ê¤Î¤Ç¡¢ ¥¯¥é¥¤¥¢¥ó¥È¦¤Î ppp ¤Ï LCP ¥Ñ¥±¥Ã¥È¤òÁ÷¤ê¡¢ ¥Ñ¥±¥Ã¥È¤¬È¿¼Í¤·¤ÆÁ´¤¯Æ±¤¸ magic number ¤¬Á÷¤é¤ì¤Æ¤¯¤ë¤Î¤ò¸«¤Ä¤±¡¢ ¤½¤ì¤ËÂФ·¤Æ NAK ¤òÁ÷¤ë¤Î¤Ç¤¹¡£°ìÊý NAK ¼«ÂΤâ (¤³¤ì¤Ï ppp ¤¬ magic number ¤òÊѹ¹¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹) È¿¼Í¤·¤Æ¤¯¤ë¤Î¤Ç¡¢ ·ë²Ì¤È¤·¤Æ magic number ¤¬¿ô¤¨¤­¤ì¤Ê¤¤¤Û¤ÉÊѹ¹¤µ¤ì¡¢ ¤½¤Î¤¹¤Ù¤Æ¤¬¥µ¡¼¥Ð¤Î tty ¥Ð¥Ã¥Õ¥¡¤ÎÃæ¤ËÀѤ߽Ťʤ뤳¤È¤Ë¤Ê¤ë¤Î¤Ç¤¹¡£ ¥µ¡¼¥Ð¤Ç¥¹¥¿¡¼¥È¤·¤¿ ppp ¤Ï¡¢¤¹¤°¤Ë magic number ¤Ç¤¢¤Õ¤ì¤«¤¨¤Ã¤Æ¤·¤Þ¤¤¡¢ LCP ¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò½½Ê¬¤Ë¹Ô¤Ã¤¿¤â¤Î¤ÈȽÃǤ·¤Æ¡¢ ¤µ¤Ã¤µ¤ÈÀܳ¤òÀڤäƤ·¤Þ¤¤¤Þ¤¹¡£ °ìÊý¡¢ ¥¯¥é¥¤¥¢¥ó¥È¦¤ÏÈ¿¼Í¤¬µ¢¤Ã¤Æ¤³¤Ê¤¯¤Ê¤Ã¤¿¤Î¤ÇËþ­¤·¤Þ¤¹¤¬¡¢ ¤½¤ì¤â¥µ¡¼¥Ð¤¬Àܳ¤òÀڤ俤³¤È¤òÃΤë¤Þ¤Ç¤Ç¤¹¡£

¤³¤Î»öÂ֤ϡ¢°Ê²¼¤Î¹Ô¤ò ppp.conf ¤ÎÃæ¤Ë½ñ¤¤¤Æ¡¢ Áê¼ê¤¬¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò³«»Ï¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë»ö¤Ë¤è¤Ã¤Æ²óÈò¤Ç¤­¤Þ¤¹¡£

set openmode passive

¤³¤ì¤Ç ppp ¤Ï¥µ¡¼¥Ð¤¬ LCP ¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤òµ¯¤³¤¹¤Î¤òÂԤĤ褦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤·¤«¤·¡¢ ¼«Ê¬¤«¤é¤Ï·è¤·¤Æ¥Í¥´¥¸¥§¡¼¥·¥ç¥ó¤òµ¯¤³¤µ¤Ê¤¤¥µ¡¼¥Ð¤â¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤â¤·¤³¤Î¾õ¶·¤ËÁø¶ø¤·¤¿¾ì¹ç¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

set openmode active 3

¤³¤ì¤Ë¤è¤Ã¤Æ ppp ¤Ï 3 ÉÃ´Ö passive ¥â¡¼¥É¤ò³¤±¤¿¸å¤Ç¡¢ LCP ¥ê¥¯¥¨¥¹¥È¤òÁ÷¤ê»Ï¤á¤Þ¤¹¡£ ¤³¤Î´Ö¤ËÁê¼ê¤¬¥ê¥¯¥¨¥¹¥È¤òÁ÷¤ê»Ï¤á¤¿¾ì¹ç¤Ë¤Ï 3 ÉôÖÂÔ¤¿¤º¤Ë¤³¤Î¥ê¥¯¥¨¥¹¥È¤Ë¨ºÂ¤Ë±þÅú¤·¤Þ¤¹¡£

10.13. Àܳ¤¬ÀÚ¤ì¤ë¤Þ¤Ç LCP ¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤¬Â³¤¯¤Î¤Ç¤¹¤¬¡£

¸½ºß¤Î ppp ¤Ï¡¢¤Þ¤À LCP ¤ä CCP¡¢ IPCP ¤ÎÊÖ»ö¤¬¡¢ ¸µ¤Î¥ê¥¯¥¨¥¹¥È¤ÈÏ¢·È¤·¤Æ¤¯¤ì¤ëµ¡Ç½¤¬¤­¤Á¤ó¤È¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¤½¤Î·ë²Ì¡¢¤¢¤ë ppp ¤Î¼ÂÁõ¤¬Áê¼ê¤è¤ê¤â 6 ÉðʾåÃÙ¤¤¾ì¹ç¤Ë¤Ï¡¢ LCP ÀßÄê¤Î¥ê¥¯¥¨¥¹¥È¤ò¤µ¤é¤Ë 2 ²óÁ÷¤ê¤Þ¤¹¡£ ¤³¤ì¤ÏÃ×̿Ū¤Êʪ¤Ç¤¹¡£

A ¤È B¤È¤¤¤¦ 2 ¤Ä¤Î¼ÂÁõ¤ò¹Í¤¨¤Æ¤ß¤Þ¤·¤ç¤¦¡£ A ¤¬Àܳ¤Îľ¸å¤Ë LCP ¥ê¥¯¥¨¥¹¥È¤òÁ÷¤ê¡¢ °ìÊý B ¤ÎÊý¤Ï¥¹¥¿¡¼¥È¤¹¤ë¤Î¤Ë 7 É䫤«¤Ã¤¿¤È¤·¤Þ¤¹¡£B ¤¬¥¹¥¿¡¼¥È¤¹¤ë»þ¤Ë¤Ï A ¤Ï LCP ¥ê¥¯¥¨¥¹¥È¤ò 3 ²óÁ÷¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ¤¹¡£ Á°¤ÎÀá¤Ç½Ò¤Ù¤¿ magic number ¤ÎÌäÂ꤬µ¯¤­¤Ê¤¤¤è¤¦¡¢ ECHO ¤Ï off ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¹Í¤¨¤Æ¤¤¤Þ¤¹¡£ B ¤Ï REQ ¤òÁ÷¤ê¤Þ¤¹¡£ ¤¹¤ë¤È¤³¤ì¤Ï A ¤Î REQ ¤Î¤¦¤Á¡¢ ºÇ½é¤Îʪ¤ËÂФ¹¤ë ACK ¤È¤Ê¤ê¤Þ¤¹¡£ ·ë²Ì¤È¤·¤Æ¡¢A ¤Ï OPENED ¤Î¾õÂÖ¤ËÆþ¤ê¡¢ B ¤ËÂФ·¤Æ (ºÇ½é¤Î) ACK ¤òÁ÷¤ê¤Þ¤¹¡£ ¤½¤Î¤¦¤Á¤Ë B ¤Ï¡¢B ¤¬¥¹¥¿¡¼¥È¤¹¤ëÁ°¤Ë A ¤«¤éÁ÷¤é¤ì¤¿¤â¤¦ 2 ¤Ä¤Î REQ ¤ËÂФ¹¤ë ACK ¤òÁ÷¤êÊÖ¤·¤Þ¤¹¡£ B ¤Ï A ¤«¤é¤ÎºÇ½é¤Î ACK ¤ò¼õ¤±¼è¤ê OPENED ¤Î¾õÂÖ¤ËÆþ¤ê¤Þ¤¹¡£ A ¤Ï B ¤«¤é¤Î 2 ¤ÄÌܤΠACK ¤ò¼õ¤±¼è¤ê¤Þ¤¹¤Î¤Ç¡¢ REQ-SENT¤Î¾õÂÖ¤ËÌá¤ê¡¢ ¤µ¤é¤Ë¡¢RFC ¤Î¤È¤ª¤ê¤Ë (4 ¤ÄÌܤÎ) REQ ¤òÁ÷¤ê¤Þ¤¹¡£¤½¤·¤Æ 3 ¤ÄÌܤΠACK ¤ò¼õ¤±¼è¤Ã¤Æ OPENED ¾õÂÖ¤ËÆþ¤ê¤Þ¤¹¡£ °ìÊý¡¢B ¤Ï A ¤«¤é¤Î 4 ¤ÄÌܤΠREQ ¤ò¼õ¤±¼è¤ê¤Þ¤¹¤Î¤Ç¡¢ ACK-SENT ¤Î¾õÂÖ¤ËÆþ¤ê¡¢2 ¤ÄÌܤΠREQ ¤È 4 ¤ÄÌܤΠACK ¤ò RFC ¤Î¤È¤ª¤ê¤ËÁ÷¤ê¤Þ¤¹¡£ A¤Ï¡¢ REQ ¤ò¼õ¤±¤È¤ë¤È REQ-SENT ¤Î¾õÂ֤ˤʤꡢ¤µ¤é¤Ë REQ ¤òÁ÷¤ê¤Þ¤¹¡£ ¤½¤·¤Æ¤¹¤°¤Ë ACK ¤ò¼õ¤±¼è¤Ã¤Æ OPENED ¤Î¾õÂÖ¤ËÆþ¤ê¤Þ¤¹¡£

¤³¤ì¤¬¡¢ÊÒÊý¤Î ppp ¤¬¤¢¤­¤é¤á¤Æ¤·¤Þ¤¦¤Þ¤Ç³¤­¤Þ¤¹¡£

¤³¤ì¤ò²óÈò¤¹¤ëºÇ¤âÎɤ¤ÊýË¡¤Ï¡¢ ÊÒÊý¤ò passive ¥â¡¼¥É¤ËÀßÄꤹ¤ë¡¢ ¤¹¤Ê¤ï¤ÁÈ¿ÂЦ¤¬¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò³«»Ï¤¹¤ë¤Þ¤ÇÂԤĤ褦¤Ë¤¹¤ë»ö¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢

set openmode passive

¤È¤¤¤¦¥³¥Þ¥ó¥É¤Ç¤Ç¤­¤Þ¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ïµ¤¤òÉÕ¤±¤Æ»È¤ï¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£¤µ¤é¤Ë

set stopped N

¤È¤¤¤¦¥³¥Þ¥ó¥É¤òÄɲ䷤ơ¢ ppp ¤¬¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤¬³«»Ï¤¹¤ë¤Þ¤ÇÂÔ¤Ä ºÇÂç¤Î»þ´Ö¤òÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¤â¤·¤¯¤Ï¡¢

set openmode active N

¤È¤¤¤¦¥³¥Þ¥ó¥É (¤³¤³¤Ç¡¢ N ¤Ï¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤¬»Ï¤Þ¤ë¤Þ¤ÇÂԤĻþ´Ö) ¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¾Ü¤·¤¯¤Ï¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

10.14. ppp ¤¬Àܳľ¸å¤Ë¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¦

2.2.5 ¤è¤êÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î FreeBSD ¤Ç¤Ï¡¢ppp ¤¬ Predictor1 °µ½Ì¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò¸í¤Ã¤Æ²ò¼á¤·¤Æ¡¢ Àܳľ¸å¤Ë¥ê¥ó¥¯¤ò̵¸ú¤Ë¤·¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ïξ¥µ¥¤¥É¤¬°Û¤Ê¤ë Compression Control Protocols (CCP) ¤ò»È¤Ã¤Æ¥Í¥´¥¸¥§¡¼¥·¥ç¥ó¤ò¹Ô¤Ã¤¿¾ì¹ç¤Ë¤Î¤ßȯÀ¸¤·¤Þ¤¹¡£ ¤³¤ÎÌäÂê¤Ï¸½ºß¤Ï²ò·è¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¤¢¤Ê¤¿¤ÎÁö¤é¤»¤Æ¤¤¤ë ppp ¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¸Å¤¤¾ì¹ç¤Ç¤â¡¢¼¡¤ÎÌ¿Îá¤Ç²ò·è¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

disable pred1

10.15. ppp ¤ÎÆâÉô¤Ç¥·¥§¥ë¤òµ¯Æ°¤·¤è¤¦¤È¤¹¤ë¤È¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¦

shell ¤¢¤ë¤¤¤Ï ! ¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¡¢ ppp ¤Ï¥·¥§¥ë¤òµ¯Æ°¤· (²¿¤«°ú¿ô¤òÅϤ·¤¿¾ì¹ç¤Ï¡¢ ppp ¤Ï°ú¿ô¤â¼Â¹Ô¤·¤Þ¤¹)¡¢ ¥³¥Þ¥ó¥É¤¬½ªÎ»¤¹¤ë¤Þ¤Ç½èÍý¤òÃæÃǤ·¤Þ¤¹¡£ ¥³¥Þ¥ó¥É¤ò¼Â¹ÔÃæ¤Ë ppp ¤Î¥ê¥ó¥¯¤ò»È¤ª¤¦¤È¤¹¤ë¤È¡¢ ¥ê¥ó¥¯¤¬¸Ç¤Þ¤Ã¤Æ¤¤¤ë¤è¤¦¤Ë¸«¤¨¤Þ¤¹¤¬¡¢ ¤³¤ì¤Ï ppp ¤¬¥³¥Þ¥ó¥É¤Î½ªÎ»¤òÂԤäƤ¤¤ë¤«¤é¤Ç¤¹¡£

¤³¤Î¤è¤¦¤Ê¾ì¹ç¤Ï¡¢Âå¤ï¤ê¤Ë !bg ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ Í¿¤¨¤é¤ì¤¿¥³¥Þ¥ó¥É¤¬¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Ç¼Â¹Ô¤µ¤ì¤ë¤Î¤Ç¡¢ ppp ¤Ï¥ê¥ó¥¯¤Ë´Ø¤¹¤ë¥µ¡¼¥Ó¥¹¤ò·Ñ³¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

10.16. ¥Ì¥ë¥â¥Ç¥à¥±¡¼¥Ö¥ë¤ò»ÈÍѤ·¤Æ¤¤¤ë¤È¤­¡¢ ppp ¤¬½ªÎ»¤·¤Ê¤¤

¥Ì¥ë¥â¥Ç¥à¥±¡¼¥Ö¥ë¤ò»ÈÍѤ·¤ÆľÀÜÀܳ¤·¤Æ¤¤¤ë¾ì¹ç¡¢ ppp ¤Ï¼«Æ°Åª¤Ë¤ÏÀܳ¤Î½ªÎ»¤òÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¥Ì¥ë¥â¥Ç¥à¥·¥ê¥¢¥ë¥±¡¼¥Ö¥ë¤ÎÇÛÀþ¤Ëµ¯°ø¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¼ï¤ÎÀܳ·ÁÂÖ¤òÍѤ¤¤ë¾ì¹ç¤Ï¡¢ °Ê²¼¤ÎÌ¿Îá¤òÍѤ¤¤Æ LQR ¤ò¾ï¤ËÍ­¸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

enable lqr

¤³¤¦¤¹¤ë¤È¡¢ÀܳÀ褬¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò¹Ô¤¦¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ç LQR ¤Î»ÈÍѤò¼õ¤±Æþ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

10.17. ppp ¤ò -auto ¥â¡¼¥É¤ÇÆ°¤«¤¹¤È¡¢ ¾¡¼ê¤Ë¥À¥¤¥¢¥ë¤¹¤ë¤³¤È¤¬¤¢¤ë

ppp ¤¬»×¤¤¤â¤·¤Ê¤¤¤È¤­¤Ë¥À¥¤¥¢¥ë¤ò»Ï¤á¤ë¾ì¹ç¡¢¤½¤Î¸¶°ø¤òÆͤ­»ß¤á¡¢ ËɻߤΤ¿¤á¤Ë¥À¥¤¥ä¥ë¥Õ¥£¥ë¥¿ (dfilters) ¤ò¤«¤±¤Æ¤ä¤ë ɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¸¶°ø¤òÆͤ­»ß¤á¤ë¤¿¤á¤Ë¤Ï¡¢°Ê²¼¤ÎÌ¿Îá¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

set log +tcp/ip

¤³¤ì¤ÇÀܳ¤òÄ̲᤹¤ë¤¹¤Ù¤Æ¤Î¥È¥é¥Õ¥£¥Ã¥¯¤ò¥í¥°¤Ë»Ä¤¹¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¼¡¤ËÆÍÁ³²óÀþ¤¬¤Ä¤Ê¤¬¤Ã¤¿¤È¤­¤Î¥í¥°¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¤¿¤É¤ì¤Ð¡¢ ¸¶°ø¤òÆͤ­»ß¤á¤ë¤³¤È¤¬¤Ç¤­¤ë¤Ï¤º¤Ç¤¹¡£

¸¶°ø¤¬¤ï¤«¤Ã¤¿¤é¡¢¼¡¤Ë¡¢¤³¤Î¤è¤¦¤Ê¾õ¶·¤Ç¤Ï¥À¥¤¥ä¥ë¤¬µ¯¤³¤é¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤·¤ç¤¦¡£ Ä̾¤³¤Î¼ê¤ÎÌäÂê¤Ï¡¢DNS ¤Ç̾Á°¤Î²ò·è¤ò¤·¤è¤¦¤È¤·¤¿¤¿¤á¤Ëµ¯¤³¤ê¤Þ¤¹¡£ DNS ¤Ë¤è¤ë̾Á°¤Î²ò·è¤Ë¤è¤Ã¤Æ¡¢ Àܳ¤¬¹Ô¤ï¤ì¤ë¤Î¤òËɻߤ¹¤ë¤Ë¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ê¼êÃʤòÍѤ¤¤Þ¤¹ (¤³¤ì¤Ï ppp ¤Î´û¤Ë³ÎΩ¤·¤¿Àܳ¤Ë´Ø¤·¤Æ¥Ñ¥±¥Ã¥È¤Î¥Õ¥£¥ë¥¿¥ê¥ó¥°¤ò¤¹¤ë¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)¡£

set dfilter 1 deny udp src eq 53
set dfilter 2 deny udp dst eq 53
set dfilter 3 permit 0/0 0/0

¤³¤ì¤Ï¥Ç¥Þ¥ó¥É¥À¥¤¥ä¥ëµ¡Ç½¤ËÌäÂê¤òÀ¸¤¸¤µ¤»¤ë¤¿¤á¡¢ ¾ï¤ËŬÀڤǤ¢¤ë¤È¤Ï¤«¤®¤ê¤Þ¤»¤ó¡£ ¤Û¤È¤ó¤É¤Î¥×¥í¥°¥é¥à¤Ï¾¤Î¥Í¥Ã¥È¥ï¡¼¥¯´ØÏ¢¤Î½èÍý¤ò¹Ô¤Ê¤¦Á°¤Ë DNS ¤Ø¤ÎÌ䤤¹ç¤ï¤»¤¬É¬Íפˤʤê¤Þ¤¹¡£

DNS ¤Î¾ì¹ç¤Ï¡¢ ²¿¤¬¼ÂºÝ¤Ë¥Û¥¹¥È̾¤ò¸¡º÷¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤«¤òÆͤ­»ß¤á¤ë¤Ù¤­¤Ç¤·¤ç¤¦¡£ ÂçÄñ¤Î¾ì¹ç¤Ï¡¢ sendmail(8) ¤¬ÈȿͤǤ¹¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤Ç sendmail ¤¬ DNS ¤ËÌ䤤¹ç¤ï¤»¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«³Îǧ¤¹¤Ù¤­¤Ç¤¹¡£ ¼«Ê¬ÍѤÎÀßÄê¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¤¿¤á¤Î¾Ü¤·¤¤ÊýË¡¤Ï¡¢ ¥á¡¼¥ë¤ÎÀßÄê ¤Î¹à¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¤Ï¡¢ .mc ¥Õ¥¡¥¤¥ë¤Ë¼¡¤Î¤è¤¦¤Ê¹Ô¤òÄɲ䷤Ƥâ¤è¤¤¤Ç¤·¤ç¤¦¡£

define(`confDELIVERY_MODE', `d')dnl

¤³¤Î¹Ô¤òÄɲ乤ë¤È¡¢sendmail ¤Ï¥á¡¼¥ë¥­¥å¡¼¤ò½èÍý¤¹¤ë (Ä̾ï sendmail ¤Ï 30 ʬ¤´¤È¤Ë¥­¥å¡¼¤ò½èÍý¤¹¤ë¤è¤¦¡¢ “-bd -q30m” ¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æµ¯Æ°¤µ¤ì¤Þ¤¹) ¤Þ¤Ç¤«¡¢ ¤Þ¤¿¤Ï (¿ʬ ppp.linkup ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç) “sendmail -q” ¤È¤¤¤¦¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¤Þ¤Ç¡¢ ¤¹¤Ù¤Æ¤Î¥á¡¼¥ë¤ò¥­¥å¡¼¤Ëί¤á¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

ÌõÃí:sendmail -q” ¤Ï¤½¤Î»þÅÀ¤Î¥á¡¼¥ë¥­¥å¡¼¤ÎÆâÍƤò½èÍý¤·¤Æ½ªÎ»¤·¤Þ¤¹¡£

10.18. CCP ¥¨¥é¡¼¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«

¥í¥°¥Õ¥¡¥¤¥ëÃæ¤Î°Ê²¼¤Î¥¨¥é¡¼¤Ï¡¢

CCP: CcpSendConfigReq
CCP: Received Terminate Ack (1) state = Req-Sent (6)

¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤Ë¤ª¤¤¤Æ ppp ¤Ï Predictor1 °µ½Ì¤òÍѤ¤¤ë¤Ù¤¯¼çÄ¥¤·¤¿¤Î¤ËÂФ·¤Æ¡¢ ÀܳÀè¤Ï°µ½Ì¤ò»ÈÍѤ·¤Ê¤¤¤³¤È¤ò¼çÄ¥¤·¤¿¾ì¹ç¤Ëµ¯¤³¤ê¤Þ¤¹¡£ ¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ë¤Ï²¿¤Î³²¤â¤¢¤ê¤Þ¤»¤ó¤¬¡¢ ½Ð¤ë¤Î¤¬·ù¤Ê¤é¡¢°Ê²¼¤ÎÌ¿Îá¤òÍѤ¤¤Æ¤³¤Á¤é¦¤Ç¤â Predictor1 °µ½Ì¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¤ÇÂбþ¤Ç¤­¤Þ¤¹¡£

disable pred1

10.19. ¥Õ¥¡¥¤¥ëžÁ÷¤ÎÅÓÃæ¤Ç¡¢ppp ¤¬ IO ¥¨¥é¡¼¤ò½Ð¤·¤Æ¸Ç¤Þ¤Ã¤Æ¤·¤Þ¤¦

FreeBSD 2.2.2 °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î tun ¥É¥é¥¤¥Ð¤Ë¤Ï¡¢tun ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î MTU ¤Î¥µ¥¤¥º¤è¤êÂ礭¤Ê¥Ñ¥±¥Ã¥È¤ò¼õ¤±¼è¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤È¤¤¤¦¥Ð¥°¤¬¤¢¤ê¤Þ¤·¤¿¡£ MTU ¤Î¥µ¥¤¥º¤è¤êÂ礭¤Ê¥Ñ¥±¥Ã¥È¤ò¼õ¤±ÉÕ¤±¤ë¤È IO ¥¨¥é¡¼¤¬µ¯¤³¤ê¡¢ syslogd ·Ðͳ¤Çµ­Ï¿¤µ¤ì¤ë¤Î¤Ç¤¹¡£

ppp ¤Î»ÅÍͤǤϡ¢ LCP ¤Î¥Í¥´¥·¥¨¡¼¥·¥ç¥ó¤ò¹Ô¤¦¾ì¹ç¤ò´Þ¤à¤É¤Î¤è¤¦¤Ê¾ì¹ç¤Ç¤âºÇÄã 1500 ¥ª¥¯¥Æ¥Ã¥È¤Î Maximum Receive Unit (MRU) ¤ò¼õ¤±Æþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤Ç¤¹¤«¤é¡¢MTU ¤ò 1500 °Ê²¼¤ËÀßÄꤷ¤¿¾ì¹ç¤Ç¤â¡¢ISP ¤Ï¤½¤ì¤Ë´Ø·¸¤Ê¤¯ 1500 ¤ÎÂ礭¤µ¤Î¥Ñ¥±¥Ã¥È¤òÁ÷¤Ã¤Æ¤¯¤ë¤Ç¤·¤ç¤¦¡£ ¤½¤·¤Æ¤³¤Î¥¤¥±¤Æ¤Ê¤¤µ¡Ç½¤Ë¤Ö¤Á¤¢¤¿¤Ã¤Æ¡¢ ¥ê¥ó¥¯¤¬¸Ç¤Þ¤ë¤Î¤òÌܤˤ¹¤ë¤³¤È¤Ë¤Ê¤ë¤Î¤Ç¤¹¡£

FreeBSD 2.2.2 °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢MTU ¤ò·è¤·¤Æ 1500 ¤è¤ê¾®¤µ¤¯¤·¤Ê¤¤¤³¤È¤Ç¡¢ ¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

10.20. ¤É¤¦¤·¤Æ ppp ¤ÏÀܳ®ÅÙ¤ò¥í¥°¤Ë»Ä¤µ¤Ê¤¤¤ó¤Ç¤·¤ç¤¦?

¥â¥Ç¥à¤È¤Î¡Ö¤ä¤ê¼è¤ê¡×¤¹¤Ù¤Æ¤Î¹Ô¤ò¥í¥°¤Ë»Ä¤¹¤Ë¤Ï¡¢ °Ê²¼¤Î¤è¤¦¤Ë¤·¤ÆÀܳ®ÅÙ¤Î¥í¥°¤ÎÍ­¸ú²½¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£

set log +connect

¤³¤ì¤Ï ppp(8) ¤ËºÇ¸å¤Ë¤¯¤ë¤³¤È¤¬Í׵ᤵ¤ì¤Æ¤¤¤ë “expect” ¤È¤¤¤¦Ê¸»úÎ󤬤¯¤ë¤Þ¤Ç¤Î¤¹¤Ù¤Æ¤Î¤â¤Î¤ò¥í¥°¤Ëµ­Ï¿¤µ¤»¤Þ¤¹¡£

Àܳ®ÅÙ¤Ï¥í¥°¤Ë¤È¤ê¤¿¤¤¤±¤ì¤É¡¢PAP ¤ä CHAP ¤ò»È¤Ã¤Æ¤¤¤ë (¤½¤Î·ë²Ì¡¢¥À¥¤¥ä¥ë¥¹¥¯¥ê¥×¥ÈÃæ¤Î CONNECT °Ê¹ß¤ËÁ´¤¯¡Ö¤ä¤ê¤È¤ê¡×¤ò¹Ô¤ï¤Ê¤¤ - “set login” ¥¹¥¯¥ê¥×¥È¤Ë¤Ï²¿¤â½ñ¤«¤Ê¤¤) ¤Î¤Ç¤¢¤ì¤Ð¡¢ ppp ¤Ë “expect” ¤ò´Þ¤ó¤À CONNECT ¹Ô¤¹¤Ù¤Æ¤¬¤¯¤ë¤Þ¤ÇÂÔ¤¿¤»¤ë¤è¤¦¤Ë¤·¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡¢ °Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"

¤³¤³¤Ç¡¢CONNECT ¤ò¼õ¿®¤·¤Æ¤«¤é¡¢ ²¿¤âÁ÷¤é¤º¡¢Éüµ¢²þ¹Ô (linefeed) ¤òÂԤäƤ¤¤Þ¤¹¡¢ ppp ¤Ë CONNECT ¤Î±þÅú¤¹¤Ù¤Æ¤òÆɤ߹þ¤Þ¤»¤Æ¤¤¤ë¤ï¤±¤Ç¤¹¡£

10.21. »ä¤Î chat ¥¹¥¯¥ê¥×¥È¤Ç¤Ï “\” ¤È¤¤¤¦Ê¸»ú¤ò PPP ¤¬²ò¼á¤·¤Æ¤¯¤ì¤Þ¤»¤ó¡£

PPP ¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤È¤­¤Ë¡¢ set phone "123 456 789" ¤Î¤è¤¦¤Êʸ»úÎó¤òÀµ¤·¤¯²ò¼á¤·¡¢ Èֹ椬¼ÂºÝ¤Ë1 ¤Ä¤Î°ú¿ô¤Ç¤¢¤ë¤ÈÍý²ò¤·¤Þ¤¹¡£ “"” ¤È¤¤¤¦Ê¸»ú¤ò»ØÄꤹ¤ë¤Ë¤Ï¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å (backslash; “\”) ¤Ç¥¨¥¹¥±¡¼¥×¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

chat ¤Î³Æ°ú¿ô¤¬²ò¼á¤µ¤ì¤ë¤È¤­¤Ë¤Ï¡¢ “\P” ¤ä “\T” ¤Î¤è¤¦¤ÊÆÃÊ̤ʥ¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹ (¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸»²¾È¤Î¤³¤È) ¤ò¸«ÉÕ¤±¤ë¤¿¤á¤Ë¡¢ ¤â¤¦ 1 ²ó¡¢»ú¶ç²òÀϤò¹Ô¤¤¤Þ¤¹¡£ ¤³¤Î¤è¤¦¤Ë»ú¶ç²òÀÏ¤Ï 2 ²ó·«¤êÊÖ¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢ Àµ¤·¤¤²ó¿ô¤À¤±¥¨¥¹¥±¡¼¥×½èÍý¤ò¹Ô¤ï¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£

¥â¥Ç¥à¤Ë¤¿¤È¤¨¤Ð “\” ¤Î¤è¤¦¤Êʸ»ú¤òÁ÷¤ê¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢ ¼¡¤Î¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

set dial "\"\" ATZ OK-ATZ-OK AT\\\\X OK"

¼ÂºÝ¤Ë¥â¥Ç¥à¤ËÁ÷¤é¤ì¤ëʸ»úÎó¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

ATZ
OK
AT\X
OK

¾¤ÎÎã¤Ç¤¹¤È

set phone 1234567
              set dial "\"\" ATZ OK ATDT\\T"

¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

ATZ
OK
ATDT1234567

10.22. ppp ¤¬ segmentation fault ¤Ë¤Ê¤ë¤Î¤Ç¤¹¤¬¡¢ ppp.core ¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤»¤ó

ppp (¤ä¾¤Î¥×¥í¥°¥é¥à) ¤Ï·è¤·¤Æ core ¤òÅǤ¤¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ ppp ¤Ï¼Â¸ú uid ¤¬ 0 ¤ÇÆ°¤¤¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ï ppp ¤ò½ªÎ»¤µ¤»¤ëÁ°¤Ë¥Ç¥£¥¹¥¯¤Ë core ¥¤¥á¡¼¥¸¤ò½ñ¤­¹þ¤ß¤Þ¤»¤ó¡£ ¤·¤«¤· ppp ¤Ï¼ÂºÝ¤Ë¤Ï¥»¥°¥á¥ó¥Æ¡¼¥·¥ç¥ó°ãÈ¿¤ä¡¢ ¾¤Î core ¤òÅǤ¯¸¶°ø¤È¤Ê¤ë¤è¤¦¤Ê¥·¥°¥Ê¥ë¤Ë¤è¤Ã¤Æ½ªÎ»¤·¤Æ¤ª¤ê¡¢ ¤µ¤é¤ËºÇ¿·¤Î¥Ð¡¼¥¸¥ç¥ó (¤³¤Î¥»¥¯¥·¥ç¥ó¤Î»Ï¤á¤ò¸«¤Æ¤¯¤À¤µ¤¤) ¤ò»ÈÍѤ·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

% tar xfz ppp-*.src.tar.gz
% cd ppp*/ppp
% echo STRIP= >>Makefile
% echo CFLAGS+=-g >>Makefile
% make clean all
% su
# make install
# chmod 555 /usr/sbin/ppp

¤³¤ì¤Ç¥Ç¥Ð¥Ã¥°²Äǽ¤Ê¥Ð¡¼¥¸¥ç¥ó¤Î ppp ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£ root ¤Ç ppp ¤ò¼Â¹Ô¤·¡¢ ¤¹¤Ù¤Æ¤ÎÆø¢¤¬Ìµ¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£ ppp ¤ò¼Â¹Ô¤¹¤ë»þ¤Ë¤Ï¡¢ ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤¬ make ¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¢¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

¤³¤ì¤Ç¡¢ppp ¤¬¥»¥°¥á¥ó¥Æ¡¼¥·¥ç¥óÎã³°¤ò¼õ¤±¼è¤Ã¤¿¤È¤­¤Ë¤Ï ppp.core ¤È¤¤¤¦Ì¾Á°¤Î core ¥Õ¥¡¥¤¥ë¤òÅǤ¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£core ¤¬ ÅǤ«¤ì¤¿¤é¼¡¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

% su
# gdb /usr/sbin/ppp ppp.core
(gdb) bt
.....
(gdb) f 0
....
(gdb) i args
....
(gdb) l
.....

¼ÁÌ䤹¤ëºÝ¤Ë¤Ï¡¢¤³¤ì¤é¤¹¤Ù¤Æ¤Î¾ðÊó¤òÄ󶡤·¤Æ¡¢ ÌäÂêÅÀ¤ÎʬÀϤ¬¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

gdb ¤Î»È¤¤Êý¤Ë´·¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¼ÂºÝ¤Ë dump ¤Î¸¶°ø¤È¤Ê¤Ã¤¿Íýͳ¤ä¤½¤Î¥¢¥É¥ì¥¹¡¢ ´ØÏ¢¤·¤¿ÊÑ¿ô¤ÎÃͤʤɤâÄ´¤Ù¤ë»ö¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£

10.23. auto ¥â¡¼¥É¤Ç¥À¥¤¥¢¥ë¤ò¤¹¤ë¤è¤¦¤Ê¥×¥í¥»¥¹¤¬Àܳ¤µ¤ì¤Ê¤¤¡£

¤³¤ì¤Ï ppp ¤¬¥í¡¼¥«¥ë¦¤Î IP ¥¢¥É¥ì¥¹¤ò¡¢ ưŪ¤ËÄÌ¿®Áê¼ê¤È¸ò¾Ä¤¹¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë»þ¤ËȯÀ¸¤¹¤ëÎɤ¯ÃΤé¤ì¤¿¾ã³²¤Ç¤·¤¿¡£ ºÇ¿·¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢ ¤³¤ÎÌäÂê¤Ï½¤Àµ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ iface ¤ò¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤«¤é¸¡º÷¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

¤³¤ì¤Ï¡¢ºÇ½é¤Î¥×¥í¥°¥é¥à¤¬ connect(2) ¤ò¸Æ¤Ó½Ð¤·¤¿»þ¡¢tun ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Î IP ¥¢¥É¥ì¥¹¤¬¡¢ ¥½¥±¥Ã¥È¤Î½ªÃ¼¤Ë³ä¤êÅö¤Æ¤é¤ì¤Æ¤·¤Þ¤¦¤È¤¤¤¦ÌäÂê¤Ç¤¹¡£ ¥«¡¼¥Í¥ë¤Ï¡¢ ³°¤Ø½Ð¤Æ¤¤¤¯ºÇ½é¤Î¥Ñ¥±¥Ã¥È¤òºî¤ê¡¢¤½¤ì¤ò tun ¥Ç¥Ð¥¤¥¹¤Ø½ñ¤­¹þ¤ß¤Þ¤¹¡£ ¤½¤·¤Æ ppp ¤Ï¡¢ ¤½¤Î¥Ñ¥±¥Ã¥È¤òÆɤ߹þ¤ó¤ÇÀܳ¤ò³ÎΩ¤·¤Þ¤¹¡£ ppp ¤ÏưŪ¤Ë IP ¥¢¥É¥ì¥¹¤ò³ä¤êÅö¤Æ¤ë¤¿¤á¡¢ ¤â¤·¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Î¥¢¥É¥ì¥¹¤¬ÊѲ½¤·¤Æ¤·¤Þ¤¦¤È¡¢ ºÇ½é¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿¥½¥±¥Ã¥È½ªÃ¼¤Î IP ¥¢¥É¥ì¥¹¤Ï̵¸ú¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¤½¤Î¤¿¤á¡¢¤½¤ì°Ê¹ßÁê¼ê¤ËÁ÷¤é¤ì¤ë¤¹¤Ù¤Æ¤Î¥Ñ¥±¥Ã¥È¤ÏÄ̾ Áê¼ê¤ËÆϤ¯¤³¤È¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¡£¤â¤·²¾¤ËÆϤ¤¤¿¤È¤·¤Æ¤â¡¢ ´û¤Ë¤³¤Á¤é¤Î IP ¥¢¥É¥ì¥¹¤ÏÊѹ¹¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢ ¤É¤ó¤ÊÈ¿±þ¤âºÇ½é¤Î¥Þ¥·¥ó¤Ë¤ÏÌá¤Ã¤Æ¤­¤Þ¤»¤ó¡£

¤³¤ÎÌäÂê¤ËÂн褹¤ëÍýÏÀŪ¤ÊÊýË¡¤¬¤¤¤¯¤Ä¤«¤¢¤ê¤Þ¤¹¡£¤â¤·²Äǽ¤Ê¤é¡¢ Áê¼ê¤¬ºÆÅÙ¡¢Æ±¤¸ IP ¥¢¥É¥ì¥¹¤ò³ä¤êÅö¤Æ¤Æ¤¯¤ì¤ë¤³¤È¤¬°ìÈ֤Ǥ¹ :-) ppp ¤Î¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï¤³¤ì¤ò¹Ô¤Ê¤¤¤Þ¤¹¤¬¡¢ ¾¤Î¤Û¤È¤ó¤É¤Î¼ÂÁõ¤Ï¤½¤¦¤¤¤Ã¤¿Æ°ºî¤ò¤·¤Þ¤»¤ó¡£

²æ¡¹¤Î¦¤«¤éÂнè¤Ç¤­¤ëºÇ¤â´Êñ¤ÊÊýË¡¤Ï¡¢tun ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Î IP ¥¢¥É¥ì¥¹¤ò¸ÇÄꤹ¤ë»ö¤Ç¤¹¡£¤Þ¤¿¤½¤Î¤«¤ï¤ê¤Ë¡¢ ³°¤Ë½Ð¤Æ¤¤¤¯¥Ñ¥±¥Ã¥È¤òÊѹ¹¤·¤Æ¡¢ ȯ¿®¸µ IP ¥¢¥É¥ì¥¹¤ò¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Î IP ¥¢¥É¥ì¥¹¤«¤é¡¢¸ò¾Ä¤Ë¤è¤Ã¤ÆÆÀ¤é¤ì¤¿ IP ¥¢¥É¥ì¥¹¤Ë¡¢ Ŭµ¹½ñ¤­¤«¤¨¤ë»ö¤Ë¤è¤Ã¤Æ¤âÂнè¤Ç¤­¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢´ðËÜŪ¤Ë ppp ¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ë¤¢¤ë iface-alias ¥ª¥×¥·¥ç¥ó¤¬¹Ô¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ÈƱ¤¸¤Ç¤¹ (libalias(3) ¤ª¤è¤Ó¡¢ppp ¤Î -nat ¥¹¥¤¥Ã¥Á¤Ë¤â´Ø·¸¤·¤Þ¤¹)¡£¤½¤ì¤Ï¡¢°ÊÁ°¤Î IP ¥¢¥É¥ì¥¹¤ò¤¹¤Ù¤Æ´ÉÍý¤·¡¢ ¤½¤ì¤é¤òºÇ¸å¤Î¸ò¾Ä¤Ë¤è¤Ã¤ÆÆÀ¤é¤ì¤¿ IP ¥¢¥É¥ì¥¹¤ËÂФ·¤Æ NAT µ¡Ç½¤òÍ­¸ú²½¤·¤Þ¤¹¡£

¤â¤¦ 1 ¤Ä¤Î (¤ª¤½¤é¤¯ºÇ¤â¿®Íê¤Ç¤­¤ë) ÊýË¡¤Ï¡¢bind ¤µ¤ì¤¿ ¤¹¤Ù¤Æ¤Î¥½¥±¥Ã¥È¤Î IP ¥¢¥É¥ì¥¹¤ò¡¢ °Û¤Ê¤ë¤â¤Î¤ËÊѹ¹¤Ç¤­¤ë¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò¼ÂÁõ¤¹¤ë¤³¤È¤Ç¤¹¡£ ppp¤Ï¡¢ ¿·¤·¤¤ IP ¥¢¥É¥ì¥¹¤¬³ä¤êÅö¤Æ¤é¤ì¤¿»þ¡¢ ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤òÍѤ¤¤Æ¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Ë¤¢¤ë¡¢ ¤¹¤Ù¤Æ¤Î¥½¥±¥Ã¥È¤ò½ñ¤­¤«¤¨¤Æ¤ä¤ë¤ï¤±¤Ç¤¹¡£ Ʊ¤¸¥·¥¹¥Æ¥à¥³¡¼¥ë¤¬¡¢DHCP ¥¯¥é¥¤¥¢¥ó¥È¤¬ÍøÍѤ¹¤ë¥½¥±¥Ã¥È¤ò ¶¯À©Åª¤ËºÆ bind ¤¹¤ë¤Î¤Ë¤â»È¤¦¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£

3 ¤ÄÌܤÎÊýË¡¤Ï¡¢IP ¥¢¥É¥ì¥¹¤ò»ØÄꤷ¤Ê¤¤¤Ç¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤òÍøÍѤǤ­¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ç¤¹¡£ ³°¤Ë½Ð¤Æ¤¤¤¯¥Ñ¥±¥Ã¥È¤Ï¡¢ºÇ½é¤Î SIOCAIFADDR ioctl ¤Î´°Î»¤Þ¤Ç¡¢ 255.255.255.255 ¤È¤¤¤¦ IP ¥¢¥É¥ì¥¹¤¬Í¿¤¨¤é¤ì¤Þ¤¹¡£ ¤³¤ì¤Ë¤è¤Ã¤Æ¡¢¥½¥±¥Ã¥È¤Ï¾ï¤Ë bind ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ȯ¿®¸µ IP ¥¢¥É¥ì¥¹¤òÊѹ¹¤¹¤ë¤Î¤Ï ppp ¤Î»Å»ö¤Ç¤¹¡£¤¿¤À¤·¡¢ ¤½¤ì¤Ïȯ¿®¸µ IP ¥¢¥É¥ì¥¹¤¬ 255.255.255.255 ¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢IP ¥¢¥É¥ì¥¹¤È IP ¥Á¥§¥Ã¥¯¥µ¥à¤òÊѹ¹¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤À¤±¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢¥«¡¼¥Í¥ë¤¬ÉÔŬÀÚ¤ËÀßÄꤵ¤ì¤¿¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Ø¤Ï °Û¾ï¤Ê¥Ñ¥±¥Ã¥È¤òÁ÷½Ð¤·¤è¤¦¤È¤¹¤ë¤³¤È¤òÍøÍѤ·¤Æ¡¢¤Ê¤Ë¤«Â¾¤Î »ÅÁȤߤ¬Á̵ÚŪ¤Ë½¤Àµ¤ò¹Ô¤Ã¤Æ¤¯¤ì¤ë¤³¤È¤òÁ°Äó¤Ë¤·¤Æ¤¤¤ë¡¢ ³ä¤êÀڤä¿ÊýË¡¤Ç¤Ï¤¢¤ê¤Þ¤¹¡£

10.24. ²¿¸Î¤Û¤È¤ó¤É¤Î¥²¡¼¥à¤¬ -nat ¥¹¥¤¥Ã¥ÁÉÕ¤­¤À¤ÈÆ°¤«¤Ê¤¤¤ó¤Ç¤¹¤«?

libalias ¤ò»È¤Ã¤Æ¤¤¤ë»þ¤Ë¥²¡¼¥à¤Ê¤É¤ÎÎà¤Î¤â¤Î¤¬Æ°ºî¤·¤Ê¤¤Íýͳ¤Ï¡¢ ³°Â¦¤Ë¤¢¤ë¥Þ¥·¥ó¤¬Àܳ¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤«¡¢Æ⦤ˤ¢¤ë¥Þ¥·¥ó¤Ë (;·×¤Ê) UDP ¥Ñ¥±¥Ã¥È¤òÁ÷¿®¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£ Æ⦤Υޥ·¥ó¤Ë¤³¤ì¤é¤Î¥Ñ¥±¥Ã¥È¤òÁ÷¤ë¤Ù¤­¤«¤Ë¤Ä¤¤¤Æ¡¢ NAT ¥½¥Õ¥È¥¦¥§¥¢¤Ï´ØÃΤ·¤Þ¤»¤ó¡£

¤¦¤Þ¤¯Æ°¤«¤¹¤¿¤á¤Ë¤Ï¡¢ ¼Â¹ÔÃæ¤Î¤â¤Î¤¬ÌäÂê¤ÎȯÀ¸¤·¤Æ¤¤¤ë¥½¥Õ¥È¥¦¥§¥¢¤À¤±¤Ç¤¢¤ë¤«¤ò³Îǧ¤·¡¢ ¥²¡¼¥È¥¦¥§¥¤¤Î tun ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ËÂФ·¤Æ tcpdump ¤ò¼Â¹Ô¤¹¤ë¤«¡¢ ¥²¡¼¥È¥¦¥§¥¤¾å¤Ç ppp ¤Î TCP/IP ¥í¥°µ­Ï¿¤òÍ­¸ú²½ (“set log +tcp/ip”) ¤·¤Æ¤¯¤À¤µ¤¤¡£

¹Ôµ·¤Î°­¤¤¥½¥Õ¥È¥¦¥§¥¢¤òµ¯Æ°¤¹¤ëºÝ¤Ë¡¢ ¥²¡¼¥È¥¦¥§¥¤¥Þ¥·¥ó¤òÄ̲᤹¤ë¥Ñ¥±¥Ã¥È¤ò´Æ»ë¤¹¤Ù¤­¤Ç¤¹¡£ ³°Â¦¤«¤é²¿¤«¥Ñ¥±¥Ã¥È¤¬Ìá¤Ã¤Æ¤­¤¿»þ¤Ë¡¢ ¤½¤Î¥Ñ¥±¥Ã¥È¤ÏÇË´þ¤µ¤ì¤ë¤Ç¤·¤ç¤¦ (¤½¤ì¤¬ÌäÂê¤Ê¤Î¤Ç¤¹)¡£ ¤³¤ì¤é¤Î¥Ñ¥±¥Ã¥È¤Î¥Ý¡¼¥ÈÈÖ¹æ¤ËÃí°Õ¤·¤Æ¡¢ ¤½¤Î¹Ôµ·¤Î°­¤¤¥½¥Õ¥È¥¦¥§¥¢¤òÄä»ß¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤ò¿ô²ó·«¤êÊÖ¤·¤Æ¥Ý¡¼¥ÈÈֹ椬¾ï¤ËƱ¤¸¤Ç¤¢¤ë¤«¤ò³Îǧ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ Ʊ¤¸¤Ç¤¢¤Ã¤¿¾ì¹ç¤Ï¡¢ /etc/ppp/ppp.conf ¤ÎŬÀڤʥ»¥¯¥·¥ç¥ó¤Ë¼¡¤Î¹Ô¤òÆþ¤ì¤ë¤È¡¢ ¤½¤Î¥½¥Õ¥È¥¦¥§¥¢¤ÏÆ°ºî¤¹¤ë¤è¤¦¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

nat port proto internalmachine:port port

¤³¤³¤Ç proto ¤Ï tcp ¤« udp ¤Ç¤¢¤ê¡¢ internalmachine ¤Ï¥Ñ¥±¥Ã¥È¤òÁ÷¤ê¤¿¤¤¥Þ¥·¥ó¡¢¤½¤·¤Æ port ¤Ï¥Ñ¥±¥Ã¥È¤ÎÁ÷¿®Àè¤Î¥Ý¡¼¥ÈÈÖ¹æ¤Ç¤¹¡£

¾åµ­¤Î¥³¥Þ¥ó¥É¤òÊѹ¹¤»¤º¤Ë¡¢ ¾¤Î¥Þ¥·¥ó¾å¤Ç¤½¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò»ÈÍѤǤ­¤ë¤è¤¦¤Ë¤Ï¤·¤¿¤¯¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤½¤·¤ÆƱ»þ¤ËÆó¤Ä¤ÎÆâÉô¤Î¥Þ¥·¥ó¾å¤Ç¤½¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ï¡¢ ¤³¤Î¼ÁÌä¤ÎÈϰϤòĶ¤¨¤Æ¤¤¤Þ¤¹¡£·ë¶É¡¢³°Â¦¤ÎÀ¤³¦¤«¤é¤Ï¡¢ ÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯Á´ÂΤ¬¤¿¤À°ì¤Ä¤Î¥Þ¥·¥ó¤È¤·¤Æ¸«¤¨¤ë¤Î¤Ç¤¹¡£

¥Ý¡¼¥ÈÈֹ椬¾ï¤ËƱ¤¸¤È¤Ï¸Â¤é¤Ê¤¤¾ì¹ç¡¢¤µ¤é¤Ë»°¤Ä¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£

  1. libalias ¤Ç¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¤·¡¢·ë²Ì¤òÁ÷¤êÉÕ¤±¤ë¡£ ÆÃÄê¤Î¾ì¹ç¤ÎÎã¤Ï /usr/src/lib/libalias/alias_*.c ¤Ë¤¢¤ê¤Þ¤¹ (alias_ftp.c ¤ÏÎɤ¤¥×¥í¥È¥¿¥¤¥×¤Ç¤¹)¡£¤³¤ì¤Ë¤ÏÄ̾³°¸þ¤­¤ÎÆÃÄê¤Î¥Ñ¥±¥Ã¥È¤òÆɤߡ¢ ÆâÉô¤Î·×»»µ¡¤Î¤¢¤ëÆÃÄê¤Î¥Ý¡¼¥È¤Ø¤ÎÀܳ¤ò³«»Ï¤¹¤ë¤è¤¦¤ÊÌ¿Î᤬¡¢ ³°Éô¤Î·×»»µ¡ÂФ·¤ÆÁ÷¤é¤ì¤Æ¤¤¤ë¤³¤È¤ò¸«Ê¬¤±¡¢ ¸å³¤Î¥Ñ¥±¥Ã¥È¤¬¤É¤³¤Ë¹Ô¤±¤Ð¤¤¤¤¤Î¤«¤¬Ê¬¤«¤ë¤è¤¦¤Ë¡¢ ¥¨¥¤¥ê¥¢¥¹¥Æ¡¼¥Ö¥ëÃæ¤Î “route” ¤ÎÉôʬ¤òÀßÄꤹ¤ë¡¢¤È¤¤¤¦ºî¶È¤¬´Þ¤Þ¤ì¤Þ¤¹¡£

    ¤³¤ì¤ÏºÇ¤âÆñ¤·¤¤ÊýË¡¤Ç¤¹¤¬¡¢ºÇ¤âÎɤ¤ÊýË¡¤Ç¤â¤¢¤ê¤Þ¤¹¤·¡¢¥½¥Õ¥È¥¦¥§¥¢¤¬ Ê£¿ô¤Î·×»»µ¡¤ÇÆ°¤¯¤è¤¦¤Ë¤Ç¤­¤Þ¤¹¡£

  2. ¥×¥í¥­¥· (proxy) ¤ò»È¤¦¡£¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¡¢¤¿¤È¤¨¤Ð socks5 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤«¡¢(cvsup ¤Î¤è¤¦¤Ë) “passive” ¥ª¥×¥·¥ç¥ó¤ò»ý¤Ã¤Æ¤¤¤ë¤È¤³¤ÎÊýË¡¤¬»È¤¨¤Þ¤¹¡£ “passive” ¤È¤ÏÁê¼ê¦¤Î¤Û¤¦¤«¤éÀܳ¤òµá¤á¤Æ¤¯¤ë¤³¤È¤òÈò¤±¤ë¤¿¤á¤Ë¤¢¤ë¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£

  3. nat addr” ¤ò»È¤Ã¤Æ¤Ê¤ó¤Ç¤â¤«¤ó¤Ç¤âÆâÉô¤Î·×»»µ¡¤Ë¸þ¤±¤Æή¤·¤Æ¤·¤Þ¤¦¡£ ¤³¤ì¤Ï¤Á¤ç¤Ã¤È̵ÍýÌðÍý¤Ê²ò·èË¡¤Ç¤¹¡£

10.25. Í­ÍѤʥݡ¼¥ÈÈÖ¹æ¤Î¥ê¥¹¥È¤Ï¤¢¤ê¤Þ¤»¤ó¤«?

¤Þ¤À½ÐÍè¤Æ¤¤¤Þ¤»¤ó¡£¤·¤«¤·¡¢ ¤³¤ì¤Ï (´Ø¿´¤ò»ý¤Ã¤Æ失¤ë¤Ê¤é¤Ð) ¤½¤¦¤¤¤Ã¤¿¥ê¥¹¥È¤Ë¤·¤Æ¤¤¤¯Í½Äê¤Ç¤¹¡£ ¤½¤ì¤¾¤ì¤ÎÎã¤Ë¤¢¤ë internal ¤Ï¡¢ ¥²¡¼¥à¤ÇÍ·¤Ö¥Þ¥·¥ó¤Î IP ¥¢¥É¥ì¥¹¤ËÃÖ¤­´¹¤¨¤Æ¤¯¤À¤µ¤¤¡£

Asheron's Call
nat port udp internal:65000 65000

¼êÆ°¤Ç¥²¡¼¥à¤Î¥Ý¡¼¥ÈÈÖ¹æ¤ò 65000 ¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥Þ¥·¥ó¤¬Ê£¿ô¤¢¤ë¾ì¹ç¤Ï¡¢¤½¤ì¤¾¤ì¤Î¥Þ¥·¥ó¤Ë½ÅÊ£¤·¤Ê¤¤¥Ý¡¼¥ÈÈÖ¹æ (¤Ä¤Þ¤ê 65001¡¢65002 ¤Ê¤É) ¤òÀßÄꤷ¡¢¤½¤ÎÀßÄꤴ¤È¤Ë nat port ¤Î¹Ô¤òÄɲä·¤Þ¤¹¡£

Half Life
nat port udp internal:27005 27015
PCAnywhere 8.0
nat port udp internal:5632 5632
nat port tcp internal:5631 5631
Quake
nat port udp internal:6112 6112

¤³¤Î¤è¤¦¤ËÀßÄꤹ¤ëÂå¤ï¤ê¤Ë¡¢ www.battle.net ¤Ç Quake ¤Î¥×¥í¥­¥· (proxy) ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«Ä´¤Ù¤Æ¤â¤¤¤¤¤Ç¤·¤ç¤¦¡£

Quake2
alias port udp internal:27901 27910
Red Alert
nat port udp internal:8675 8675
nat port udp internal:5009 5009


10.26. FCS ¥¨¥é¡¼¤Ã¤Æ²¿?

FCS ¤È¤Ï Frame Check Sequence (¥Õ¥ì¡¼¥à¥Á¥§¥Ã¥¯¥·¡¼¥±¥ó¥¹) ¤Îά¤Ç¤¹¡£ ¸Ä¡¹¤Î ppp ¥Ñ¥±¥Ã¥È¤Ë¤Ï¡¢ Á÷¼õ¿®¤¹¤ë¥Ç¡¼¥¿¤¬Àµ¤·¤¤¤«¤òÄ´¤Ù¤ë¤¿¤á¤Î¥Á¥§¥Ã¥¯¥µ¥à¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¼õ¿®¤·¤¿¥Ñ¥±¥Ã¥È¤Î FCS ¤¬Àµ¤·¤¯¤Ê¤¤¾ì¹ç¤Ï¡¢¤½¤Î¥Ñ¥±¥Ã¥È¤ÏÇÑ´þ¤µ¤ì¡¢ HDLC FCS ¥«¥¦¥ó¥È¤¬Áý¤ä¤µ¤ì¤Þ¤¹¡£ HDLC ¥¨¥é¡¼¤Î¿ô¤Ï¡¢ show hdlc ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æɽ¼¨¤Ç¤­¤Þ¤¹¡£

¥ê¥ó¥¯¤ÎÉʼÁ¤¬°­¤«¤Ã¤¿¤ê¡¢ ¥·¥ê¥¢¥ë¥É¥é¥¤¥Ð¤¬¥Ñ¥±¥Ã¥È¤ò¼è¤ê¤³¤Ü¤·¤Æ¤¤¤¿¤ê¤¹¤ë¤È¡¢ FCS ¥¨¥é¡¼¤¬¤¿¤Ó¤¿¤ÓȯÀ¸¤·¤Þ¤¹¡£ FCS ¥¨¥é¡¼¤Ï¡¢ °µ½Ì¥×¥í¥È¥³¥ë¤Î®ÅÙÄã²¼¤Î¸¶°ø¤Ë¤Ï¤Ê¤ê¤Þ¤¹¤¬¡¢ Æä˿´ÇÛ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ³°ÉÕ¤±¥â¥Ç¥à¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¥±¡¼¥Ö¥ë¤¬¤Á¤ã¤ó¤È¥·¡¼¥ë¥É¤µ¤ì¤Æ¤¤¤ë¤«¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢ FCS ¥¨¥é¡¼¤Î¸¶°ø¤È¤Ê¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£

Àܳľ¸å¤«¤é¥ê¥ó¥¯¤¬¥Õ¥ê¡¼¥º¤·¡¢ÂçÎ̤ΠFCS ¥¨¥é¡¼¤¬È¯À¸¤¹¤ë¾ì¹ç¤Ï¡¢ ¥ê¥ó¥¯¤¬ 8 ¥Ó¥Ã¥È¥¯¥ê¡¼¥ó¤Ç¤Ê¤¤²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ ¥½¥Õ¥È¥¦¥§¥¢¥Õ¥í¡¼À©¸æ (XON/XOFF) ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤É¤¦¤·¤Æ¤â¥½¥Õ¥È¥¦¥§¥¢¥Õ¥í¡¼À©¸æ¤ò»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¾ì¹ç¤Ï¡¢ set accmap 0x000a0000 ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢ ppp ¤Ë ^Q ¤È ^S ¤ò¥¨¥¹¥±¡¼¥×¤µ¤»¤Æ¤¯¤À¤µ¤¤¡£

¥ê¥â¡¼¥È¥Û¥¹¥È¤¬ PPP ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¤Æ¤Ê¤¤¾ì¹ç¤â¡¢ÂçÎ̤ΠFCS ¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤Ï¥í¥°¤ò¤È¤ê¤Ê¤¬¤éÈóƱ´ü¤ÇÀܳ¤·¡¢ ¥í¥°¥¤¥ó¥×¥í¥ó¥×¥È¤ä¥·¥§¥ë¥×¥í¥ó¥×¥È¤¬Á÷¤é¤ì¤ÆÍè¤Æ¤¤¤Ê¤¤¤«³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

¥í¥°¥Õ¥¡¥¤¥ë¤Ë¥ê¥ó¥¯¤ò½ªÎ»¤·¤¿¸¶°ø¤È¤Ê¤ë¤è¤¦¤Êµ­Ï¿¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢ ¥ê¥â¡¼¥È¥Û¥¹¥È (¥×¥í¥Ð¥¤¥À?) ¤Î´ÉÍý¼Ô¤Ë¡¢ ¥»¥Ã¥·¥ç¥ó¤ò½ªÎ»¤µ¤ì¤¿Íýͳ¤ò¿Ò¤Í¤Æ¤¯¤À¤µ¤¤¡£

10.27. ¥²¡¼¥È¥¦¥§¥¤¤Ç PPPoE ¤ò¼Â¹Ô¤¹¤ë¤È MacOS ¤ä Windows 98 ¤È¤ÎÀܳ¤¬¥Õ¥ê¡¼¥º¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¤¬¡¢ ¤³¤ì¤Ï¤Ê¤¼¤Ê¤Î¤Ç¤·¤ç¤¦¤«?

Michael Wozniak »á¤¬¡¢¤³¤Î¸½¾Ý¤Ë´Ø¤·¤ÆÀâÌÀ¤·¤Æ¤¯¤ì¤Þ¤·¤¿¡£ ¤Þ¤¿¡¢Dan Flemming »á¤Ï MacOS ¤Ç¤Î²ò·èºö¤òÄ󶡤·¤Æ¤¯¤ì¤Þ¤·¤¿¡£ ¾ðÊó¤ÎÄ󶡤˴¶¼Õ¤·¤Þ¤¹¡£

¤³¤ì¤Ï¡¢¤¤¤ï¤æ¤ë¡Ö¥Ö¥é¥Ã¥¯¥Û¡¼¥ë¥ë¡¼¥¿ (Black Hole router)¡×¤Ë¸¶°ø¤¬¤¢¤ê¤Þ¤¹¡£ Windows 98 ¤È MacOS (¤ª¤è¤Ó¡¢¤ª¤½¤é¤¯Â¾¤Î Microsoft ¼ÒÀ½ OS) ¤Î TCP ¥Ñ¥±¥Ã¥ÈÁ÷½Ð¤Ï¡¢ PPPoE ¤Î¥Õ¥ì¡¼¥à (Ethernet ¤Î MTU ¤Ïɸ½à¤Ç 1500) ¤ËÆþ¤é¤Ê¤¤¤è¤¦¤ÊÂ礭¤Ê¥»¥°¥á¥ó¥È¥µ¥¤¥º¤òÍ׵ᤷ¤Þ¤¹¡£ ¤½¤·¤Æ¤µ¤é¤Ëʬ³ä¶Ø»ß (“don't fragment”) ¥Õ¥é¥°¥Ó¥Ã¥È¤ò (TCP ¥Ñ¥±¥Ã¥È¤Ë¥Ç¥Õ¥©¥ë¥È¤Ç) ¥»¥Ã¥È¤¹¤ë¤Î¤Ç¤¹¤¬¡¢ Telco ¤Î¥ë¡¼¥¿¤Ï¡¢Ê¬³ä¤¬É¬¿Ü ("must fragment") ¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹ ICMP ¥á¥Ã¥»¡¼¥¸¤ò¡¢Àܳ¤·¤è¤¦¤È¤¹¤ë¥¦¥§¥Ö¥µ¥¤¥È¤ËÂФ·¤ÆÁ÷½Ð¤·¤Þ¤»¤ó (¤Ä¤Þ¤ê¡¢¥ë¡¼¥¿¤ÏÀµ¤·¤¯ ICMP ¥Ñ¥±¥Ã¥È¤òÁ÷½Ð¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¥¦¥§¥Ö¥µ¥¤¥È¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤¬¤½¤ì¤òÍî¤È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹)¡£ ¤½¤Î¤¿¤á¥¦¥§¥Ö¥µ¡¼¥Ð¤¬ PPPoE Àܳ¤ËÂФ·¤ÆÂ礭¤¹¤®¤ë¥Õ¥ì¡¼¥à¤òÁ÷½Ð¤¹¤ë¤È Telco ¤Î¥ë¡¼¥¿¤Ï¤½¤Î¥Õ¥ì¡¼¥à¤ò¼Î¤Æ¤Æ¤·¤Þ¤¤¡¢ ¸«¤è¤¦¤È¤·¤¿¥Ú¡¼¥¸¤¬É½¼¨¤µ¤ì¤Ê¤¤¤È¤¤¤¦¾É¾õ¤¬¸½¤ï¤ì¤Þ¤¹ (MSS ¤è¤ê¾®¤µ¤¤¥Ú¡¼¥¸¤ä²èÁü¤Ïɽ¼¨¤µ¤ì¤Þ¤¹)¡£ ¤Û¤È¤ó¤É¤Î Telco PPPoE ÀßÄê¤Ï¡¢É¸½à¤Ç¤³¤Î¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£ (¤¢¤¢¡¢Èà¤é¤¬¥ë¡¼¥Æ¥£¥ó¥°¥×¥í¥°¥é¥à¤Îºî¤êÊý¤òÍý²ò¤·¤Æ¤µ¤¨¤¤¤ì¤Ð¡Ä)¡£

°ì¤Ä¤Î²ò·èË¡¤Ï¡¢Windows 95/98 ¥Þ¥·¥ó¤Ç regedit ¤ò»È¤¤¡¢ ¼¡¤Î¥ì¥¸¥¹¥È¥ê¥¨¥ó¥È¥ê¤òÄɲ乤뤳¤È¤Ç¤¹¡£

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0000\MaxMTU

¥ì¥¸¥¹¥È¥ê¥¨¥ó¥È¥ê¤Ï¡¢“1450” ¤ÎÃÍ (¤â¤Ã¤ÈÀµ³Î¤Ë¸À¤¦¤È¡¢TCP ¥Ñ¥±¥Ã¥È¤ò PPPoE ¥Õ¥ì¡¼¥à¤Ë´°Á´¤ËŬ¹ç¤µ¤»¤ë¤Ë¤Ï “1464” ¤Ç¤¢¤ë¤Ù¤­¤Ç¤Ç¤¹¤¬¡¢ “1450” ¤È¤¹¤ë¤È¡¢¸½¤ï¤ì¤ë²ÄǽÀ­¤¬¤¢¤ë¾¤Î IP ¥×¥í¥È¥³¥ë¤ËÂФ·¤Æ¥¨¥é¡¼¥Þ¡¼¥¸¥ó¤ò³ÎÊݤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹) ¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¥ì¥¸¥¹¥È¥ê¥­¡¼¤Ï¡¢Windows2000 ¤Ç Tcpip\Parameters\Interfaces\ID for adapter\MTU ¤Ë°Ü¤µ¤ì¤¿¤È¤¤¤¦Êó¹ð¤¬¤¢¤ê¤Þ¤·¤¿¡£

FreeBSD/NAT/PPPoE ¥ë¡¼¥¿¤È¶¦Â¸¤µ¤»¤ë¤¿¤á¤Ë Windoze ¤Î MTU ¤òÊѹ¹¤¹¤ëÊýË¡¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï¡¢ Microsoft Knowledge Base ¤Ë¤¢¤ë¡¢ ÈÖ¹æ “Q158474 - Windows TCPIP Registry Entries”¡¢ ¤ª¤è¤ÓÈÖ¹æ “Q120642 - TCPIP & NBT Configuration Parameters for Windows NT” ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

»ÄÇ°¤Ê¤³¤È¤Ë¡¢MacOS ¤Ë¤Ï TCP/IP ÀßÄê¤òÊѹ¹¤¹¤ëÊýË¡¤¬¤¢¤ê¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢Sustainable Softworks ¼Ò ¤¬ÈÎÇ䤷¤Æ¤¤¤ë OTAdvancedTuner (OT ¤Ï OpenTransport ¤È¤¤¤¦ MacOS ¤Î TCP/IP ¥¹¥¿¥Ã¥¯¤Î̾Á°¤Î¤³¤È) ¤Î¤è¤¦¤Ê¾¦ÍÑ¥½¥Õ¥È¥¦¥§¥¢¤¬Â¸ºß¤·¤Þ¤¹¡£ ¤³¤Î¥½¥Õ¥È¥¦¥§¥¢¤Ï¡¢¥æ¡¼¥¶¤«¤é TCP/IP ÀßÄê¤ÎÊѹ¹¤ò¹Ô¤Ê¤¦¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ MacOS NAT ¥æ¡¼¥¶¤Ï¥É¥í¥Ã¥×¥À¥¦¥ó¥á¥Ë¥å¡¼¤«¤é ip_interface_MTU ¤òÁªÂò¤·¡¢ ¥Ü¥Ã¥¯¥¹¤Ë¤¢¤ë 1500 ¤ÎÂå¤ï¤ê¤Ë 1450 ¤òÆþÎϤ·¡¢ Save as Auto Configure ¤ÎÎ٤Υܥ寥¹¤ò¥¯¥ê¥Ã¥¯¤·¤Æ Make Active ¤ò¥¯¥ê¥Ã¥¯¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

ppp ¤ÎºÇ¿·ÈÇ (2.3 ¤«¤½¤ì°Ê¹ß) ¤Ë¤Ï¡¢¼«Æ°Åª¤Ë MSS ¤òŬÀÚ¤ÊÃͤËÄ´À᤹¤ë enable tcpmssfixup ¥³¥Þ¥ó¥É¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Îµ¡Ç½¤Ïɸ½à¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤â¤·µì¥Ð¡¼¥¸¥ç¥ó¤Î ppp ¤ò»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¾õ¶·¤Ë¤¢¤ë¤Ê¤é¡¢ tcpmssd ¤Î port ¤ò¤´Í÷¤Ë¤Ê¤ë¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£

10.28. ¤É¤ì¤Ë¤âÅö¤Æ¤Ï¤Þ¤é¤Ê¤¤! ¤É¤¦¤·¤¿¤é¤¤¤¤¤Î?

¤³¤ì¤Þ¤Ç¤Î¤¹¤Ù¤Æ¤Î¼ÁÌä¤ËÅö¤Æ¤Ï¤Þ¤é¤Ê¤¤¾ì¹ç¡¢ÀßÄê¥Õ¥¡¥¤¥ë¡¢ ppp ¤Î¼Â¹ÔÊýË¡¡¢¥í¥°¥Õ¥¡¥¤¥ë¤Î³ºÅöÉôʬ¤È netstat -rn ¥³¥Þ¥ó¥É¤Î½ÐÎÏ (ÀܳÁ°¤ÈÀܳ¸å) ¤ò´Þ¤à¡¢ ¤¢¤Ê¤¿¤Î»ý¤Ã¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¾ðÊó¤ò FreeBSD general questions ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤ä comp.unix.bsd.freebsd.misc ¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤ØÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£Ã¯¤«¤¬¤¢¤Ê¤¿¤òÀµ¤·¤¤Êý¸þ¤ØƳ¤¤¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£


第 11章¥·¥ê¥¢¥ëÀܳ

Ìõ: °ìµÜ μ ¡¢ 1997 ǯ 11 ·î 16 Æü

¤³¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢FreeBSD ¤Ç¥·¥ê¥¢¥ëÀܳ¤ò¤¹¤ë»þ¤Î°ìÈÌŪ¤Ê¼ÁÌä¤ËÅú¤¨¤Þ¤¹¡£ PPP ¤ª¤è¤Ó SLIP ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ 第9章¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

11.1. ¤É¤¦¤ä¤Ã¤¿¤é FreeBSD ¤¬¥·¥ê¥¢¥ë¥Ý¡¼¥È¤òǧ¼±¤·¤¿¤³¤È¤òÃΤë»ö¤¬¤Ç¤­¤Þ¤¹¤«?
11.2. ¤É¤¦¤ä¤Ã¤¿¤é FreeBSD ¤¬¥â¥Ç¥à¥«¡¼¥É¤òǧ¼±¤·¤¿¤³¤È¤òÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¤«?
11.3. FreeBSD 2.0.5 ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤¿¤é tty0X ¤¬¸«¤Ä¤«¤é¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤¹¤¬
11.4. ¤É¤¦¤ä¤Ã¤¿¤é FreeBSD ¤Ç¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤¹¤«?
11.5. ¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤µ¤»¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«?
11.6. FreeBSD ¤ÇÊ£¿ô¤Î¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É´Ö¤Ç irq ¤ò¶¦Í­¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?
11.7. ¥Ý¡¼¥È¤Ë¥Ç¥Õ¥©¥ë¥È¤Î¥Ñ¥é¥á¡¼¥¿¤òÀßÄꤹ¤ë»ö¤Ï½ÐÍè¤Þ¤¹¤«?
11.8. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¥â¥Ç¥à·Ðͳ¤Ç¥À¥¤¥ä¥ë¥¢¥Ã¥×¥í¥°¥¤¥ó¤¬¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«?
11.9. ¥À¥à¥¿¡¼¥ß¥Ê¥ë¤ò FreeBSD ¥Þ¥·¥ó¤ËÀܳ¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«?
11.10. ¤É¤¦¤·¤Æ tip ¤ä cu ¤¬Æ°¤«¤Ê¤¤¤Î¤Ç¤¹¤«?
11.11. »ä¤Î Hayes ¥â¥Ç¥à¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¤É¤¦¤·¤¿¤é¤¤¤¤¤Î¤Ç¤·¤ç¤¦¤«¡£
11.12. ¤³¤ì¤é¤Î AT ¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤Ë¤Ï?
11.13. pn µ¡Ç½¤Î <@> µ­¹æ¤¬»È¤¨¤Þ¤»¤ó!
11.14. ¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÅÅÏÃÈÖ¹æ¤ò»ØÄꤹ¤ë¤Ë¤Ï?
11.15. Ëè²ó bps ¥ì¡¼¥È¤òÆþÎϤ·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¤«?
11.16. ¥¿¡¼¥ß¥Ê¥ë¥µ¡¼¥Ð¤ò·Ðͳ¤·¤ÆÊ£¿ô¤Î¥Û¥¹¥È¤Ø¥¢¥¯¥»¥¹¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡£
11.17. tip ¤ò»È¤Ã¤Æ¤½¤ì¤¾¤ì¤Î¥µ¥¤¥È¤ÎÊ£¿ô¤Î²óÀþ¤ËÀܳ¤Ç¤­¤Þ¤¹¤«?
11.18. CTRL+P ¤ò 1 ²óÁ÷¤ë¤¿¤á¤Ë 2 ÅÙ²¡¤¹É¬Íפ¬¤¢¤ë¤Î¤Ï¤Ê¤¼?
11.19. ÂǤÁ¹þ¤ó¤Àʸ»ú¤¬ÆÍÁ³¤¹¤Ù¤ÆÂçʸ»ú¤Ë¤Ê¤ê¤Þ¤·¤¿??
11.20. tip ¤Ç¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¤Ë¤Ï?
11.21. tip ¤«¤é zmodem ¤ò¼Â¹Ô¤¹¤ë¤Ë¤Ï?
11.22. ÀßÄ꤬Àµ¤·¤¤¤Î¤Ë¤â¤«¤«¤ï¤é¤º¡¢FreeBSD ¤¬¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò¸«ÉÕ¤±¤é¤ì¤Þ¤»¤ó¡£

11.1. ¤É¤¦¤ä¤Ã¤¿¤é FreeBSD ¤¬¥·¥ê¥¢¥ë¥Ý¡¼¥È¤òǧ¼±¤·¤¿¤³¤È¤òÃΤë»ö¤¬¤Ç¤­¤Þ¤¹¤«?

FreeBSD ¤Î¥«¡¼¥Í¥ë¤¬µ¯Æ°¤¹¤ë»þ¡¢¥«¡¼¥Í¥ë¤Ï¤½¤ÎÀßÄê¤Ë¤·¤¿¤¬¤Ã¤Æ¡¢ ¥·¥¹¥Æ¥à¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò¸¡½Ð¤·¤Þ¤¹¡£µ¯Æ°»þ¤Ëɽ¼¨¤µ¤ì¤ë¥á¥Ã¥»¡¼¥¸¤ò¤è¤¯´Ñ»¡¤¹¤ë¤«¡¢ µ¯Æ°¸å¤Ë¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë»ö¤Ë¤è¤Ã¤Æ³Îǧ¤Ç¤­¤Þ¤¹¡£

dmesg | grep sio

¤³¤³¤Ë¾å¤Ëµó¤²¤¿¥³¥Þ¥ó¥É¤Î½ÐÎÏÎã¤ò¼¨¤·¤Þ¤¹¡£

sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A

¤³¤ì¤Ï¡¢Æó¤Ä¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£1 ÈÖÌܤϡ¢ irq ¤¬ 4 ¤Ç 0x3f8 ¤Î¥Ý¡¼¥È¥¢¥É¥ì¥¹¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£ ¤½¤·¤Æ¡¢16550A-type UART ¥Á¥Ã¥×¤¬Â¸ºß¤·¤Þ¤¹¡£ 2 ÈÖÌܤϡ¢Æ±¤¸¥Á¥Ã¥×¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢ irq ¤Ï 3 ¤Ç¡¢0x2f8 ¤Î¥Ý¡¼¥È¥¢¥É¥ì¥¹¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£Æ⢤Υâ¥Ç¥à¥«¡¼¥É¤Ï¡¢ Ä̾ï¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ÈƱ¤¸¤è¤¦¤Ë°·¤ï¤ì¤Þ¤¹¤¬¡¢ ¾ï»þ¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ë¥â¥Ç¥à¤¬Àܳ¤µ¤ì¤Æ¤¤¤ë¤È¤¤¤¦ÅÀ¤Ç°Û¤Ê¤ê¤Þ¤¹¡£

GENERIC ¥«¡¼¥Í¥ë¤Ï¡¢¾å¤ÎÎã¤ÈƱ¤¸ irq ¤È¥Ý¡¼¥È¥¢¥É¥ì¥¹¤ÎÀßÄê¤ÎÆó¤Ä¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÀßÄ꤬¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ë¹ç¤ï¤Ê¤¤¾ì¹ç¡¢ ¤Þ¤¿¤Ï¥â¥Ç¥à¥«¡¼¥É¤òÄɲä·¤¿¾ì¹ç¤ä¥«¡¼¥Í¥ë¤ÎÀßÄê°Ê¾å¤Ë¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¾Ü¤·¤¯¤Ï¡¢ ¥«¡¼¥Í¥ë¤Î¹½Ãۤιà¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

11.2. ¤É¤¦¤ä¤Ã¤¿¤é FreeBSD ¤¬¥â¥Ç¥à¥«¡¼¥É¤òǧ¼±¤·¤¿¤³¤È¤òÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¤«?

Á°¤Î¼ÁÌä¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

11.3. FreeBSD 2.0.5 ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤¿¤é tty0X ¤¬¸«¤Ä¤«¤é¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤¹¤¬

¿´ÇÛ¤¢¤ê¤Þ¤»¤ó¡£ ttydX ¤ËÅý¹ç¤µ¤ì¤Þ¤·¤¿¡£ ¤¿¤À¡¢¸Å¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤Î¤¹¤Ù¤Æ¤ò¹¹¿·¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

11.4. ¤É¤¦¤ä¤Ã¤¿¤é FreeBSD ¤Ç¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤¹¤«?

3 ÈÖÌܤΥݡ¼¥È sio2 (sio(4) ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£DOS ¤Ç¤Ï¡¢COM3 ¤È¸Æ¤Ð¤ì¤Þ¤¹¡£) ¤Ë¤Ï¡¢ ¥À¥¤¥ä¥ë¥¢¥¦¥È¥Ç¥Ð¥¤¥¹¤È¤·¤Æ¤Ï /dev/cuaa2¡¢ ¥À¥¤¥ä¥ë¥¤¥ó¥Ç¥Ð¥¤¥¹¤È¤·¤Æ /dev/ttyd2 ¤¬¤¢¤ê¤Þ¤¹¡£ ¤½¤ì¤Ç¤Ï¤³¤Îξ¼Ô¤Ë¤Ï¤É¤Î¤è¤¦¤Ê°ã¤¤¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«?

¤Þ¤º¡¢¥À¥¤¥ä¥ë¥¤¥ó¤Î»þ¤Ë¤Ï ttydX ¤ò»È¤¤¤Þ¤¹¡£ /dev/ttydX ¤ò¥Ö¥í¥Ã¥­¥ó¥°¥â¡¼¥É¤Ç¥ª¡¼¥×¥ó¤¹¤ë¤È¡¢¥×¥í¥»¥¹¤ÏÂбþ¤¹¤ë cuaaX ¥Ç¥Ð¥¤¥¹¤¬¥¤¥ó¥¢¥¯¥Æ¥£¥Ö¤Ë¤Ê¤ë¤Î¤òÂÔ¤Á¤Þ¤¹¡£ ¼¡¤Ë CD ¿®¹æ¤¬¥¢¥¯¥Æ¥£¥Ö¤Ë¤Ê¤ë¤Î¤òÂÔ¤Á¤Þ¤¹¡£ cuaaX ¥Ç¥Ð¥¤¥¹¤ò¥ª¡¼¥×¥ó¤¹¤ë¤È¡¢¥·¥ê¥¢¥ë¥Ý¡¼¥È¤¬ ttydX ¥Ç¥Ð¥¤¥¹¤Ë¤è¤Ã¤Æ¤¹¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤Ê¤¤¤«¤É¤¦¤«¤ò³Îǧ¤·¤Þ¤¹¡£ ¤â¤·¤³¤Î¥Ý¡¼¥È¤¬»ÈÍѲÄǽ¤Ç¤¢¤ì¤Ð¡¢¥Ý¡¼¥È¤Î»ÈÍѸ¢¤ò ttydX ¤«¤é¡ÖÃ¥¤¤¼è¤ë¡×¤Î¤Ç¤¹¡£¤Þ¤¿¡¢ cuaaX ¥Ç¥Ð¥¤¥¹¤Ï CD ¿®¹æ¤ò´Æ»ë¤·¤Þ¤»¤ó¡£ ¤³¤Î»ÅÁȤߤȼ«Æ°±þÅú¥â¥Ç¥à¤Ë¤è¤Ã¤Æ¡¢ ¥ê¥â¡¼¥È¥æ¡¼¥¶¡¼¤ò¥í¥°¥¤¥ó¤µ¤»¤¿¤ê¡¢ Ʊ¤¸¥â¥Ç¥à¤Ç¥À¥¤¥ä¥ë¥¢¥¦¥È¤·¤¿¤ê¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢ ¥·¥¹¥Æ¥à¤Î¤¢¤é¤æ¤ë¥È¥é¥Ö¥ë¤ÎÌÌÅݤò¸«¤ë¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£

11.5. ¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤µ¤»¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«?

·«¤êÊÖ¤·¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢ ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢ ¤¢¤Ê¤¿¤Î¥«¡¼¥Í¥ë¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤¬ÆÀ¤é¤ì¤ë¤Ç¤·¤ç¤¦¡£ ¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢¥«¡¼¥Í¥ë¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ë¡¢ ¥«¡¼¥É¤Î»ý¤Ä¤½¤ì¤¾¤ì¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ËÂбþ¤¹¤ë sio(4) ¤Î¹Ô¤òµ­½Ò¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤·¤«¤·¡¢ irq ¤È¥Ù¥¯¥¿¥¢¥É¥ì¥¹¤Ï°ì¤Ä¤Î¥¨¥ó¥È¥ê¤Ë¤Î¤ßµ­½Ò¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥«¡¼¥É¾å¤Î¤¹¤Ù¤Æ¤Î¥Ý¡¼¥È¤Ï°ì¤Ä¤Î irq ¤ò¶¦Í­¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ °ì´ÓÀ­¤ò»ý¤¿¤»¤ë¤¿¤á¤Ë¤â¡¢ ºÇ¸å¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Î½ê¤Ç irq ¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢COM_MULTIPORT ¥ª¥×¥·¥ç¥ó¤âÉÕ¤±¤Æ¤¯¤À¤µ¤¤¡£

¼¡¤Ë¼¨¤¹Îã¤Ï¡¢AST ¤Î 4 ¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É¤ò irq 7 ¤ÇÀßÄꤷ¤¿¤â¤Î¤Ç¤¹¡£

options "COM_MULTIPORT"
device sio4 at isa? port 0x2a0 tty flags 0x781
device sio5 at isa? port 0x2a8 tty flags 0x781
device sio6 at isa? port 0x2b0 tty flags 0x781
device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr

¤³¤Î¥Õ¥é¥°¤Ï¥Þ¥¹¥¿¥Ý¡¼¥È¤¬¥Þ¥¤¥Ê¡¼ÈÖ¹æ 7 (0x700) ¤ò»ý¤Ã¤Æ¤¤¤Æ¡¢ ¸¡½Ð»þ¤Î¿ÇÃǵ¡Ç½¤òÍ­¸ú¤Ë¤· (0x080)¡¢ ¤½¤·¤Æ¤¹¤Ù¤Æ¤Î¥Ý¡¼¥È¤Ç irq ¤ò¶¦Í­¤¹¤ë (0x001) ¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£

11.6. FreeBSD ¤ÇÊ£¿ô¤Î¥Þ¥ë¥Á¥Ý¡¼¥È¥·¥ê¥¢¥ë¥«¡¼¥É´Ö¤Ç irq ¤ò¶¦Í­¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

¸½ºß¤Î¤È¤³¤í¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½¤ì¤¾¤ì¤Î¥«¡¼¥ÉËè¤Ë°Û¤Ê¤Ã¤¿ irq ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

11.7. ¥Ý¡¼¥È¤Ë¥Ç¥Õ¥©¥ë¥È¤Î¥Ñ¥é¥á¡¼¥¿¤òÀßÄꤹ¤ë»ö¤Ï½ÐÍè¤Þ¤¹¤«?

ttydX ¥Ç¥Ð¥¤¥¹ (¤Þ¤¿¤Ï cuaaX ¥Ç¥Ð¥¤¥¹) ¤Ï¡¢ ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¤¿¤á¤Ë¥ª¡¼¥×¥ó¤¹¤ëɸ½àŪ¤Ê¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£ ¥×¥í¥»¥¹¤¬¤½¤Î¥Ý¡¼¥È¤ò¥ª¡¼¥×¥ó¤¹¤ë»þ¡¢ ¥×¥í¥»¥¹¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎüËö I/O ÀßÄê¤ò¼èÆÀ¤·¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÀßÄê¤Ï¼¡¤Î¥³¥Þ¥ó¥É¤Ç³Îǧ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

stty -a -f /dev/ttyd1

¤³¤Î¥Ç¥Ð¥¤¥¹¤ËÂФ¹¤ëÀßÄê¤òÊѹ¹¤·¤¿¾ì¹ç¡¢ ¤½¤ÎÀßÄê¤Ï¥Ç¥Ð¥¤¥¹¤ò¥¯¥í¡¼¥º¤¹¤ë¤Þ¤ÇÍ­¸ú¤Ç¤¹¡£ ¥Ç¥Ð¥¤¥¹¤òºÆ¥ª¡¼¥×¥ó¤·¤¿¾ì¹ç¡¢¤½¤ì¤é¤ÎÀßÄê¤Ï¥Ç¥Õ¥©¥ë¥È¤ËÌá¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ËÊѹ¹¤ò²Ã¤¨¤ë¤¿¤á¤Ë¡¢ ¡Ö½é´üÀßÄê¡×¥Ç¥Ð¥¤¥¹¤ò¥ª¡¼¥×¥ó¤·¡¢ ÀßÄê¤ò½¤Àµ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢CLOCAL ¥â¡¼¥É¡¢8 ¥Ó¥Ã¥È¡¢ XON/XOFF ¥Õ¥í¡¼À©¸æ¤È¤¤¤¦ÀßÄê¤ò ttyd5 ¤Î¥Ç¥Õ¥©¥ë¥È¤Ë¤·¤¿¤¤¾ì¹ç¡¢¼¡¤Î¤è¤¦¤Ë¹Ô¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤¡£

stty -f /dev/ttyid5 clocal cs8 ixon ixoff

¤³¤ÎÀßÄê¤ò¹Ô¤Ê¤¦¤¿¤á¤Î¥³¥Þ¥ó¥É¤òµ­½Ò¤¹¤ë¤Î¤ËŬÀڤʥե¡¥¤¥ë¤Ï¡¢ /etc/rc.serial ¤Ç¤¹¡£ ¤³¤ì¤Ç¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬ ttyd5 ¤ò¥ª¡¼¥×¥ó¤·¤¿»þ¤Ë¡¢ ¤³¤ì¤é¤ÎÀßÄê¤ò¥Ç¥Õ¥©¥ë¥È¤Ç¼èÆÀ¤·¤Þ¤¹¡£ ¤·¤«¤·¡¢¤³¤¦¤¤¤Ã¤¿¥ê¥ó¥¯¤Ë¤è¤ëÀßÄê¤ÏÊѹ¹²Äǽ¤Ç¤¹¡£

¡ÖÀßÄê¸ÇÄê¡×¥Ç¥Ð¥¤¥¹¤òÄ´À°¤·¤Æ¤ä¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢ ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤è¤ëÀßÄê¤ÎÊѹ¹¤ò¶Ø»ß¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢ttyd5 ¤ÎÄÌ¿®Â®ÅÙ¤ò 57600bps ¤Ë¸ÇÄꤹ¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£

# stty -f /dev/ttyld5 57600

¤³¤ì¤Ë¤è¤ê¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï ttyd5 ¤ò¥ª¡¼¥×¥ó¤·¡¢¥Ý¡¼¥È¤ÎÄÌ¿®Â®ÅÙ¤òÊѹ¹¤·¤è¤¦¤È¤·¤Þ¤¹¤¬¡¢ ÄÌ¿®Â®ÅÙ¤Ï 57600bps ¤Î¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£

ÅöÁ³¤Î¤³¤È¤Ê¤¬¤é¡¢½é´üÀßÄê¥Ç¥Ð¥¤¥¹¤ª¤è¤Ó¡¢ÀßÄê¸ÇÄê¥Ç¥Ð¥¤¥¹¤Ï root ¤Î¤ß¤¬½ñ¤­¹þ¤ß¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢MAKEDEV(8) ¥¹¥¯¥ê¥×¥È¤Ï¥Ç¥Ð¥¤¥¹¥¨¥ó¥È¥ê¤òºîÀ®¤¹¤ë»þ¤Ë¡¢ ¤³¤Î¤è¤¦¤ÊÀßÄê¤Ï¹Ô¤¤¤Þ¤»¤ó¡£

11.8. ¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¥â¥Ç¥à·Ðͳ¤Ç¥À¥¤¥ä¥ë¥¢¥Ã¥×¥í¥°¥¤¥ó¤¬¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«?

¤Ä¤Þ¤ê¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ó¥¹¥×¥í¥Ð¥¤¥À¡¼¤Ë¤Ê¤ê¤¿¤¤¤Î¤Ç¤¹¤Í¡£ ¤½¤ì¤Ë¤Ï¤Þ¤º¡¢1 Âæ¤Ê¤¤¤·Ê£¿ô¤Î¼«Æ°±þÅú¥â¥Ç¥à¤¬É¬ÍפǤ¹¡£ ¥â¥Ç¥à¤Ë¤Ï¡¢¥­¥ã¥ê¥¢¡¼¤ò¸¡½Ð¤·¤¿»þ¤Ë¤Ï CD ¿®¹æ¤ò½ÐÎϤ·¡¢ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï½ÐÎϤ·¤Ê¤¤¤³¤È¤¬É¬ÍפȤµ¤ì¤Þ¤¹¡£ ¤Þ¤¿ DTR ¿®¹æ¤¬ on ¤«¤é off ¤Ë¤Ê¤Ã¤¿»þ¤Ë¤Ï¡¢ ÅÅÏòóÀþ¤òÀÚÃǤ·¡¢¥â¥Ç¥à¼«¿È¤ò¥ê¥»¥Ã¥È¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤ª¤½¤é¤¯¡¢RTS/CTS ¥Õ¥í¡¼À©¸æ¤ò»È¤¦¤«¡¢ ¥í¡¼¥«¥ë¥Õ¥í¡¼À©¸æ¤ò¤Þ¤Ã¤¿¤¯»È¤ï¤Ê¤¤¤«¤Î¤É¤Á¤é¤«¤Ç¤·¤ç¤¦¡£ ºÇ¸å¤Ë¡¢¥³¥ó¥Ô¥å¡¼¥¿¤È¥â¥Ç¥à¤Î´Ö¤Ï¸ÇÄê®Å٤Ǥʤ±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤¿¤À¡¢(¥À¥¤¥ä¥ë¥¢¥Ã¥×¤Îȯ¸Æ¼Ô¤ËÂФ·¤Æ¿ÆÀڤǤ¢¤ë¤¿¤á¤Ë¤Ï¡¢ ) ¤³¤Á¤é¤Î¥â¥Ç¥à¤ÈÁê¼ê¦¤Î¥â¥Ç¥à¤Î´Ö¤Î®ÅÙ¤ò¡¢ ¥â¥Ç¥à´Ö¤Ç¼«Æ°Ä´À°¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤Ù¤­¤Ç¤·¤ç¤¦¡£

¿¤¯¤¢¤ë¥Ø¥¤¥º¥³¥Þ¥ó¥É¸ß´¹¥â¥Ç¥à¤ËÂФ·¤Æ¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¤³¤ì¤é¤ÎÀßÄê¤ò¹Ô¤Ê¤¤¡¢ ¤½¤ÎÀßÄê¤òÉÔ´øȯÀ­¥á¥â¥ê¡¼¤ËÊݸ¤·¤Þ¤¹¡£

AT&C1&D3&K3&Q6S0=1&W

MS-DOS ¤Î¥¿¡¼¥ß¥Ê¥ë¥×¥í¥°¥é¥à¤ËÍê¤é¤º¤Ë AT ¥³¥Þ¥ó¥É¤òÁ÷½Ð¤¹¤ë¤Ë¤Ï¡¢ ¡ÖAT ¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤Ë¤Ï¡×¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¼¡¤Ë¡¢¥â¥Ç¥àÍѤΥ¨¥ó¥È¥ê¤ò /etc/ttys (ttys(5) »²¾È) ¤ËºîÀ®¤·¤Þ¤·¤ç¤¦¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬¥í¥°¥¤¥ó¤òÂԤäƤ¤¤ë¤¹¤Ù¤Æ¤Î¥Ý¡¼¥È¤¬µ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ °Ê²¼¤Î¤è¤¦¤Ê¹Ô¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

ttyd1 "/usr/libexec/getty std.57600" dialup on insecure

¤³¤Î¹Ô¤Ï¡¢2 ÈÖÌܤΥ·¥ê¥¢¥ë¥Ý¡¼¥È (/dev/ttyd1) ¤Ë¤Ï¡¢ 57600bps ¤ÎÄÌ¿®Â®Å٤ǥΥó¥Ñ¥ê¥Æ¥£ (std.57600: ¤³¤ì¤Ï /etc/gettytab ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£gettytab(5) »²¾È) ¤Î¥â¥Ç¥à¤¬Àܳ¤µ¤ì¤Æ¤¤¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥Ý¡¼¥È¤ÎüËö¥¿¥¤¥×¤Ï dialup ¤Ç¤¹¡£ ¤Þ¤¿¤³¤Î¥Ý¡¼¥È¤Ï¡¢on ¤¹¤Ê¤ï¤Á¥í¥°¥¤¥ó²Äǽ¤Ç¤¢¤ê¡¢insecure ¤Ç¤¹¡£ ¤³¤ì¤Ï root ¤¬¤³¤Î¥Ý¡¼¥È¤«¤éľÀÜ¥í¥°¥¤¥ó¤¹¤ë¤Î¤Ï¡¢ µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤³¤Î¤è¤¦¤Ê¥À¥¤¥ä¥ë¥¤¥ó¥Ý¡¼¥È¤ËÂФ·¤Æ¤Ï¡¢ ttydX ¤Î¥¨¥ó¥È¥ê¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

¤³¤ì¤¬°ìÈÌŪ¤Ê¡¢¥¿¡¼¥ß¥Ê¥ë¥¿¥¤¥×¤È¤·¤Æ dialup ¤ò»È¤¦ÊýË¡¤Ç¤¹¡£Â¿¤¯¤Î¥æ¡¼¥¶¡¼¤Ï¡¢ .profile ¤ä .login ¤Ç¡¢ ¥í¥°¥¤¥ó»þ¤ÎüËö¥¿¥¤¥×¤¬ dialup ¤Ç¤¢¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢ ¼ÂºÝ¤ÎüËö¥¿¥¤¥×¤ò¥æ¡¼¥¶¡¼¤ËÌ䤤¹ç¤ï¤»¤ë¤è¤¦¤ËÀßÄꤷ¤Æ¤¤¤Þ¤¹¡£ ¤³¤ÎÎã¤Ï¡¢¥Ý¡¼¥È¤¬ insecure ¤Ç¤·¤¿¡£¤³¤Î¥Ý¡¼¥È¤Ç root ¤Ë¤Ê¤ë¤Ë¤Ï¡¢ °ìÈ̥桼¥¶¡¼¤È¤·¤Æ¥í¥°¥¤¥ó¤·¡¢¤½¤ì¤«¤é “su” ¤ò»È¤Ã¤Æ root ¤Ë¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤·¡¢secure ¤ò»ØÄꤷ¤¿¤Ê¤é¤Ð¡¢ ľÀÜ root ¤¬¤½¤Î¥Ý¡¼¥È¤«¤é¥í¥°¥¤¥ó¤Ç¤­¤Þ¤¹¡£

/etc/ttys ¤ËÊѹ¹¤ò²Ã¤¨¤¿¸å¤Ï¡¢HUP ¥·¥°¥Ê¥ë (SIGHUP) ¤ò init(8) ¥×¥í¥»¥¹¤ËÁ÷¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

# kill -HUP 1

¤³¤ÎÁàºî¤Ï init ¥×¥í¥»¥¹¤Ë /etc/ttys ¤òºÆÆɤ߹þ¤ß¤µ¤»¤Þ¤¹¡£ ¤³¤ì¤Ë¤è¤ê¡¢init ¥×¥í¥»¥¹¤Ï getty ¥×¥í¥»¥¹¤ò¤¹¤Ù¤Æ¤Î on ¤È¤Ê¤Ã¤Æ¤¤¤ë¥Ý¡¼¥È¤Ëµ¯Æ°¤µ¤»¤Þ¤¹¡£ ¼¡¤Î¤è¤¦¤Ë¤·¤Æ¡¢¥Ý¡¼¥È¤¬¥í¥°¥¤¥ó²Äǽ¤«¤òÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£

% ps -ax | grep '[t]tyd1'

¥í¥°¥¤¥ó²Äǽ¤Ç¤¢¤ì¤Ð¡¢¼¡¤Î¤è¤¦¤Ê½ÐÎϤ¬ÆÀ¤é¤ì¤ë¤Ï¤º¤Ç¤¹¡£

747 ??  I      0:00.04 /usr/libexec/getty std.57600 ttyd1

11.9. ¥À¥à¥¿¡¼¥ß¥Ê¥ë¤ò FreeBSD ¥Þ¥·¥ó¤ËÀܳ¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«?

¤â¤·¡¢Â¾¤Î¥³¥ó¥Ô¥å¡¼¥¿¡¼¤ò FreeBSD ¤ÎüËö¤È¤·¤ÆÀܳ¤·¤¿¤¤¤Î¤Ê¤é¤Ð¡¢ ¤ª¸ß¤¤¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È´Ö¤ò¤Ä¤Ê¤°¥Ì¥ë¥â¥Ç¥à¥±¡¼¥Ö¥ë (ÌõÃí: ¥ê¥Ð¡¼¥¹¥±¡¼¥Ö¥ë¤â¤·¤¯¤Ï¥¯¥í¥¹¥±¡¼¥Ö¥ë¤È¤â¸Æ¤Ð¤ì¤Þ¤¹) ¤òÍÑ°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤·¡¢´ûÀ½¤ÎüËö¤ò»È¤¦¾ì¹ç¤Ï¡¢ÉÕ°¤¹¤ë¥Þ¥Ë¥å¥¢¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¤½¤·¤Æ¡¢/etc/ttys (ttys(5) »²¾È) ¤ò¾å¤ÈƱ¤¸¤è¤¦¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤¿¤È¤¨¤Ð¡¢WYSE-50 ¤È¤¤¤¦Ã¼Ëö¤ò 5 ÈÖÌܤΥݡ¼¥È¤ËÀܳ¤¹¤ë¤Ê¤é¤Ð¡¢ ¼¡¤Î¤è¤¦¤Ê¥¨¥ó¥È¥ê¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

ttyd4 "/usr/libexec/getty std.38400" wyse50 on secure

¤³¤ÎÎã¤Ï¡¢/dev/ttyd4 ¥Ý¡¼¥È¤Ë¥Î¥ó¥Ñ¥ê¥Æ¥£¡¢ üËö¥¿¥¤¥×¤¬ wyse50¡¢ÄÌ¿®Â®ÅÙ¤¬ 38400bps (std.38400: ¤³¤ÎÀßÄê¤Ï¡¢ /etc/gettytab ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£gettytab(5) »²¾È) ¤ÎüËö¤¬Â¸ºß¤·¤Æ¤ª¤ê¡¢ root ¤Î¥í¥°¥¤¥ó¤¬µö²Ä¤µ¤ì¤Æ¤¤¤ë (secure) ¤Ç¤¢¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£

11.10. ¤É¤¦¤·¤Æ tip ¤ä cu ¤¬Æ°¤«¤Ê¤¤¤Î¤Ç¤¹¤«?

¤ª¤½¤é¤¯¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ç¤Ï tip(1) ¤ä cu(1) ¤Ï uucp ¥æ¡¼¥¶¡¼¤«¡¢ dialer ¥°¥ë¡¼¥×¤Ë¤è¤Ã¤Æ¤Î¤ß¼Â¹Ô²Äǽ¤Ê¤Î¤Ç¤·¤ç¤¦¡£ dialer ¥°¥ë¡¼¥×¤Ï¡¢ ¥â¥Ç¥à¤ä¥ê¥â¡¼¥È¥·¥¹¥Æ¥à¤Ë¥¢¥¯¥»¥¹¤¹¤ë¥æ¡¼¥¶¡¼¤ò´ÉÍý¤¹¤ë¤¿¤á¤Ë¡¢ »ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤½¤ì¤Ë¤Ï¡¢/etc/group ¥Õ¥¡¥¤¥ë¤Î dialer ¥°¥ë¡¼¥×¤Ë¤¢¤Ê¤¿¼«¿È¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

¤½¤¦¤¹¤ëÂå¤ï¤ê¤Ë¡¢¼¡¤Î¤è¤¦¤Ë¥¿¥¤¥×¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢ ¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤ÎÁ´¥æ¡¼¥¶¡¼¤¬ tip ¤ä cu ¤ò¼Â¹Ô¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

# chmod 4511 /usr/bin/cu
# chmod 4511 /usr/bin/tip

11.11. »ä¤Î Hayes ¥â¥Ç¥à¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¤É¤¦¤·¤¿¤é¤¤¤¤¤Î¤Ç¤·¤ç¤¦¤«¡£

¼ÂºÝ¡¢ tip(1) ¤Î¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤Ï¸Å¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤¹¤Ç¤Ë¡¢Hayes ¥À¥¤¥¢¥é¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ /etc/remote ¥Õ¥¡¥¤¥ë (remote(5) »²¾È) ¤Ç¡¢ “at=hayes” ¤È»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

Hayes ¥É¥é¥¤¥Ð¤Ï¡¢ºÇ¶á¤Î¥â¥Ç¥à¤Î¿·¤·¤¤µ¡Ç½¤Ç¤¢¤ë¡¢ BUSY¡¢ NO DIALTONE¡¢ CONNECT 115200 ¤Ê¤É¤Î¥á¥Ã¥»¡¼¥¸¤òǧ¼±¤Ç¤­¤ë¤Û¤É¸­¤¯¤Ï¤Ê¤¯¡¢ ñ¤Ëº®Íð¤òµ¯¤³¤¹¤À¤±¤Ç¤¹¡£ tip(1) ¤ò»È¤¦¾ì¹ç¤Ë¤Ï (ATX0&W¤È¤¹¤ë¤Ê¤É¤·¤Æ)¡¢ ¤³¤ì¤é¤Î¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤·¤Ê¤¯¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

¤Þ¤¿¡¢tip ¤Î¥À¥¤¥ä¥ë¤Î¥¿¥¤¥à¥¢¥¦¥È¤Ï 60 ÉäǤ¹¡£ ¥â¥Ç¥à¤Î¥¿¥¤¥à¥¢¥¦¥ÈÀßÄê¤Ï¤½¤ì¤è¤êû¤¯¤¹¤Ù¤­¤Ç¤¢¤ê¡¢ ¤½¤¦¤·¤Ê¤¤¤È tip ¤ÏÄÌ¿®¤ËÌäÂ꤬¤¢¤ë¤ÈȽÃǤ¹¤ë¤Ç¤·¤ç¤¦¡£ ATS7=45&W ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

¼ÂºÝ¡¢¥Ç¥Õ¥©¥ë¥È¤Î tip ¤Ï Hayes ¤Î´°Á´¤Ê¥µ¥Ý¡¼¥È¤ò¤·¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ²ò·èÊýË¡¤Ï /usr/src/usr.bin/tip/tip ¤Î²¼¤Î tipconf.h ¤òÊѹ¹¤¹¤ë¤³¤È¤Ç¤¹¡£ ¤â¤Á¤í¤ó¡¢¤³¤ì¤Ë¤Ï¥½¡¼¥¹ÇÛÉÛ¥Õ¥¡¥¤¥ë¤¬É¬ÍפǤ¹¡£

#define HAYES 0” ¤Èµ­½Ò¤µ¤ì¤Æ¤¤¤ë¹Ô¤ò “#define HAYES1” ¤ÈÊѹ¹¤·¡¢¤½¤·¤Æ “make” ¤È “make install” ¤ò¼Â¹Ô¤·¤Þ¤¹¡£¤³¤ì¤Ç¤¦¤Þ¤¯Æ°ºî¤¹¤ë¤Ç¤·¤ç¤¦¡£

11.12. ¤³¤ì¤é¤Î AT ¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤Ë¤Ï?

/etc/remote ¥Õ¥¡¥¤¥ë (remote(5) »²¾È) ¤ÎÃæ¤Ç “direct” ¥¨¥ó¥È¥ê¤òºî¤ê¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¥â¥Ç¥à¤¬ 1 ÈÖÌܤΥ·¥ê¥¢¥ë¥Ý¡¼¥È¤Ç¤¢¤ë /dev/cuaa0¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ ¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

cuaa0:dv=/dev/cuaa0:br#19200:pa=none

¥â¥Ç¥à¤¬¥µ¥Ý¡¼¥È¤¹¤ëºÇÂç¤Î bps ¥ì¡¼¥È¤ò br ¥Õ¥£¡¼¥ë¥É¤Ë»È¤¤¤Þ¤¹¡£ ¤½¤·¤Æ tip cuaa0 (tip(1) »²¾È) ¤ò¼Â¹Ô¤¹¤ë¤È¡¢¥â¥Ç¥à¤¬ÍøÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

/dev/cuaa0¤¬¥·¥¹¥Æ¥à¤Ë¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

# cd /dev
# ./MAKEDEV cuaa0

¤Þ¤¿¤Ï root ¤Ë¤Ê¤Ã¤Æ°Ê²¼¤Î¤è¤¦¤Ë cu ¤ò»È¤¤¤Þ¤¹¡£

# cu -lline -sspeed

line ¤Ë¤Ï¥·¥ê¥¢¥ë¥Ý¡¼¥È (¤¿¤È¤¨¤Ð /dev/cuaa0)¤ò»ØÄꤷ¤Þ¤¹¡£ ¤½¤·¤Æ speed ¤Ë¤ÏÀܳ¤¹¤ë®ÅÙ (¤¿¤È¤¨¤Ð 57600) ¤ò»ØÄꤷ¤Þ¤¹¡£ ¤½¤Î¸å AT ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤¿¤é¡¢ ~. ¤ÈÆþÎϤ¹¤ì¤Ð½ªÎ»¤·¤Þ¤¹¡£

11.13. pn µ¡Ç½¤Î <@> µ­¹æ¤¬»È¤¨¤Þ¤»¤ó!

ÅÅÏÃÈÖ¹æ (pn) µ¡Ç½¤ÎÃæ¤Ç¤Î <@> µ­¹æ¤Ï¡¢ tip ¤Ë /etc/phones ¤Ë¤¢¤ëÅÅÏÃÈÖ¹æ¤ò»²¾È¤¹¤ë¤è¤¦¤ËÅÁ¤¨¤Þ¤¹¡£¤·¤«¤· <@> ¤Îʸ»ú¤Ï /etc/remote ¤Î¤è¤¦¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¤ÏÆüìʸ»ú¤È¤Ê¤ê¤Þ¤¹¡£ ¤½¤³¤Ç¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤ò»È¤Ã¤Æ¥¨¥¹¥±¡¼¥×¤ò¹Ô¤¤¤Þ¤¹¡£

pn=\@

11.14. ¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÅÅÏÃÈÖ¹æ¤ò»ØÄꤹ¤ë¤Ë¤Ï?

generic” ¥¨¥ó¥È¥ê¤È¸Æ¤Ð¤ì¤ë¤â¤Î¤ò /etc/remote ¥Õ¥¡¥¤¥ë (remote(5) »²¾È) ¤ËÄɲä·¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

tip115200|Dial any phone number at 115200 bps:\
:dv=/dev/cuaa0:br#115200:at=hayes:pa=none:du:
tip57600|Dial any phone number at 57600 bps:\
:dv=/dev/cuaa0:br#57600:at=hayes:pa=none:du:

¤½¤·¤Æ “tip -115200 5551234” ¤Î¤è¤¦¤ËÍøÍѤǤ­¤Þ¤¹¡£ tip(1) ¤è¤ê cu(1) ¤ò»È¤¤¤¿¤¤¾ì¹ç¡¢ cu ¤Î generic ¥¨¥ó¥È¥ê¤ò»È¤¤¤Þ¤¹¡£

cu115200|Use cu to dial any number at 115200bps:\
:dv=/dev/cuaa1:br#57600:at=hayes:pa=none:du:

¤½¤·¤Æ “cu 5551234 -s 115200” ¤È¼Â¹Ô¤·¤Þ¤¹¡£

11.15. Ëè²ó bps ¥ì¡¼¥È¤òÆþÎϤ·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¤«?

tip1200 ¤ä cu1200 ÍѤΥ¨¥ó¥È¥ê¤òµ­½Ò¤·¡¢ ŬÀÚ¤ÊÄÌ¿®Â®ÅÙ¤ò br ¥Õ¥£¡¼¥ë¥É¤ËÀßÄꤷ¤Þ¤¹¡£ tip(1) ¤Ï 1200bps ¤¬Àµ¤·¤¤¥Ç¥Õ¥©¥ë¥ÈÃͤǤ¢¤ë¤È¤ß¤Ê¤¹¤Î¤Ç¡¢ “tip1200” ¥¨¥ó¥È¥ê¤ò»²¾È¤·¤Þ¤¹¡£ ¤â¤Á¤í¤ó 1200bps ¤ò»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

11.16. ¥¿¡¼¥ß¥Ê¥ë¥µ¡¼¥Ð¤ò·Ðͳ¤·¤ÆÊ£¿ô¤Î¥Û¥¹¥È¤Ø¥¢¥¯¥»¥¹¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡£

Ëè²óÀܳ¤µ¤ì¤ë¤Î¤òÂÔ¤Ã¤Æ “CONNECT <host>” ¤ÈÆþÎϤ¹¤ë¤«¤ï¤ê¤Ë¡¢ tip ¤Î cm µ¡Ç½¤ò»È¤¤¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢/etc/remote (remote(5) »²¾È) ¤Ë¼¡¤Î¤è¤¦¤Ê¥¨¥ó¥È¥ê¤òÄɲä·¤Þ¤¹¡£

pain|pain.deep13.com|Forrester's machine:\
	:cm=CONNECT pain\n:tc=deep13:
muffin|muffin.deep13.com|Frank's machine:\
	:cm=CONNECT muffin\n:tc=deep13:
deep13:Gizmonics Institute terminal server:\
	:dv=/dev/cuaa2:br#38400:at=hayes:du:pa=none:pn=5551234:

¤³¤ì¤Ç¡¢“tip pain” ¤ä “tip muffin” ¤È¼Â¹Ô¤¹¤ë¤È pain ¤ä muffin ¤Î¥Û¥¹¥È¤ËÀܳ¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢ “tip deep13” ¤ò¼Â¹Ô¤¹¤ë¤È¥¿¡¼¥ß¥Ê¥ë¥µ¡¼¥Ð¤ËÀܳ¤·¤Þ¤¹¡£

11.17. tip ¤ò»È¤Ã¤Æ¤½¤ì¤¾¤ì¤Î¥µ¥¤¥È¤ÎÊ£¿ô¤Î²óÀþ¤ËÀܳ¤Ç¤­¤Þ¤¹¤«?

¤³¤ì¤ÏÂç³Ø¤ËÅÅÏòóÀþ¤¬¤¤¤¯¤Ä¤«¤¢¤Ã¤Æ¡¢ ¿ôÀé¿Í¤Î³ØÀ¸¤¬Àܳ¤·¤è¤¦¤È¤¹¤ë¾ì¹ç¤Ë¤è¤¯¤¢¤ëÌäÂê¤Ç¤¹¡£

¤¢¤Ê¤¿¤ÎÂç³Ø¤Î¥¨¥ó¥È¥ê¤ò /etc/remote ¥Õ¥¡¥¤¥ë (remote(5) »²¾È) ¤ËºîÀ®¤·¤Æ¡¢ pn ¤Î¥Õ¥£¡¼¥ë¥É¤Ë¤Ï <\@> ¤ò»È¤¤¤Þ¤¹¡£

big-university:\
:pn=\@:tc=dialout
dialout:\
:dv=/dev/cuaa3:br#9600:at=courier:du:pa=none:

¤½¤·¤Æ /etc/phones ¥Õ¥¡¥¤¥ë (phones(5) »²¾È) ¤ËÂç³Ø¤ÎÅÅÏÃÈÖ¹æ¤Î°ìÍ÷¤ò½ñ¤­¤Þ¤¹¡£

big-university 5551111
big-university 5551112
big-university 5551113
big-university 5551114

tip(1) ¤Ï°ìÏ¢¤ÎÅÅÏÃÈÖ¹æ¤ò¾å¤«¤é½ç¤Ë»î¤ß¤Æ¡¢ ºÇ½ªÅª¤ËÀܳ¤Ç¤­¤Ê¤±¤ì¤Ð¤¢¤­¤é¤á¤Þ¤¹¡£¥ê¥È¥é¥¤¤ò³¤±¤µ¤»¤¿¤¤¾ì¹ç¤Ï¡¢ tip ¤ò while ¥ë¡¼¥×¤ËÆþ¤ì¤Æ¼Â¹Ô¤·¤Þ¤¹¡£

11.18. CTRL+P ¤ò 1 ²óÁ÷¤ë¤¿¤á¤Ë 2 ÅÙ²¡¤¹É¬Íפ¬¤¢¤ë¤Î¤Ï¤Ê¤¼?

CTRL+P ¤ÏÄ̾ï¡Ö¶¯À© (force)¡×ʸ»ú¤Ç¤¢¤ê¡¢ tip(1) ¤Ë¼¡¤Îʸ»ú¤¬¥ê¥Æ¥é¥ë¥Ç¡¼¥¿¤Ç¤¢¤ë¤³¤È¤òÅÁ¤¨¤Þ¤¹¡£ ¶¯À©Ê¸»ú¤Ï¡ÖÊÑ¿ô¤ÎÀßÄê¡×¤ò°ÕÌ£¤¹¤ë ~s ¥¨¥¹¥±¡¼¥×¤Ë¤è¤Ã¤Æ¡¢ ¾¤Îʸ»ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

~sforce=<single-char>” ¤ÈÆþÎϤ·¤Æ²þ¹Ô¤·¤Þ¤¹¡£ <single-char> ¤Ï¡¢Ç¤°Õ¤Î 1 ¥Ð¥¤¥Èʸ»ú¤Ç¤¹¡£ <single-char> ¤ò¾Êά¤¹¤ë¤È NUL ʸ»ú¤Ë¤Ê¤ê¡¢ ¤³¤ì¤Ï CTRL+2 ¤ä CTRL+SPACE ¤ò²¡¤·¤Æ¤âÆþÎϤǤ­¤Þ¤¹¡£ ¤¤¤¯¤Ä¤«¤Î¥¿¡¼¥ß¥Ê¥ë¥µ¡¼¥Ð¤Ç»È¤ï¤ì¤Æ¤¤¤ë¤Î¤ò¸«¤¿¤À¤±¤Ç¤¹¤¬¡¢ <single-char> ¤Ë SHIFT+CTRL+6 ¤Ë³ä¤êÅö¤Æ¤ë¤Î¤â¤è¤¤¤Ç¤·¤ç¤¦¡£

$HOME/.tiprc ¤Ë¼¡¤Î¤è¤¦¤ËÄêµÁ¤¹¤ë¤³¤È¤Ç¡¢ Ǥ°Õ¤Îʸ»ú¤ò¶¯À©Ê¸»ú¤È¤·¤ÆÍøÍѤǤ­¤Þ¤¹¡£

force=<single-char>

11.19. ÂǤÁ¹þ¤ó¤Àʸ»ú¤¬ÆÍÁ³¤¹¤Ù¤ÆÂçʸ»ú¤Ë¤Ê¤ê¤Þ¤·¤¿??

CTRL+A ¤ò²¡¤·¤Æ¤·¤Þ¤¤¡¢caps-lock ¥­¡¼¤¬²õ¤ì¤Æ¤¤¤ë¾ì¹ç¤Î¤¿¤á¤ËÀ߷פµ¤ì¤¿ tip(1) ¤Î “raise character” ¥â¡¼¥É¤ËÆþ¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¡£ ´û¤Ë½Ò¤Ù¤¿ ~s ¤ò»È¤Ã¤Æ¡¢ “raisechar” ¤ò¤è¤êŬÀÚ¤ÊÃͤËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤·¤³¤ì¤éξÊý¤Îµ¡Ç½¤ò»ÈÍѤ·¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ¶¯À©Ê¸»ú¤ÈƱ¤¸ÀßÄê¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

°Ê²¼¤Ï CTRL+2 ¤ä CTRL+A ¤Ê¤É¤òÉÑÈˤ˻Ȥ¦É¬ÍפΤ¢¤ë Emacs ¥æ¡¼¥¶¤Ë¤¦¤Ã¤Æ¤Ä¤±¤Î .tiprc ¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£

force=^^
raisechar=^^

^ ¤Ï SHIFT+CTRL+6 ¤Ç¤¹¡£

11.20. tip ¤Ç¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¤Ë¤Ï?

¤â¤·Â¾¤Î UNIX ¤Î¥·¥¹¥Æ¥à¤ÈÀܳ¤·¤Æ¤¤¤ë¤Ê¤é¡¢ ~p (Á÷¿®) ¤ä ~t (¼õ¿®) ¤Ç¥Õ¥¡¥¤¥ë¤ÎÁ÷¼õ¿®¤¬¤Ç¤­¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¡¢Áê¼ê¤Î¥·¥¹¥Æ¥à¤Î¾å¤Ç cat(1) ¤ä echo(1) ¤ò¼Â¹Ô¤¹¤ë¤³¤È¤ÇÁ÷¼õ¿®¤ò¤·¤Þ¤¹¡£½ñ¼°¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

~p <¥í¡¼¥«¥ë¤Î¥Õ¥¡¥¤¥ë̾> [<¥ê¥â¡¼¥È¤Î¥Õ¥¡¥¤¥ë̾>]
~t <¥ê¥â¡¼¥È¤Î¥Õ¥¡¥¤¥ë̾> [<¥í¡¼¥«¥ë¤Î¥Õ¥¡¥¤¥ë̾>]

¤³¤ÎÊýË¡¤Ç¤Ï¥¨¥é¡¼¥Á¥§¥Ã¥¯¤ò¹Ô¤¤¤Þ¤»¤ó¤Î¤Ç¡¢ zmodem ¤Ê¤É¤Î¾¤Î¥×¥í¥È¥³¥ë¤ò»È¤Ã¤¿Êý¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£

11.21. tip ¤«¤é zmodem ¤ò¼Â¹Ô¤¹¤ë¤Ë¤Ï?

¤Þ¤º»Ï¤á¤Ë¡¢FreeBSD Ports Collection ¤«¤é zmodem ¥×¥í¥°¥é¥à¤Î¤¤¤º¤ì¤« (lrzsz¤È rzsz ¤Î¡¢ÄÌ¿®¥«¥Æ¥´¥ê¡¼¤Î2 ¤Ä¤Î¥×¥í¥°¥é¥à¤Î¤É¤Á¤é¤«) ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë¤ò¼õ¿®¤¹¤ë¤Ë¤Ï¡¢¥ê¥â¡¼¥È¦¤ÇÁ÷¿®¥×¥í¥°¥é¥à¤òµ¯Æ°¤·¤Þ¤¹¡£ ¤½¤·¤Æ¡¢Enter ¥­¡¼¤ò²¡¤·¤Æ¤«¤é “~C rz” (lrzsz ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ï “~C lrz”) ¤ÈÆþÎϤ¹¤ë¤È¡¢ ¥í¡¼¥«¥ë¦¤Ø¤Î¥Õ¥¡¥¤¥ë¤Î¼õ¿®¤¬»Ï¤Þ¤ê¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë¤òÁ÷¿®¤¹¤ë¤Ë¤Ï¡¢¥ê¥â¡¼¥È¦¤Ç¼õ¿®¥×¥í¥°¥é¥à¤òµ¯Æ°¤·¤Þ¤¹¡£ ¤½¤·¤Æ¡¢Enter ¥­¡¼¤ò²¡¤·¤Æ¤«¤é “~C sz <files>” (lrzsz ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ï “~C lsz <files>”) ¤ÈÆþÎϤ¹¤ë¤È¡¢¥ê¥â¡¼¥È¦¤Ø¤Î¥Õ¥¡¥¤¥ë¤ÎÁ÷¿®¤¬»Ï¤Þ¤ê¤Þ¤¹¡£

11.22. ÀßÄ꤬Àµ¤·¤¤¤Î¤Ë¤â¤«¤«¤ï¤é¤º¡¢FreeBSD ¤¬¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ò¸«ÉÕ¤±¤é¤ì¤Þ¤»¤ó¡£

¥Þ¥¶¡¼¥Ü¡¼¥É¤ä¥·¥ê¥¢¥ë¥«¡¼¥É¤¬ Acer ¤Î UART ¥Á¥Ã¥×¤ò»È¤Ã¤¿Êª¤Î¾ì¹ç¡¢ FreeBSD ¤Î sio ¥É¥é¥¤¥Ð¤Ç¤ÏÀµ¤·¤¯¸¡½Ð¤¹¤ë»ö¤¬½ÐÍè¤Þ¤»¤ó¡£ ¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ www.lemis.com ¤«¤é¥Ñ¥Ã¥Á¤òÆþ¼ê¤·¤Æ¤¯¤À¤µ¤¤¡£


第 12章¤½¤Î¾¤Î¼ÁÌä

Ìõ: ÆâÀî ´î¾Ï ¡¢ ¿ù¼ µ®»Î ¡¢ Ê¡´Ö ¹¯¹° ¡¢ 1997 ǯ 11 ·î 10 Æü - 1999 ǯ 5 ·î 8 Æü

12.1. FreeBSD ¤Ï Linux ¤è¤ê¿¤¯¤Î¥¹¥ï¥Ã¥×Îΰè¤ò¾ÃÈñ¤¹¤ë¤Î¤Ï¤Ê¤¼¤Ç¤¹¤«?
12.2. ¤Û¤È¤ó¤É¥×¥í¥°¥é¥à¤Ï¼Â¹Ô¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ë¡¢ ¤É¤¦¤·¤Æ top(1) ¤ÏÈó¾ï¤Ë¾¯¤Ê¤¤ free memory ¤òÊó¹ð¤¹¤ë¤Î¤Ç¤·¤ç¤¦¤«?
12.3. FreeBSD ¤Î¼Â¹Ô¥Õ¥©¡¼¥Þ¥Ã¥È¤Î a.out¡¢ELF ¤È¤Ï¤É¤Î¤è¤¦¤Ê¤â¤Î¤Ç¤¹¤«? ¤Þ¤¿¡¢a.out¡¢ELF ¤ò»È¤¦Íýͳ¤Ï²¿¤Ç¤·¤ç¤¦?
12.4. ¤½¤ì¤Ë¤·¤Æ¤â¡¢¤Ê¤¼¤½¤ó¤Ê¤Ë¿¤¯¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤¬¤¢¤ë¤Î¤Ç¤¹¤«?
12.5. ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Îµö²Ä°À­¤ò chmod ¤ÇÊѤ¨¤é¤ì¤Ê¤¤¤Î¤Ï¤Ê¤¼¤Ç¤¹¤«?
12.6. ¥í¥°¥¤¥ó̾¤¬¤¤¤Þ¤À¤Ë 8 ʸ»ú¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤ë¤Î¤Ï¤Ê¤¼¤Ç¤¹¤«?
12.7. FreeBSD ¾å¤Ç DOS ¤Î¥Ð¥¤¥Ê¥ê¤òÆ°¤«¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?
12.8. ¤É¤³¤Ç̵ÎÁ¤Î FreeBSD ¤Î¥¢¥«¥¦¥ó¥È¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¤«?
12.9. sup” ¤È¤Ï²¿¤Ç¡¢ ¤É¤Î¤è¤¦¤Ë¤·¤Æ»È¤¦¤â¤Î¤Ê¤Î¤Ç¤·¤ç¤¦¤«?
12.10. FreeBSD ¤ò¥¯¡¼¥ë¤Ë»È¤¦¤Ë¤Ï?
12.11. 狼¤¬»ä¤Î¥á¥â¥ê¥«¡¼¥É¤ò¤Ò¤Ã¤«¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤«??
12.12. "MFC" ¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«
12.13. "BSD" ¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«?
12.14. ¥ê¥Ý¥¸¥È¥ê¡¦¥³¥Ô¡¼ (repo-copy) ¤È¤Ï°ìÂβ¿¤Î¤³¤È¤Ç¤·¤ç¤¦?
12.15. ¤Ê¤ó¤Ç¥Ð¥¤¥¯¾®²° (bikeshed) ¤Î¿§¤Ë¤Þ¤Çµ¤¤ò»È¤ï¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤ó¤Ç¤¹¤«?
12.16. ¤Ò¤È¤Ä¤ÎÅŵå¤ò¼è¤êÂؤ¨¤ë¤Î¤Ë¡¢²¿¿Í¤Î FreeBSD ¥Ï¥Ã¥«¡¼¤¬É¬Í×?

12.1. FreeBSD ¤Ï Linux ¤è¤ê¿¤¯¤Î¥¹¥ï¥Ã¥×Îΰè¤ò¾ÃÈñ¤¹¤ë¤Î¤Ï¤Ê¤¼¤Ç¤¹¤«?

¼ÂºÝ¤Ë¤Ï¤½¤¦¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ FreeBSD ¤Ï Linux ¤è¤ê¤â¥¹¥ï¥Ã¥×¤ò¿¤¯»È¤Ã¤Æ¤¤¤ë¤è¤¦¤Ë¸«¤¨¤ë¤À¤±¤Ç¤¹¡£ ¤³¤ÎÅÀ¤Ë¤ª¤±¤ë FreeBSD ¤È Linux ¤Î¼ç¤Ê°ã¤¤¤Ï¡¢ FreeBSD ¤Ï¤è¤ê¿¤¯¤Î¥á¥¤¥ó¥á¥â¥ê¤òÍ­¸úÍøÍѤǤ­¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¡¢ ´°Á´¤Ë¥¢¥¤¥É¥ë¤Ë¤Ê¤Ã¤¿¤â¤Î¤ä¥á¥¤¥ó¥á¥â¥ê¾å¤Î»È¤ï¤ì¤Ê¤¯¤Ê¤Ã¤¿¥Ú¡¼¥¸¤ò¡¢ ¥¹¥ï¥Ã¥×¤Ë¤¢¤é¤«¤¸¤áÀѶËŪ¤Ë°ÜÆ°¤·¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ Linux ¤Ç¤Ï¡¢ ºÇ¸å¤Î¼êÃʤȤ·¤Æ¥Ú¡¼¥¸¤ò¥¹¥ï¥Ã¥×¤Ë°ÜÆ°¤µ¤»¤ë¤À¤±¤È¤¤¤¦·¹¸þ¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¥¹¥ï¥Ã¥×¤Î»È¤¤Êý¤Ï¡¢ ¥á¥¤¥ó¥á¥â¥ê¤ò¤è¤ê¸ú²ÌŪ¤Ë»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥Ð¥é¥ó¥¹¤¬Êݤ¿¤ì¤Æ¤¤¤Þ¤¹¡£

FreeBSD ¤Ï¤³¤Î¤è¤¦¤Ê¾õ¶·¤Ç¤ÏÀè¼êºö¤ò¼è¤ê¤Þ¤¹¤¬¡¢ ¥·¥¹¥Æ¥à¤¬ËÜÅö¤Ë¶õ¤­¾õÂ֤λþ¤Ë¡¢ Íýͳ¤â̵¤¯¥Ú¡¼¥¸¤ò¥¹¥ï¥Ã¥×¤·¤è¤¦¤È·è¤á¤ë¤³¤È¤Ï¤Ê¤¤¤È¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢ ÌëÃæ¤Ë»È¤ï¤º¤Ë¤ª¤¤¤¿¥·¥¹¥Æ¥à¤¬Ä«µ¯¤­¤¿¤È¤­¡¢ ¤¹¤Ù¤Æ¥Ú¡¼¥¸¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ï¤Ê¤¤¤Î¤Ç¤¹¡£

12.2. ¤Û¤È¤ó¤É¥×¥í¥°¥é¥à¤Ï¼Â¹Ô¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ë¡¢ ¤É¤¦¤·¤Æ top(1) ¤ÏÈó¾ï¤Ë¾¯¤Ê¤¤ free memory ¤òÊó¹ð¤¹¤ë¤Î¤Ç¤·¤ç¤¦¤«?

´Êñ¤Ë¸À¤¨¤Ð¡¢free memory ¤È¤Ï̵Â̤ˤʤäƤ¤¤ë¥á¥â¥ê¤Î¤³¤È¤À¤«¤é¤Ç¤¹¡£ ¥×¥í¥°¥é¥à¤¬³ÎÊݤ·¤Æ¤¤¤ë¥á¥â¥ê°Ê³°¤Î¤¹¤Ù¤Æ¤Î¥á¥â¥ê¤Ï¡¢ FreeBSD ¥«¡¼¥Í¥ëÆâ¤Ç¥Ç¥£¥¹¥¯¥­¥ã¥Ã¥·¥å¤È¤·¤ÆÍøÍѤµ¤ì¤Þ¤¹¡£ ¤³¤ÎÃÍ¤Ï top(1) ¤Ë¤ª¤¤¤Æ Inact¡¢ Cache Buf ¤È¤·¤Æɽ¼¨¤µ¤ì¡¢ ¤½¤ì¤¾¤ì¤Ï°Û¤Ê¤ë¥¨¡¼¥¸¥ó¥°¥ì¥Ù¥ë (ÌõÃí: ¥Ç¡¼¥¿¤¬¤É¤ì¤À¤±¸Å¤¤¤«¤ò¼¨¤¹É¾²ÁÃÍ) ¤Ç¥­¥ã¥Ã¥·¥å¤µ¤ì¤¿Á´¥Ç¡¼¥¿¤òɽ¤·¤Þ¤¹¡£ ¥Ç¡¼¥¿¤¬¥­¥ã¥Ã¥·¥å¤µ¤ì¤ë¤È¸À¤¦¤Î¤Ï¡¢ ºÇ¶á¥¢¥¯¥»¥¹¤µ¤ì¤¿¥Ç¡¼¥¿¤Ç¤¢¤ì¤Ð¡¢ ºÆÅÙ¤½¤Î¥Ç¡¼¥¿¤ò¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë¥·¥¹¥Æ¥à¤¬ÃÙ¤¤¥Ç¥£¥¹¥¯¤Ë¥¢¥¯¥»¥¹¤¹¤ëɬÍפ¬¤Ê¤¤¡¢ ¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤½¤Î¤¿¤á¡¢Á´ÂΤΥѥե©¡¼¥Þ¥ó¥¹¤¬¸þ¾å¤·¤Þ¤¹¡£ °ìÈÌŪ¤Ë¡¢top(1) ¤Çɽ¼¨¤µ¤ì¤ë Free ¥á¥â¥ê¤¬¾®¤µ¤¤Ãͤò¼¨¤¹¤³¤È¤ÏÎɤ¤¤³¤È¤Ç¡¢ ¼«Í³¤Ë»È¤¨¤ë¥á¥â¥ê¤Î»ÄÎ̤¬ËÜÅö¤Ë¾¯¤Ê¤¤¡¢ ¤È¤¤¤¦¤³¤È¤òɽ¤·¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

12.3. FreeBSD ¤Î¼Â¹Ô¥Õ¥©¡¼¥Þ¥Ã¥È¤Î a.out¡¢ELF ¤È¤Ï¤É¤Î¤è¤¦¤Ê¤â¤Î¤Ç¤¹¤«? ¤Þ¤¿¡¢a.out¡¢ELF ¤ò»È¤¦Íýͳ¤Ï²¿¤Ç¤·¤ç¤¦?

FreeBSD ¤¬²¿¸Î ELF ¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍøÍѤ·¤Æ¤¤¤ë¤Î¤«¤òÍý²ò¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ ¤Þ¤º UNIX¤Ë¤ª¤¤¤Æ¸½ºß¡ÖÍ¥Àª¡×¤Ê 3 ¼ïÎà¤Î¼Â¹Ô¥Õ¥©¡¼¥Þ¥Ã¥È¤Ë¤Ä¤¤¤Æ ¤¤¤¯¤é¤«ÃΤäƤª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

注意: FreeBSD 3.x ¤è¤êÁ°¤Î FreeBSD ¤Ç¤Ï a.out ¥Õ¥©¡¼¥Þ¥Ã¥È¤¬»È¤ï¤ì¤Æ¤¤¤Þ¤·¤¿¡£

  • a.out(5)

    ºÇ¤â¸Å¤¯ ¡Öͳ½ïÀµ¤·¤¤¡× unix ¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¹¡£ ¥Þ¥¸¥Ã¥¯¥Ê¥ó¥Ð¤ò´Þ¤àû¤¯¤Æ¥³¥ó¥Ñ¥¯¥È¤Ê¥Ø¥Ã¥À¤¬ÀèƬ¤Ë¤¢¤ê¡¢ ¤³¤ì¤¬¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÆÃħ¤È¤µ¤ì¤Æ¤¤¤Þ¤¹ (a.out(5) ¤Ë¾ÜºÙ¤ÊÆâÍƤ¬¤¢¤ê¤Þ¤¹)¡£ ¥í¡¼¥É¤µ¤ì¤ë 3¼ïÎà¤Î¥»¥°¥á¥ó¥È¡¢ .text¡¢ .data¡¢ .bss ¤È²Ã¤¨¤Æ¥·¥ó¥Ü¥ë¥Æ¡¼¥Ö¥ë¤Èʸ»úÎó¥Æ¡¼¥Ö¥ë¤ò´Þ¤ß¤Þ¤¹¡£

  • COFF

    SVR3 ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¹¡£ ¥Ø¥Ã¥À¤Ïñ°ì¤Î¥»¥¯¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤«¤éÀ®¤ê¡¢ .text¡¢ .data¡¢ .bss ¥»¥¯¥·¥ç¥ó°Ê³°¤ÎÉôʬ¤ò»ý¤Ä¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

  • ELF

    COFF¤Î¸å·Ñ¤Ç¤¹¡£Ê£¿ô¤Î¥»¥¯¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¡¢32-bit ¤È 64-bit¤Î¤¤¤º¤ì¤ÎÃͤâ²Äǽ¤Ç¤¹¡£Â礭¤Ê·çÅÀ¤Î°ì¤Ä¤Ï¡¢ELF ¤Ï¤½¤ì¤¾¤ì¤Î¥·¥¹¥Æ¥à¥¢¡¼¥­¥Æ¥¯¥Á¥ãËè¤Ëñ°ì¤Î ABI ¤Î¤ß¤¬Â¸ºß¤¹¤ë¤È¤¤¤¦²¾Äê¤ÇÀ߷פµ¤ì¤Æ¤¤¤ë¤³¤È¤Ç¤¹¡£ ¤³¤Î²¾Äê¤Ï¤Þ¤Ã¤¿¤¯Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£ ¾¦ÍѤΠSYSV ¤ÎÀ¤³¦¤Ç¤µ¤¨¤½¤¦¤Ç¤¹ (¾¯¤Ê¤¯¤È¤â SVR4¡¢ Solaris¡¢SCO ¤Î 3¼ïÎà¤Î ABI ¤¬¤¢¤ê¤Þ¤¹)¡£

    FreeBSD ¤Ï¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤Î»î¤ß¤È¤·¤Æ¡¢ ´ûÃΤΠELF ¼Â¹Ô¥Õ¥¡¥¤¥ë¤Ë ABI ¤Ë±þ¤¸¤¿¾ðÊó¤ò ½ñ¤­²Ã¤¨¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ ¾Ü¤·¤¯¤Ï brandelf(1) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

FreeBSD ¤ÏÅÁÅýŪ¤ÊΩ¾ì¤ò¤È¤ê¡¢¿ô¿¤¯¤ÎÀ¤Âå¤Î BSD ¤Î¥ê¥ê¡¼¥¹¤Ç»î¤µ¤ì¡¢¼Â¾Ú¤µ¤ì¤Æ¤­¤¿ a.out(5) ¥Õ¥©¡¼¥Þ¥Ã¥È¤òÅÁÅýŪ¤Ë»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤«¤Ï FreeBSD ¥·¥¹¥Æ¥à¤Ç¥Í¥¤¥Æ¥£¥Ö ELF ¥Ð¥¤¥Ê¥ê¤òºî¤ê¡¢ ¼Â¹Ô¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ ½é´ü¤Îº¢ FreeBSD ¤Ç¤Ï ELF ¤ò¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ËÊѹ¹¤¹¤ë¤È¤¤¤¦Æ°¤­¤Ï ¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤Ê¤¼¤Ç¤·¤ç¤¦¤«? ¤È¤³¤í¤Ç Linux ¤Ë¤ª¤¤¤Æ¤Ï¡¢ ELF ¤Ø¤Î¶ìÄˤò¤È¤â¤Ê¤Ã¤¿Êѹ¹¤Ï¡¢ ¤½¤Î»þ¤Ë a.out ¼Â¹Ô¥Õ¥©¡¼¥Þ¥Ã¥È¤«¤éƨ¤ì¤¿¤È¤¤¤¦¤è¤ê¤Ï¡¢ ¥¸¥ã¥ó¥×¥Æ¡¼¥Ö¥ë¥Ù¡¼¥¹¤Î¶¦Í­¥é¥¤¥Ö¥é¥ê¤Î¥á¥«¥Ë¥º¥à¤Î½ÀÆðÀ­¤ÎÄ㤵¤«¤é¤ÎæµÑ¤Ç¤·¤¿¡£ ¤³¤ì¤Ï¥Ù¥ó¥À¤ä³«È¯¼ÔÁ´ÂΤˤȤäơ¢ ¶¦Í­¥é¥¤¥Ö¥é¥ê¤ÎºîÀ®¤¬Èó¾ï¤ËÆñ¤·¤«¤Ã¤¿¸¶°ø¤Ç¤·¤¿¡£ ELF ¤Î¥Ä¡¼¥ë¤Ë¤Ï¶¦Í­¥é¥¤¥Ö¥é¥ê¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤â¤Î¤¬Ä󶡤µ¤ì¤Æ¤ª¤ê¡¢ ¤Þ¤¿¤¤¤º¤ì¤Ë¤»¤è°ìÈÌŪ¤Ë¡Ö¿ÊÊâ¡×¤·¤Æ¤¤¤ë¤È¹Í¤¨¤é¤ì¤Þ¤¹¡£ ¤³¤Î¤¿¤á°Ü¹Ô¤Î¥³¥¹¥È¤ÏɬÍפʤâ¤Î¤È¤·¤ÆÍÆǧ¤µ¤ì¡¢ °Ü¹Ô¤Ï¹Ô¤Ê¤ï¤ì¤Þ¤·¤¿¡£

FreeBSD ¤Î¾ì¹ç¤Ï¡¢¶¦Í­¥é¥¤¥Ö¥é¥ê¤Î¥á¥«¥Ë¥º¥à¤Ï Sun ¤Î SunOS ·Á¼°¤Î¶¦Í­¥é¥¤¥Ö¥é¥ê¤Î ¥á¥«¥Ë¥º¥à¤Ë¶Ë¤á¤Æ¶á¤¤¤â¤Î¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢ Èó¾ï¤Ë»È¤¤¤ä¤¹¤¤¤â¤Î¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤·¤«¤·¤Ê¤¬¤é¡¢FreeBSD ¤Ç¤Ï 3.0 ¤«¤é ELF ¥Ð¥¤¥Ê¥ê¤ò¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤È¤·¤Æ¸ø¼°¤Ë¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ a.out ¼Â¹Ô¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¤è¤¤¤â¤Î¤ò»äã¤ËÄ󶡤·¤Æ¤¯¤ì¤Æ¤¤¤ë¤â¤Î¤Î¡¢ »ä¤¿¤Á¤Î»È¤Ã¤Æ¤¤¤ë¥³¥ó¥Ñ¥¤¥é¤Îºî¼Ô¤Ç¤¢¤ë GNU ¤Î¿Í¡¹¤Ï a.out ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¥µ¥Ý¡¼¥È¤ò¤ä¤á¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤·¤¿¡£ ¤³¤Î¤³¤È¤Ï¡¢ »ä¤¿¤Á¤ËÊ̥С¼¥¸¥ç¥ó¤Î¥³¥ó¥Ñ¥¤¥é¤È¥ê¥ó¥«¤òÊݼ餹¤ë¤³¤È¤ò;µ·¤Ê¤¯¤µ¤ì¤ë¤³¤È¤È¤Ê¤ê¡¢ ºÇ¿·¤Î GNU ³«È¯¤ÎÅØÎϤˤè¤ë²¸·Ã¤«¤é±ó¤¶¤«¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤½¤Î¾å¡¢ISO C++ ¤Î¡¢ ¤È¤¯¤Ë¥³¥ó¥¹¥È¥é¥¯¥¿¤ä¥Ç¥¹¥È¥é¥¯¥¿¤¬¤é¤ß¤ÎÍ×µá¤â¤¢¤Ã¤Æ¡¢º£¸å¤Î FreeBSD ¤Î¥ê¥ê¡¼¥¹¤Ç¥Í¥¤¥Æ¥£¥Ö¤Î ELF ¤Î¥µ¥Ý¡¼¥È¤µ¤ì¤ëÊý¸þ¤Ø¤ÈÏ䬿ʤó¤Ç¤¤¤Þ¤¹¡£

12.4. ¤½¤ì¤Ë¤·¤Æ¤â¡¢¤Ê¤¼¤½¤ó¤Ê¤Ë¿¤¯¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤¬¤¢¤ë¤Î¤Ç¤¹¤«?

¤â¤¦¤ª¤Ü¤í¤²¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿°Å¤¤²áµî¤Ë¡¢Ã±½ã¤Ê¥Ï¡¼¥É¥¦¥§¥¢¤¬¤¢¤ê¤Þ¤·¤¿¡£ ¤³¤Îñ½ã¤Ê¥Ï¡¼¥É¥¦¥§¥¢¤Ï¡¢Ã±½ã¤Ç¾®¤µ¤Ê¥·¥¹¥Æ¥à¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤·¤¿¡£ a.out ¤Ï¤³¤Îñ½ã¤Ê¥·¥¹¥Æ¥à (PDP-11) ¤Ç¤Îºî¶È¤ò¹Ô¤Ê¤¦¥Ð¥¤¥Ê¥ê¤È¤·¤Æ´°Á´¤ËŬ¤·¤¿¤â¤Î¤À¤Ã¤¿¤Î¤Ç¤¹¡£ ¿Í¡¹¤Ï¤³¤Îñ½ã¤Ê¥·¥¹¥Æ¥à¤«¤é UNIX ¤ò°Ü¿¢¤¹¤ëºÝ¤Ë¡¢a.out ¥Õ¥©¡¼¥Þ¥Ã¥È¤ò¤½¤Î¤Þ¤Þ»È¤¤¤Þ¤·¤¿¡£¤È¤¤¤¦¤Î¤Ï Motorola 68k¡¢VAXen¡¢ ¤È¤¤¤Ã¤¿¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ø¤Î UNIX ¤Î½é´ü¤Î°Ü¿¢¤Ç¤Ï¤³¤ì¤Ç½½Ê¬¤À¤Ã¤¿¤«¤é¤Ç¤¹¡£

¤ä¤¬¤Æ¤¢¤ëÁïÌÀ¤Ê¥¨¥ó¥¸¥Ë¥¢¤¬¡¢ ¥½¥Õ¥È¥¦¥§¥¢¤Ç¤Á¤ç¤Ã¤È¤·¤¿¥È¥ê¥Ã¥¯¤ò»È¤¦¤³¤È¤ò·è¤á¤Þ¤·¤¿¡£ Èà¤Ï¤¤¤¯¤Ä¤«¤Î¥²¡¼¥È¤òºï¤ê¼è¤Ã¤Æ CPU ¤Î¥³¥¢¤ò¤è¤ê®¤¯Áö¤é¤»¤ë¤³¤È¤¬¤Ç¤­¤¿¤Î¤Ç¤¹¡£ ¤³¤ì¤Ï¿·¤·¤¤¼ïÎà¤Î¥Ï¡¼¥É¥¦¥§¥¢ (º£Æü¤Ç¤Ï RISC ¤È¤·¤ÆÃΤé¤ì¤Æ¤¤¤Þ¤¹) ¤ÇÆ°¤¤¤¿¤Î¤Ç¤¹¡£ a.out ¤Ï¤³¤Î¥Ï¡¼¥É¥¦¥§¥¢¤Ë¤ÏŬ¤·¤Æ¤¤¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢ ¤³¤Î¥Ï¡¼¥É¥¦¥§¥¢¾å¤Ç¿¤¯¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤¬¡¢ ¸ÂÄꤵ¤ì¤¿Ã±½ã¤Ê a.out ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤Î¤â¤Î¤è¤ê¤â¤è¤êÎɤ¤¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò½Ð¤¹¤³¤È¤òÌܻؤ·¤Æ³«È¯¤µ¤ì¤¿¤Î¤Ç¤¹¡£ COFF¡¢ECOFF¡¢ ¤½¤·¤Æ¤¤¤¯¤Ä¤«¤Îͭ̾¤Ç¤Ê¤¤¥Õ¥©¡¼¥Þ¥Ã¥È¤¬ ELF ¤¬É¸½à¤Ë¤Ê¤ëÁ°¤Ë³«È¯¤µ¤ì¡¢ ¤½¤ì¤é¤Î¸Â³¦¤¬Ãµµá¤µ¤ì¤¿¤Î¤Ç¤¹¡£

¤µ¤é¤Ë¡¢¥×¥í¥°¥é¥à¥µ¥¤¥º¤ÏµðÂç¤Ë¤Ê¤ê¡¢ ¥Ç¥£¥¹¥¯ (¤ª¤è¤ÓʪÍý¥á¥â¥ê) ¤Ï°ÍÁ³¤È¤·¤ÆÁêÂÐŪ¤Ë¾®¤µ¤«¤Ã¤¿¤¿¤á¡¢ ¶¦Íѥ饤¥Ö¥é¥ê¤Î¥³¥ó¥»¥×¥È¤¬ÃÂÀ¸¤·¤Þ¤·¤¿¡£ ¤Þ¤¿¡¢VM ¥·¥¹¥Æ¥à¤Ï¤è¤êÊ£»¨¤Ê¤â¤Î¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¤³¤ì¤é¤Î¸Ä¡¹¤Î¿ÊÊâ¤Ï a.out ¥Õ¥©¡¼¥Þ¥Ã¥È¤ò»ÈÍѤ·¤Æ¿ë¤²¤é¤ì¤Þ¤·¤¿¤¬¡¢ ¤½¤ÎÍ­ÍÑÀ­¤Ï¿·¤·¤¤µ¡Ç½¤È¤È¤â¤Ë¤É¤ó¤É¤ó¹­¤¬¤Ã¤Æ¤­¤Þ¤·¤¿¡£ ¤³¤ì¤é¤Ë²Ã¤¨¡¢¼Â¹Ô»þ¤ËɬÍפʤâ¤Î¤òưŪ¤Ë¥í¡¼¥É¤¹¤ë¡¢ ¤Þ¤¿¤Ï½é´ü²½¥³¡¼¥É¤Î¼Â¹Ô¸å¤Ë¥×¥í¥°¥é¥à¤Î°ìÉô¤òÇË´þ¤·¡¢ ¥³¥¢¥á¥â¥ê¤ª¤è¤Ó¥¹¥ï¥Ã¥×¶õ´Ö¤òÀáÌ󤹤ë¤È¤¤¤¦Í×˾¤¬¹â¤Þ¤ê¤Þ¤·¤¿¡£ ¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¤Ï¤µ¤é¤ËÊ£»¨¤Ë¤Ê¤ê¡¢main ´Ø¿ô¤ÎÁ°¤Ë¼«Æ°Åª¤Ë¥³¡¼¥ë¤µ¤ì¤ë¥³¡¼¥É¤ÎÍ×˾¤¬¹â¤Þ¤ê¤Þ¤·¤¿¡£ ¿¤¯¤Îµ¡Ç½³ÈÄ¥¤¬¹Ô¤Ê¤ï¤ì¡¢a.out ¥Õ¥©¡¼¥Þ¥Ã¥È¤¬¤³¤ì¤é¤¹¤Ù¤Æ¤ò¼Â¸½¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¡¢ ¤½¤ì¤é¤Ï¤·¤Ð¤é¤¯¤Ï´ðËÜŪ¤ËÆ°ºî¤·¤Æ¤¤¤Þ¤·¤¿¡£ ¤ä¤¬¤Æ¡¢a.out ¤Ï¥³¡¼¥É¤Ç¤Î¥ª¡¼¥Ð¥Ø¥Ã¥É¤ÈÊ£»¨¤µ¤òÁýÂ礵¤»¤º¤Ë¡¢ ¤³¤ì¤é¤ÎÌäÂꤹ¤Ù¤Æ¤ò½èÍý¤¹¤ë¤³¤È¤Ë̵Íý¤¬¤Ç¤Æ¤­¤Þ¤·¤¿¡£ °ìÊý¡¢ELF ¤Ï¤³¤ì¤é¤ÎÌäÂê¤Î¿¤¯¤ò²ò·è¤·¤Þ¤¹¤¬¡¢ ¸½¾õ²ÔƯ¤·¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤«¤é¤ÎÀÚÂؤ¨¤ÏÌñ²ð¤Ê¤â¤Î¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£ ¤½¤Î¤¿¤á ELF ¤Ï¡¢a.out ¤Î¤Þ¤Þ¤Ç¤¤¤ë¤³¤È¤¬ ELF ¤Ø¤Î°Ü¹Ô¤è¤ê¤â¤â¤Ã¤ÈÌñ²ð¤Ê¤â¤Î¤Ë¤Ê¤ë¤Þ¤ÇÂÔ¤ÄɬÍפ¬¤¢¤ê¤Þ¤·¤¿¡£

¤·¤«¤·»þ¤¬·Ð¤Ä¤Ë¤Ä¤ì¡¢FreeBSD ¤Î¥Ó¥ë¥É¥Ä¡¼¥ë¤Î¸µ¤È¤Ê¤Ã¤¿¥Ä¡¼¥ë·² (Æä˥¢¥»¥ó¥Ö¥é¤È¥í¡¼¥À) ¤È FreeBSD ¤Î¥Ó¥ë¥É¥Ä¡¼¥ë·²¤Ï°Û¤Ê¤Ã¤¿¿Ê²½¤Î·ÐÏ©¤ò¤¿¤É¤ê¤Þ¤·¤¿¡£ FreeBSD ¤Î¥Ä¥ê¡¼¤Ç¤Ï¡¢¶¦Í­¥é¥¤¥Ö¥é¥ê¤¬Äɲ䵤졢 ¥Ð¥°¥Õ¥£¥Ã¥¯¥¹¤â¹Ô¤ï¤ì¤Þ¤·¤¿¡£ ¤â¤È¤â¤È¤Î¥Ä¡¼¥ë·²¤òºîÀ®¤·¤¿ GNU ¤Î¿Í¤¿¤Á¤Ï¡¢¥×¥í¥°¥é¥à¤ò½ñ¤­Ä¾¤·¡¢ ¥¯¥í¥¹¥³¥ó¥Ñ¥¤¥é¤Î¥µ¥Ý¡¼¥È¡¢ °Û¤Ê¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤òǤ°Õ¤Ë¼è¤ê¹þ¤àµ¡Ç½¤Ê¤É¤òÄɲ䷤Ƥ¤¤­¤Þ¤·¤¿¡£ ¿¤¯¤Î¿Í¡¹¤¬ FreeBSD ¤ò¥¿¡¼¥²¥Ã¥È¤È¤·¤¿¥¯¥í¥¹¥³¥ó¥Ñ¥¤¥é¤Î¹½ÃÛ¤ò»î¤ß¤Þ¤·¤¿¤¬¡¢ FreeBSD ¤Î»È¤Ã¤Æ¤¤¤ë as ¤È ld ¤Î¸Å¤¤¥×¥í¥°¥é¥à¥³¡¼¥É¤Ï¥¯¥í¥¹¥³¥ó¥Ñ¥¤¥ë¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤ª¤é¤º¡¢ ¤¦¤Þ¤¯¤¤¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¿·¤·¤¤ GNU ¤Î¥Ä¡¼¥ë·² (binutils) ¤Ï¡¢ ¥¯¥í¥¹¥³¥ó¥Ñ¥¤¥ë¡¢¶¦Í­¥é¥¤¥Ö¥é¥ê¡¢C++ ³ÈÄ¥¤Ê¤É¤Îµ¡Ç½¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤µ¤é¤Ë¿ô¿¤¯¤Î¥Ù¥ó¥À¤¬ ELF ¥Ð¥¤¥Ê¥ê¤ò¥ê¥ê¡¼¥¹¤·¤Æ¤¤¤Þ¤¹¡£ FreeBSD ¤Ë¤È¤Ã¤Æ ELF ¥Ð¥¤¥Ê¥ê¤¬¼Â¹Ô¤Ç¤­¤ë¤³¤È¤Ï¡¢ Èó¾ï¤Ë¥á¥ê¥Ã¥È¤¬¤¢¤ê¤Þ¤¹¡£ELF ¥Ð¥¤¥Ê¥ê¤¬ FreeBSD ¤ÇÆ°¤¯¤Î¤Ê¤é¡¢a.out ¤òÆ°¤«¤¹¤Î¤Ë¼ê´Ö¤ò¤«¤±¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¤Í¡£ Ť¤´ÖÃé¼Â¤Ë¤è¤¯Æ¯¤¤¤¿Ï·¤¤¤¿ÇϤϡ¢ ¤½¤í¤½¤íËÒÁðÃϤǵ٤ޤ»¤Æ¤¢¤²¤Þ¤·¤ç¤¦¡£

ELF ¤Ï a.out ¤ËÈæ¤Ù¤Æ¤è¤êɽ¸½ÎϤ¬¤¢¤ê¡¢ ¥Ù¡¼¥¹¤Î¥·¥¹¥Æ¥à¤ËÂФ·¤Æ¤è¤êÉý¹­¤¤³ÈÄ¥À­¤òÄ󶡤Ǥ­¤Þ¤¹¡£ ELF ÍѤΥġ¼¥ë¤Ï¤è¤ê¤è¤¯Êݼ餵¤ì¤Æ¤¤¤Þ¤¹¡£ ¤Þ¤¿Â¿¤¯¤Î¿Í¤Ë¤È¤Ã¤Æ½ÅÍפʥ¯¥í¥¹¥³¥ó¥Ñ¥¤¥ë¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ELF ¤Î¼Â¹Ô®Å٤ϡ¢¤Û¤ó¤Î¾¯¤· a.out ¤è¤êÃÙ¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ ¼ÂºÝ¤Ë®Å٤κ¹¤ò¤Ï¤«¤ë¤Î¤Ïº¤Æñ¤Ç¤·¤ç¤¦¡£ ELF ¤È a.out ¤Î´Ö¤Ë¤Ï¡¢¥Ú¡¼¥¸¥Þ¥Ã¥Ô¥ó¥°¡¢ ½é´ü²½¥³¡¼¥É¤Î½èÍý¤Ê¤É¿¤¯¤Î°ã¤¤¤¬¤¢¤ê¤Þ¤¹¤¬¡¢ ¤È¤ê¤¿¤Æ¤Æ½ÅÍפʤâ¤Î¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·°ã¤¤¤¬¤¢¤ë¤Î¤Ï³Î¤«¤Ç¤¹¡£¤Û¤É¤Ê¤¯¡¢ GENERIC ¥«¡¼¥Í¥ë¤«¤é a.out ¤Î¥µ¥Ý¡¼¥È¤¬³°¤µ¤ì¤Þ¤¹¡£ a.out ¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ëɬÍ×À­¤¬¤Ê¤¯¤Ê¤ì¤Ð¡¢ ºÇ½ªÅª¤Ë a.out ¤Î¥µ¥Ý¡¼¥È¤Ï¥«¡¼¥Í¥ë¤«¤éºï½ü¤µ¤ì¤Þ¤¹¡£

12.5. ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Îµö²Ä°À­¤ò chmod ¤ÇÊѤ¨¤é¤ì¤Ê¤¤¤Î¤Ï¤Ê¤¼¤Ç¤¹¤«?

¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ïµö²Ä°À­¤ò»ý¤Á¤Þ¤»¤ó¡£ ¤Þ¤¿ chmod(1) ¤Î¥Ç¥Õ¥©¥ë¥ÈÆ°ºî¤Ï¡¢ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò¤¿¤É¤Ã¤Æ¥ê¥ó¥¯Àè¤Î¥Õ¥¡¥¤¥ë¤Îµö²Ä°À­¤òÊѹ¹¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó¡£ ¤½¤Î¤¿¤á¡¢ foo ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¡¢ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯ bar ¤¬¤¢¤Ã¤¿¤È¤¹¤ë¤È¡¢ °Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¾ï¤ËÀ®¸ù¤·¤Þ¤¹¡£

% chmod g-w bar

¤·¤«¤·¤³¤Î¾ì¹ç¡¢foo ¤Îµö²Ä°À­¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£

¤³¤Î¾ì¹ç¡¢“-H” ¤« “-L” ¤Î¤É¤Á¤é¤«¤Î¥ª¥×¥·¥ç¥ó¤ò “-R” ¤ÈƱ»þ¤Ë»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ chmod(1) ¤È symlink(7) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ë¤Ï¤â¤Ã¤È¾Ü¤·¤¤¾ðÊ󤬤¢¤ê¤Þ¤¹¡£

警告-R” ¥ª¥×¥·¥ç¥ó¤ÏºÆµ¢Åª¤Ë chmod(1) ¤ò¼Â¹Ô¤·¤Þ¤¹¡£¥Ç¥£¥ì¥¯¥È¥ê¤ä¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò chmod ¤¹¤ë¾ì¹ç¤Ïµ¤¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ç»²¾È¤µ¤ì¤Æ¤¤¤ëñ°ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï¡¢ chmod(1) ¤ò¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤º¤Ë¡¢ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î̾Á°¤Î¸å¤í¤Ë¥¹¥é¥Ã¥·¥å (“/”) ¤ò¤Ä¤±¤Æ»È¤¤¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢“foo” ¤¬¥Ç¥£¥ì¥¯¥È¥ê “bar” ¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ç¤¢¤ë¾ì¹ç¡¢ “foo” (¼ÂºÝ¤Ë¤Ï “bar”) ¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢¤³¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

% chmod 555 foo/

¸å¤í¤Ë¥¹¥é¥Ã¥·¥å¤ò¤Ä¤±¤ë¤È¡¢ chmod(1) ¤Ï¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯ “foo” ¤òÄɤ¤¤«¤±¤Æ¥Ç¥£¥ì¥¯¥È¥ê “bar” ¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤Þ¤¹¡£

12.6. ¥í¥°¥¤¥ó̾¤¬¤¤¤Þ¤À¤Ë 8 ʸ»ú¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤ë¤Î¤Ï¤Ê¤¼¤Ç¤¹¤«?

UT_NAMESIZE ¤òÊѹ¹¤·¤Æ¥·¥¹¥Æ¥àÁ´ÂΤòºî¤êľ¤»¤Ð½½Ê¬¤Ç¡¢ ¤½¤ì¤À¤±¤Ç¤¦¤Þ¤¯¤¤¤¯¤À¤í¤¦¤È¤¢¤Ê¤¿¤Ï¹Í¤¨¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ »ÄÇ°¤Ê¤¬¤é¿¤¯¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥æ¡¼¥Æ¥£¥ê¥Æ¥£ (¥·¥¹¥Æ¥à¥Ä¡¼¥ë¤â´Þ¤á¤Æ) ¤Ï¡¢ ¾®¤µ¤Ê¿ôÃͤò¹½Â¤ÂΤä¥Ð¥Ã¥Õ¥¡¤Ê¤É¤Ë»È¤Ã¤Æ¤¤¤Þ¤¹ (ɬ¤º¤·¤â “8” ¤ä “9” ¤Ç¤Ï¤Ê¤¯¡¢ “15” ¤ä “20” ¤Ê¤É¤ÎÊѤä¿Ãͤò»È¤¦¤â¤Î¤â¤¢¤ê¤Þ¤¹)¡£ (¸ÇÄêĹ¤Î¥ì¥³¡¼¥É¤ò´üÂÔ¤¹¤ë¤È¤³¤í¤Ç²ÄÊÑĹ¥ì¥³¡¼¥É¤Ë¤Ê¤ë¤¿¤á¡¢ ) Âæ̵¤·¤Ë¤Ê¤Ã¤¿¥í¥°¥Õ¥¡¥¤¥ë¤òÆÀ¤ë¤³¤È¤Ë¤Ê¤ë¤È¤¤¤¦¤³¤È¤À¤±¤Ç¤Ê¤¯¡¢ Sun ¤Î NIS ¤Î¥¯¥é¥¤¥¢¥ó¥È¤Î¾ì¹ç¤ÏÌäÂ꤬µ¯¤­¤Þ¤¹¤·¡¢Â¾¤Î UNIX ¥·¥¹¥Æ¥à¤È¤Î´ØÏ¢¤Ë¤ª¤¤¤Æ¤³¤ì¤é°Ê³°¤ÎÌäÂê¤âµ¯¤­¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

¤·¤«¤·¡¢FreeBSD 3.0 °Ê¹ß¤Ç¤Ï 16 ʸ»ú¤È¤Ê¤ê¡¢ ¿¤¯¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Î¥Ï¡¼¥É¥³¡¼¥É¤µ¤ì¤¿Ì¾Á°¤ÎŤµ¤ÎÌäÂê¤â²ò·è¤µ¤ì¤Þ¤¹¡£ ¼ÂºÝ¤Ë¤Ï¥·¥¹¥Æ¥à¤Î¤¢¤Þ¤ê¤Ë¿¤¯¤ÎÉôʬ¤ò½¤Àµ¤¹¤ë¤¿¤á¤Ë¡¢ 3.0 ¤Ë¤Ê¤ë¤Þ¤Ç¤ÏÊѹ¹¤¬¹Ô¤ï¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£

¤½¤ì°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢¤³¤ì¤é¤ÎÌäÂ꤬µ¯¤³¤Ã¤¿¾ì¹ç¤Ë¡¢ ÌäÂê¤ò¼«Ê¬¼«¿È¤Çȯ¸«¤·¡¢²ò·è¤Ç¤­¤ë¤³¤È¤ËÀäÂÐŪ¤Ê¼«¿®¤¬¤¢¤ë¾ì¹ç¤Ï /usr/include/utmp.h ¤òÊÔ½¸¤·¡¢ UT_NAMESIZE ¤ÎÊѹ¹¤Ë¤·¤¿¤¬¤Ã¤Æ¡¢ Ť¤¥æ¡¼¥¶Ì¾¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤Þ¤¿¡¢ UT_NAMESIZE ¤ÎÊѹ¹¤È°ìÃפ¹¤ë¤è¤¦¤Ë /usr/include/sys/param.h ¤Î MAXLOGNAME ¹¹¿·¤·¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ºÇ¸å¤Ë¡¢¥½¡¼¥¹¤«¤é¥Ó¥ë¥É¤¹¤ë¾ì¹ç¤Ï /usr/include ¤òËè²ó¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ëɬÍפ¬¤¢¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë! /usr/src/.. ¾å¤Î¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤Æ¤ª¤¤¤ÆÃÖ¤­´¹¤¨¤Þ¤·¤ç¤¦¡£

12.7. FreeBSD ¾å¤Ç DOS ¤Î¥Ð¥¤¥Ê¥ê¤òÆ°¤«¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤¹¤«?

¤Ï¤¤¡¢FreeBSD 3.0 ¤«¤é¤Ï¡¢ Åý¹ç¤È²þÎɤ¬½Å¤Í¤é¤ì¤¿ BSDI ¤Î doscmd DOS ¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó¥µ¥Ö¥·¥¹¥Æ¥à¤ò»È¤Ã¤Æ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ º£¤Ê¤ªÂ³¤±¤é¤ì¤Æ¤¤¤ë¤³¤ÎÅØÎϤ˶½Ì£¤ò»ý¤Ã¤Æ»²²Ã¤·¤Æ¤¤¤¿¤À¤±¤ë¤Ê¤é¡¢ FreeBSD-emulation ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤Ø¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£

FreeBSD 3.0 °ÊÁ°¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ pcemu ¤È¤¤¤¦¹ªÌ¯¤Ê¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬ FreeBSD Ports Collection ¤Ë¤¢¤ê¡¢ 8088 ¤Î¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó¤È DOS ¤Î¥Æ¥­¥¹¥È¥â¡¼¥É¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òÆ°¤«¤¹¤Ë½½Ê¬¤Ê BIOS ¥µ¡¼¥Ó¥¹¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£¤³¤ì¤Ï X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤¬É¬ÍפǤ¹ (XFree86 ¤È¤·¤ÆÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹)¡£

12.8. ¤É¤³¤Ç̵ÎÁ¤Î FreeBSD ¤Î¥¢¥«¥¦¥ó¥È¤ò¼èÆÀ¤Ç¤­¤Þ¤¹¤«?

FreeBSD ¤Ï¤¤¤º¤ì¤Î¥µ¡¼¥Ð¡¼¤Ë¤â¥¢¥¯¥»¥¹¤ò³«Êü¤·¤Æ¤¤¤Þ¤»¤ó¤¬¡¢ Unix ¥·¥¹¥Æ¥à¤Ø¤Î¼«Í³¤Ê¥¢¥¯¥»¥¹¤òÄ󶡤·¤Æ¤¤¤ë¤È¤³¤í¤¬¤¢¤ê¤Þ¤¹¡£ ÈñÍѤϤޤÁ¤Þ¤Á¤Ç¡¢¸ÂÄꤵ¤ì¤¿¥µ¡¼¥Ó¥¹¤¬ÍøÍѤǤ­¤Þ¤¹¡£

M-Net ¤È¤·¤Æ¤âÃΤé¤ì¤ë Arbornet, Inc ¤Ï 1983 ǯ¤«¤é Unix ¥·¥¹¥Æ¥à¤Ø¤Î¥¢¥¯¥»¥¹¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ System III ¤¬Æ°ºî¤¹¤ë Altos ¤Ë»Ï¤Þ¤ê¡¢1991 ǯ¤Ë¤Ï BSD/OS ¤Ë°Ü¹Ô¤·¤Þ¤·¤¿¡£2000 ǯ 6 ·î¤Ë¤Ï¡¢ºÆ¤Ó FreeBSD ¤Ë °Ü¹Ô¤·¤Æ¤¤¤Þ¤¹¡£M-Net ¤Ë¤Ï SSH ¤Þ¤¿¤Ï telnet ·Ðͳ¤Ç ¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢FreeBSD ¥½¥Õ¥È¥¦¥§¥¢°ì¼°¤¬ ÍøÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤¿¤À¤·¡¢¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¤Ï ²ñ°÷¤È¡¢Èó±ÄÍøÁÈ¿¥¤È¤·¤Æ±¿±Ä¤µ¤ì¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤Ë´óÉÕ¤ò¤¹¤ë ¸å±ç¼Ô¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢M-Net ¤Ï·Ç¼¨ÈÄ¥·¥¹¥Æ¥à¤È ÁÐÊý¸þ¥Á¥ã¥Ã¥È¤âÄ󶡤·¤Æ¤¤¤Þ¤¹¡£

Grex ¤Ï¡¢ ·Ç¼¨ÈÄ¥·¥¹¥Æ¥à¤ÈÁÐÊý¸þ¥Á¥ã¥Ã¥È¥½¥Õ¥È¥¦¥§¥¢¤¬Æ±¤¸¤Ç¤¢¤ë¤³¤È¤â´Þ¤á¡¢ M-Net ¤È¤è¤¯»÷¤¿¥µ¥¤¥È¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·¡¢ ¥Þ¥·¥ó¤Ï Sun 4M ¤Ç¡¢SunOS ¤¬Æ°ºî¤·¤Æ¤¤¤Þ¤¹¡£

12.9.sup” ¤È¤Ï²¿¤Ç¡¢ ¤É¤Î¤è¤¦¤Ë¤·¤Æ»È¤¦¤â¤Î¤Ê¤Î¤Ç¤·¤ç¤¦¤«?

SUP ¤È¤Ï¡¢¥½¥Õ¥È¥¦¥§¥¢¥¢¥Ã¥×¥Ç¡¼¥È¥×¥í¥È¥³¥ë (Software Update Protocol) ¤Ç ¥«¡¼¥Í¥®¡¼¥á¥í¥óÂç³Ø (CMU) ¤Ç³«È¯¥Ä¥ê¡¼¤ÎƱ´ü¤Î¤¿¤á¤Ë³«È¯¤µ¤ì¤Þ¤·¤¿¡£ »ä¤¿¤Á¤ÎÃæ¿´³«È¯¥Ä¥ê¡¼¤ò¥ê¥â¡¼¥È¥µ¥¤¥È¤ÇƱ´ü¤µ¤»¤ë¤¿¤á¤Ë»È¤Ã¤Æ¤¤¤Þ¤·¤¿¡£

SUP ¤Ï¥Ð¥ó¥ÉÉý¤òϲÈñ¤·¤Þ¤¹¤Î¤Ç¡¢º£¤Ï»È¤Ã¤Æ¤¤¤Þ¤»¤ó¡£ ¥½¡¼¥¹¥³¡¼¥É¤Î¥¢¥Ã¥×¥Ç¡¼¥È¤Î¸½ºß¤Î¤ª¤¹¤¹¤á¤ÎÊýË¡¤Ï FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡ÖCVSup¡×¤Ë¤¢¤ê¤Þ¤¹¡£

12.10. FreeBSD ¤ò¥¯¡¼¥ë¤Ë»È¤¦¤Ë¤Ï?

FreeBSD ¤òÆ°¤«¤¹»þ¤Ë²¹ÅÙ¬Äê¤ò¹Ô¤Ê¤Ã¤¿¿Í¤Ï¤¤¤Þ¤¹¤«? Linux ¤Ï dos ¤è¤ê¤â²¹ÅÙ¤¬²¼¤¬¤ë¤È¤¤¤¦¤³¤È¤ÏÃΤäƤ¤¤Þ¤¹¤¬¡¢FreeBSD ¤Ë¤Ä¤¤¤Æ¤Ï¤³¤Î¤è¤¦¤Ê¤³¤È¤Ë¿¨¤ì¤¿¤â¤Î¤ò¸«¤¿¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¼ÂºÝÇ®¤¯¤Ê¤Ã¤Æ¤¤¤ë¤è¤¦¤Ë¸«¤¨¤Þ¤¹¡£

¤¤¤¤¤¨¡£ »ä¤¿¤Á¤Ï 250 ¥Þ¥¤¥¯¥í¥°¥é¥à¤Î LSD-25 ¤ò¤¢¤é¤«¤¸¤áÍ¿¤¨¤Æ¤ª¤¤¤¿¥Ü¥é¥ó¥Æ¥£¥¢¤ËÂФ¹¤ë¡¢ Ìܱ£¤·Ì£³Ð¥Æ¥¹¥È¤òÂçÎ̤˹ԤʤäƤ¤¤Þ¤¹¡£ 35% ¤Î¥Ü¥é¥ó¥Æ¥£¥¢¤Ï FreeBSD ¤Ï¥ª¥ì¥ó¥¸¤Î¤è¤¦¤ÊÌ£¤¬¤¹¤ë¤È¸À¤Ã¤Æ¤¤¤ë¤Î¤ËÂФ·¡¢ Linux ¤Ï»ç±ì¤Î¤è¤¦¤ÊÌ£¤ï¤¤¤¬¤¢¤ë¤È¸À¤Ã¤Æ¤¤¤ë¿Í¤â¤¤¤Þ¤¹¡£ ξÊý¤Î¥°¥ë¡¼¥×¤È¤â²¹ÅÙ¤ÎÉÔ°ìÃפˤĤ¤¤Æ¤Ï²¿¤â¿¨¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¤³¤ÎÄ´ºº¤Ç¡¢Èó¾ï¤Ë¿¤¯¤Î¥Ü¥é¥ó¥Æ¥£¥¢¤¬¥Æ¥¹¥È¤ò¹Ô¤Ê¤Ã¤¿Éô²°¤«¤éÉԻ׵Ĥ½¤¦¤Ë½Ð¤Æ¤­¤Æ¡¢ ¤³¤Î¤è¤¦¤Ê¤ª¤«¤·¤Ê·ë²Ì¤ò¼¨¤·¤¿¤³¤È¤Ë»ä¤¿¤Á¤ÏÅöÏǤµ¤»¤é¤ì¤Þ¤·¤¿¡£ »ä¤¿¤Á¤Ï¡¢¤Û¤È¤ó¤É¤Î¥Ü¥é¥ó¥Æ¥£¥¢¤Ï Apple ¤Ë¤¤¤ÆÈà¤é¤ÎºÇ¿·¤Î¡Ö°ú¤Ã¤«¤¤¤ÆÆ÷¤¤¤ò¤«¤°¡×GUI ¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¤È¹Í¤¨¤Æ¤¤¤Þ¤¹¡£ »ä¤¿¤Á¤Ï´ñ̯¤Ê¸Å¤¤»Å»ö¤ò¤·¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦!

¿¿ÌÌÌܤ˸À¤¦¤È¡¢FreeBSD ¤ä Linux ¤Ï¶¦¤Ë “HLT” (Ää»ß) Ì¿Îá¤ò¥·¥¹¥Æ¥à¤Î¥¢¥¤¥É¥ë (idle) »þ¤Ë»È¤¤¡¢ ¥¨¥Í¥ë¥®¡¼¤Î¾ÃÈñ¤ò²¡¤¨¤Æ¤¤¤Þ¤¹¤Î¤ÇÇ®¤ÎȯÀ¸¤â¾¯¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ ¤Þ¤¿¡¢APM (advanced power management) ¤òÀßÄꤷ¤Æ¤¢¤ë¤Ê¤é FreeBSD ¤Ï CPU ¤ò¥í¡¼¥Ñ¥ï¡¼¥â¡¼¥É¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

12.11. 狼¤¬»ä¤Î¥á¥â¥ê¥«¡¼¥É¤ò¤Ò¤Ã¤«¤¤¤Æ¤¤¤ë¤Î¤Ç¤¹¤«??

FreeBSD¤Ç¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë¤ò¤·¤Æ¤¤¤ë»þ¡¢ ¥á¥â¥ê¤«¤é°ú¤Ã¤«¤¤¤Æ¤¤¤ë¤è¤¦¤Ê´ñ̯¤Ê²»¤¬Ê¹¤³¤¨¤ë¤è¤¦¤Ê¤³¤È¤Ï¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«? ¥³¥ó¥Ñ¥¤¥ë¤ò¤·¤Æ¤¤¤ë»þ (¤¢¤ë¤¤¤Ïµ¯Æ°»þ¤Ë¥Õ¥í¥Ã¥Ô¥É¥é¥¤¥Ö¤òǧ¼±¤·¤¿¸å¤Îû¤¤´Ö¤Ê¤É)¡¢ ´ñ̯¤Ê°ú¤Ã¤«¤¯¤è¤¦¤Ê²»¤¬¥á¥â¥ê¥«¡¼¥É¤Î¤¢¤¿¤ê¤«¤éʹ¤³¤¨¤Æ¤­¤Þ¤¹¡£

¤½¤ÎÄ̤ê! BSD ¤Îʸ½ñ¤Ë¤ÏÎɤ¯¡¢¥Ç¡¼¥â¥ó (daemon) ¤È¤¤¤¦¸ÀÍÕ¤¬½Ð¤Æ¤­¤Þ¤¹¡£ ¤Û¤È¤ó¤É¤Î¿Í¤ÏÃΤé¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¥Ç¡¼¥â¥ó¤È¤Ï¡¢¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿¤ò°Í¤êÂå¤È¤¹¤ë¡¢ ½ã¿è¤ÇÈóʪ¼ÁŪ¤Ê¸ºß¤Î¤³¤È¤Ç¤¹¡£ ¥á¥â¥ê¤«¤éʹ¤³¤¨¤ë¤Ò¤Ã¤«¤¯¤è¤¦¤Ê²»¤Ï¡¢ ¤µ¤Þ¤¶¤Þ¤¢¤ë¥·¥¹¥Æ¥à´ÉÍý¥¿¥¹¥¯¤Î°·¤¤¤ò¤¤¤«¤ËºÇÁ±¤Ê¤â¤Î¤Ë¤¹¤ë¤«¡¢ ¤È¤¤¤Ã¤¿¤³¤È¤ò·è¤á¤ë¤È¤­¤Ë¥Ç¡¼¥â¥ó¤¿¤Á¤¬¸ò¤ï¤¹¡¢ ¤«¤ó¹â¤¤¤µ¤µ¤ä¤­À¼¤Ê¤Î¤Ç¤¹¡£

¤³¤Î»¨²»¤¬Ê¹¤³¤¨¤¿¤È¤­¡¢DOS ¤«¤é “fdisk /mbr” ¤È¤¤¤¦¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ì¤Ð¡¢ ¤¦¤Þ¤¯¥Ç¡¼¥â¥ó¤òÄɤ¤½Ð¤¹¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£ ¤Ç¤â¡¢¥Ç¡¼¥â¥ó¤Ï¤½¤ì¤Ë»õ¸þ¤«¤Ã¤Æ fdisk ¤Î¼Â¹Ô¤ò¤ä¤á¤µ¤»¤è¤¦¤È¤¹¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£ ¤â¤·¡¢¤½¤ì¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¤È¤­¤Ë¥¹¥Ô¡¼¥«¤Ê¤é¥Ó¥ë ¥²¥¤¥Ä (Bill Gates) ¤Î°­Ëâ¤Î¤µ¤µ¤ä¤­¤¬Ê¹¤³¤¨¤Æ¤­¤¿¤é¡¢ ¤¹¤°¤ËΩ¤Á¾å¤¬¤Ã¤Æƨ¤²¤Æ¤¯¤À¤µ¤¤¡£·è¤·¤Æ¿¶¤êÊ֤äƤϤ¤¤±¤Þ¤»¤ó! BSD ¤Î¥Ç¡¼¥â¥ó¤¿¤Á¤¬²¡¤¨¹þ¤ó¤Ç¤¤¤¿ÁлҤΥǡ¼¥â¥ó¡¢DOS ¤È Windows ¤¬²òÊü¤µ¤ì¡¢ ¤¢¤Ê¤¿¤Îº²¤ò±Ê±ó¤ÎÇËÌǤØƳ¤³¤¦¤È¥Þ¥·¥ó¤òºÆ¤Ó»ÙÇÛ¤·¤Æ¤·¤Þ¤¦¤³¤È¤Ç¤·¤ç¤¦¡£ ¤½¤ì¤òÃΤ俺£¤ä¡¢Áª¤Ù¤È¸À¤ï¤ì¤¿¤é¡¢ ¤à¤·¤í¤Ò¤Ã¤«¤­²»¤Ë´·¤ì¤ëÊý¤òÁª¤Ö¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤«?

12.12. "MFC" ¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«

MFC ¤È¤Ï¡¢ ¡ÖCURRENT ¤È¤Î¹çή (Merged From -CURRENT)¡×¤ÎƬʸ»ú¤ò¤È¤Ã¤¿¤â¤Î¤Ç¤¹¡£ CVS ¥í¥°¤Ç -CURRENT ¤«¤é -STABLE ¥Ö¥é¥ó¥Á¤Ø¤Î¹çή¤ò¼¨¤·¤Þ¤¹¡£

12.13. "BSD" ¤È¤Ï¤É¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¤«?

¤³¤Î¸ÀÍդϡ¢Ãç´Ö¤¦¤Á¤À¤±¤Ëʬ¤«¤ë±£¸ì¤Ç²¿¤È¤«¤È¤¤¤¦°ÕÌ£¤Ç¤¹¡£ ʸ»ú¤É¤ª¤ê¤ËÌõ¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤¬¡¢ BSD ¤ÎÌõ¤Ï¡ÖF1 ¤Î¥ì¡¼¥·¥ó¥°¥Á¡¼¥à¡×¤«¡Ö¥Ú¥ó¥®¥ó¤Ï¤ª¤¤¤·¤¤¥¹¥Ê¥Ã¥¯¡×¡¢ ¤¢¤ë¤¤¤Ï¡Ö²¶¤¿¤Á¤ã Linux ¤è¤êÞ¯Íî¤ÏÍø¤¤¤Æ¤ë¤¼¡×¤È¤«¤½¤Î¤Ø¤ó¤À¤È¸À¤Ã¤Æ¤ª¤±¤Ð¤ª¤Ã¤±¡¼¤Ç¤·¤ç¤¦¡£ :-)

¾éÃ̤Ϥµ¤Æ¤ª¤­¡¢BSD ¤È¤Ï¡¢Berkeley CSRG (¥³¥ó¥Ô¥å¡¼¥¿¥·¥¹¥Æ¥àɾµÄ²ñ) ¤¬Èà¤é¤Î UNIX ¤ÎÇÛÉÛ·ÁÂÖ¤Î̾Á°¤È¤·¤ÆÅö»þÁª¤ó¤À "Berkeley Software Distribution" ¤Îά¤Ç¤¹¡£

12.14. ¥ê¥Ý¥¸¥È¥ê¡¦¥³¥Ô¡¼ (repo-copy) ¤È¤Ï°ìÂβ¿¤Î¤³¤È¤Ç¤·¤ç¤¦?

repo-copy (“repository copy” ¤Îά) ¤È¤Ï¡¢ CVS ¥ê¥Ý¥¸¥È¥ê¤ÎÃæ¤ÇľÀÜ¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤¹¤ë¤³¤È¤ò¼¨¤¹ÍѸì¤Ç¤¹¡£

repo-copy ¤ò¹Ô¤Ê¤ï¤Ê¤¤¾ì¹ç¤ò¹Í¤¨¤Þ¤¹¡£ ¥ê¥Ý¥¸¥È¥ê¤ÎÃæ¤Î°Û¤Ê¤ë¾ì½ê¤Ë¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤·¤¿¤ê¡¢ °ÜÆ°¤·¤¿¤ê¤¹¤ëɬÍ×À­¤¬À¸¤¸¤ë¤È¡¢¥³¥ß¥Ã¥¿¡¼¤Ï ¥Õ¥¡¥¤¥ë¤ò¿·¤·¤¤¾ì½ê¤ËÃÖ¤¯¤¿¤á¤Ë cvs add ¤ò¡¢ ¤½¤·¤Æ¸Å¤¤¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤ë¾ì¹ç¤Ï¡¢¸Å¤¤¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ cvs rm ¤ò¼Â¹Ô¤¹¤ë¤Ç¤·¤ç¤¦¡£

¤³¤ÎÊýË¡¤Î·çÅÀ¤Ï¡¢¥Õ¥¡¥¤¥ë¤ÎÊѹ¹ÍúÎò (¤¿¤È¤¨¤Ð CVS ¥í¥°¤Î¥¨¥ó¥È¥ê) ¤¬¿·¤·¤¤¾ì½ê¤Ë¥³¥Ô¡¼¤µ¤ì¤Ê¤¤¤³¤È¤Ç¤¹¡£ FreeBSD ¥×¥í¥¸¥§¥¯¥È¤Ç¤Ï¤³¤ÎÊѹ¹ÍúÎò¤ò¤È¤Æ¤âÍ­ÍѤʤâ¤Î¤À¤È¹Í¤¨¤Æ¤¤¤ë¤¿¤á¡¢ Á°½Ò¤ÎÊýË¡¤ÎÂå¤ï¤ê¤Ë¥ê¥Ý¥¸¥È¥ê¥³¥Ô¡¼¤¬Îɤ¯ÍѤ¤¤é¤ì¤Þ¤¹¡£ ¤³¤ÎÁàºî¤Ï cvs ¥×¥í¥°¥é¥à¤òÍøÍѤ¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢ ¥ê¥Ý¥¸¥È¥ê¤Î´ÉÍýôÅö¼Ô¤¬¥ê¥Ý¥¸¥È¥ê¤ÎÃæ¤Ç¥Õ¥¡¥¤¥ë¤òľÀÜ¥³¥Ô¡¼¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£

12.15. ¤Ê¤ó¤Ç¥Ð¥¤¥¯¾®²° (bikeshed) ¤Î¿§¤Ë¤Þ¤Çµ¤¤ò»È¤ï¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤ó¤Ç¤¹¤«?

°ì¸À¤Ç¸À¤Ã¤Æ¤·¤Þ¤¨¤Ð¡¢¤½¤¦¤¹¤Ù¤­¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤â¤¦¾¯¤·¾Ü¤·¤¯ÀâÌÀ¤·¤Þ¤·¤ç¤¦¡£ ¤¿¤È¤¨¤Ð¡¢¤¢¤Ê¤¿¤¬¥Ð¥¤¥¯¾®²°¤ò·ú¤Æ¤ëµ»½Ñ¤ò»ý¤Ã¤Æ¤¤¤¿¤È¤·¤Þ¤¹¡£ ¤·¤«¤·¤½¤ì¤Ï¡¢ÅÉ¤í¤¦¤È¤·¤Æ¤¤¤ë¿§¤¬µ¤¤ËÆþ¤é¤Ê¤¤¤«¤é¤È¸À¤Ã¤Æ¡¢ ¾¿Í¤¬¥Ð¥¤¥¯¾®²°¤ò·ú¤Æ¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤ò»ß¤á¤ÆÎɤ¤Íýͳ¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¤è¤Í¡£ ¤³¤ì¤Ï¡¢¼«Ê¬¤Î¹ÔÆ°¤Ë¤Ä¤¤¤Æ½½Ê¬¤ÊÍý²ò¤ò»ý¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢ ¤¢¤Ê¤¿¤ÏºÙ¤«¤Êµ¡Ç½¤¹¤Ù¤Æ¤Ë¤ï¤¿¤Ã¤ÆµÄÏÀ¤¹¤ëɬÍפϤʤ¤¤³¤È¤ò¼¨¤¹ÈæÓȤǤ¹¡£ ¤¢¤ëÊѹ¹¤Ë¤è¤Ã¤Æ»º¤ß½Ð¤µ¤ì¤ë¥Î¥¤¥º¤ÎÁíÎ̤ϡ¢ ¤½¤ÎÊѹ¹¤ÎÊ£»¨¤µ¤ËÈ¿ÈæÎ㤹¤ë¤Î¤À¤È¸À¤Ã¤Æ¤¤¤ë¿Íã¤â¤¤¤Þ¤¹¡£

¤µ¤é¤Ë¾Ü¤·¤¯¡¢´°Á´¤Ê²óÅú¤ò¾Ò²ð¤·¤Þ¤·¤ç¤¦¡£ Poul-Henning Kamp ¤Ï¡¢ ¡Ösleep(1) ¤Ïʬ¿ô¤ÎÉÿô¤ò°ú¿ô¤È¤·¤Æ¼è¤ë¤Ù¤­¤«¡×¤È¤¤¤¦ Èó¾ï¤ËŤ¤µÄÏÀ¤Î¸å¤Ç¡¢ “A bike shed (any colour will do) on greener grass...” ¤È¤¤¤¦¥¿¥¤¥È¥ë¤ÎĹʸ¤òÅê¹Æ¤·¤Þ¤·¤¿¡£ ´Ø·¸¤Î¤¢¤ëÉôʬ¤À¤±¤ò°Ê²¼¤Ë·ÇºÜ¤·¤Þ¤¹¡£

 

“¤³¤Î¥Ð¥¤¥¯¾®²°¡¢¤É¤¦¤À¤í¤¦?” 狼¤¬¤¿¤º¤Í¤Þ¤·¤¿¡£

Ť¤¡Ä¤È¤¤¤¦¤«¡¢¤à¤·¤í¸Å¤¤Ïäˤʤê¤Þ¤¹¤¬¡¢ Ãæ¿È¤Ï¤ï¤ê¤È´Êñ¤ÊÏäǤ¹¡£¥Ñ¡¼¥­¥ó¥½¥ó (C. Northcote Parkinson) ¤Ï 1960 ǯÂå½éƬ¤Ë “¥Ñ¡¼¥­¥ó¥½¥ó¤Îˡ§” ¤È¸Æ¤Ð¤ì¤ëËܤò½ñ¤­¤Þ¤·¤¿¡£ ¤³¤ÎÃæ¤Ë¤Ï¤µ¤Þ¤¶¤Þ¤Ê·Ð±Ä¤ÎÎϳؤ˴ؤ¹¤ëƶ»¡¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

[ ¤³¤ÎËܤ˴ؤ¹¤ë²òÀ⤬¤¢¤Ã¤¿¤¬¾Êά ]

¥Ð¥¤¥¯¾®²°¤Ë´ØÏ¢¤¹¤ëÎã¤È¤·¤Æ¡¢ ¤â¤¦°ì¤Ä¤Î½ÅÍפʹ½À®Í×ÁǤȤʤäƤ¤¤ë¤Î¤Ï¸¶»ÒÎÏȯÅŽê¤Ç¤¹¡£ ¤³¤ÎËܤÎǯÂ夬¤ï¤«¤ê¤Þ¤¹¤Í¡£

¥Ñ¡¼¥­¥ó¥½¥ó¤Ï¡¢¤¢¤Ê¤¿¤¬½ÅÌò²ñ¤Ë½ÐÀʤ·¤Æ ¿ôÉ´Ëü¤«¤é¿ô10²¯¥É¥ëµ¬ÌϤ趻ÒÎÏȯÅŽê¤Î·úÀߤξµÇ§¤òÆÀ¤ë ¤³¤È¤Ï¤Ç¤­¤ë¤Ç¤·¤ç¤¦¤¬¡¢¤¢¤Ê¤¿¤¬·ú¤Æ¤¿¤¤¤Î¤¬¥Ð¥¤¥¯¾®²°¤Ê¤é¤Ð¡¢ ½ª¤ï¤ê¤Ê¤­µÄÏÀ¤Ë´¬¤­¹þ¤Þ¤ì¤ë¤À¤í¤¦¤È¸À¤Ã¤Æ¤¤¤Þ¤¹¡£

¥Ñ¡¼¥­¥ó¥½¥ó¤Ï¤³¤Î¤è¤¦¤ËÀâÌÀ¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¸¶È¯¤¬Í¾¤ê¤ËµðÂç¤Ç¹â²Á¤ÇÊ£»¨¤Ê¤Î¤Çï¤â¤³¤ì¤ò°ì¼ê¤Ë°®¤ë¤³¤È¤¬¤Ç¤­¤º¡¢ ¤½¤ì¤ò»î¤ß¤ë¤¯¤é¤¤¤Ê¤é¤à¤·¤í¡¢¼ê¤¬½Ð¤»¤Ê¤¯¤Ê¤ëÁ°¤Ë ¾¤Î狼¤¬¤¹¤Ù¤Æ¤ò¾ÜºÙ¤Ë¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¤ò °ú¤­¼õ¤±¤ë¤³¤È¤ËÍê¤ë¤Î¤Ç¤¹¡£ ¥ê¥Á¥ã¡¼¥É¡¦¥Õ¥¡¥¤¥ó¥Þ¥ó (Richard P. Feynmann) ¤Ï¡¢ ¥í¥¹¥¢¥é¥â¥¹¤Ç¤³¤Î¼ê¤Î½ÅÍפʷи³¤ò²¿Å٤⸫¤Æ¤­¤¿¤ÈËܤ˽ñ¤¤¤Æ¤¤¤Þ¤¹¡£

°ìÊý¤Ç¥Ð¥¤¥¯¾®²°¤Î¾ì¹ç¤Ï¡¢Ã¯¤Ç¤â½µËö¤Ë¤³¤ì¤òºî¤ê¾å¤²¤ë¤³¤È¤¬¤Ç¤­¡¢ ¤·¤«¤â TV ¤Î»î¹ç¤ò¸«¤ë»þ´Ö¤¬¤¢¤Þ¤ë¤Û¤É¤Ç¤¹¡£ ¤Ê¤Î¤Ç¡¢¤É¤ó¤Ê¤Ë½àÈ÷¤¬À°¤¨¤Æ¤¢¤Ã¤Æ¡¢¤É¤ó¤Ê¤Ë·×²è¤¬½çÅö¤Ç¤¢¤Ã¤¿¤È¤·¤Æ¤â¡¢ ¤ï¤¿¤·¤Ï»Å»ö¤ò¤ä¤Ã¤Æ¤¤¤ë¤è¡¢ ¤ï¤¿¤·¤ÏÃí°Õ¤òʧ¤Ã¤Æ¤¤¤ë¤è¡¢¤½¤·¤Æ ¤ï¤¿¤·¤Ï¤³¤³¤Ë¤¤¤ë¤è¡¢ ¤È¤¤¤¦¤³¤È¤ò¼¨¤½¤¦¤È¤¹¤ë¿Í¤¬É¬¤º¸½¤ì¤Þ¤¹¡£

¥Ç¥ó¥Þ¡¼¥¯¤Ç¤Ï¤³¤ì¤ò¡Ö»ØÌæ¤ò¤Ä¤±¤ë¡×¤È¸Æ¤ó¤Ç¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¸Ä¿ÍŪ¤Ê¥×¥é¥¤¥É¤ä̾À¼¤òµá¤á¡¢ ¤¢¤ë¾ì½ê¤ò»Ø¤·¼¨¤·¤Æ¡Ö¤³¤³! ¤³¤³¤Ï²¶¤¬ ¤ä¤Ã¤¿¤ó¤À¤¼¡Á¡×¤È¤¤¤¦¤è¤¦¤Ê¤â¤Î¤Ç¤¹¡£ ¤³¤ì¤ÏÀ¯¼£²È¤Ë¸«¤é¤ì¤ë¶¯¤¤ÆÃħ¤Ç¤¹¤¬¡¢ ¤½¤Î¾¤Î¤Û¤È¤ó¤É¤Î¿Í¤â¤³¤¦¤¤¤¦É÷¤Ë¿¶Éñ¤¦²ÄǽÀ­¤Ï¤¢¤ë¤Î¤Ç¤¹¡£ À¸´¥¤­¤Î¥»¥á¥ó¥È¤Ë¤Ä¤±¤é¤ì¤¿Â­ÀפΤ³¤È¤ò¹Í¤¨¤ì¤Ð¤ªÊ¬¤«¤ê¤Ç¤·¤ç¤¦¡£

 
--1999 ǯ 10 ·î 2 Æü freebsd-hackers ¤Ë¤Æ Poul-Henning Kamp  

12.16. ¤Ò¤È¤Ä¤ÎÅŵå¤ò¼è¤êÂؤ¨¤ë¤Î¤Ë¡¢²¿¿Í¤Î FreeBSD ¥Ï¥Ã¥«¡¼¤¬É¬Í×?

1,172¿Í¤Ç¤¹¡£

  • Åŵ夬¾Ã¤¨¤Æ¤¤¤ë¤È -CURRENT ¤Çʸ¶ç¤ò¸À¤¦¤Î¤Ë 23 ¿Í¡£

  • ÀßÄê¾å¤ÎÌäÂê¤Ç -questions ¤ÇÏäò¤¹¤Ù¤­¤³¤È¤Ë¤Ä¤¤¤ÆÁû¤°¤Î¤Ë 4 ¿Í¡£

  • ¤½¤ì¤ò send-pr (ÌõÃí: ¾ã³²Êó¹ð) ¤¹¤ë¤Î¤Ë 3 ¿Í (¤½¤Î¤¦¤Á¤Î¤Ò¤È¤Ä¤Ï´Ö°ã¤Ã¤Æ doc ¥«¥Æ¥´¥ê¤ËÁ÷¤ê¤Ä¤±¤é¤ì¤¿¤¦¤¨¤Ë¡¢ ÆâÍƤ¬¡Ö°Å¤¯¤Ê¤Ã¤¿¡×¤È¤¤¤¦¤À¤±¤Î¤â¤Î)¡£

  • buildworld ¤ò¼ºÇÔ¤µ¤»¡¢5 ʬ¸å¤Ë¤Ï¸µ¤ËÌᤵ¤ì¤ë¤è¤¦¤ÊÅŵå¤ò ¥Æ¥¹¥È¤â¤»¤º¤Ë¥³¥ß¥Ã¥È¤¹¤ë¤Î¤Ë 1 ¿Í¡£

  • send-pr ¤·¤¿¿Í¤Ë¡¢¥Ñ¥Ã¥Á¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤È¡Ö¤¤¤Á¤ã¤â¤ó¡×¤òÉÕ¤±¤ë¤Î¤Ë 8 ¿Í¡£

  • buildworld ¤¬¼ºÇÔ¤¹¤ë¤Èʸ¶ç¤ò¸À¤¦¤Î¤Ë 5 ¿Í¡£

  • ¼«Ê¬¤Î¤È¤³¤í¤Ç¤Ï¤Á¤ã¤ó¤ÈÆ°¤¯¡¢ cvsup ¤·¤¿¥¿¥¤¥ß¥ó¥°¤¬°­¤«¤Ã¤¿¤ó¤À¤í¤¦¤ÈÅú¤¨¤ë¤Î¤Ë 31 ¿Í¡£

  • ¿·¤·¤¤Åŵå¤Î¤¿¤á¤Î¥Ñ¥Ã¥Á¤ò -hackers ¤ËÅꤲ¤ë¤Î¤Ë 1 ¿Í¡£

  • ¼«Ê¬¤Ï 3 ǯ¤âÁ°¤Ë¥Ñ¥Ã¥Á¤òºî¤Ã¤¿¤¬¡¢¤½¤ì¤ò -CURRENT ¤ËÅꤲ¤¿¤È¤­¤Ë¤Ï̵»ë¤µ¤ì¤¿¤À¤±¤À¤Ã¤¿¡¢ ¼«Ê¬¤Ï send-pr ¤Î¥·¥¹¥Æ¥à¤Ë¤Ï·ù¤Ê·Ð¸³¤¬¤¢¤ë¤È (¤ª¤Þ¤±¤Ë¡¢ Äó°Æ¤µ¤ì¤¿¿·¤·¤¤Åŵå¤Ë¤Ï½ÀÆðÀ­¤¬Ìµ¤¤¤È¤Þ¤Ç) ʸ¶ç¤ò¸À¤¦¤Î¤Ë 1 ¿Í¡£

  • Åŵ夬´ðËÜ¥·¥¹¥Æ¥à¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¡¢ committer ¤Ï¥³¥ß¥å¥Ë¥Æ¥£¤Î°Õ¸«¤òʹ¤¯¤³¤È̵¤·¤Ë¤³¤ó¤Ê¤³¤È¤ò¤¹¤ë¸¢Íø¤Ï̵¤¤¤È¶«¤Ó¡¢ ¡Ö¤³¤ó¤Ê¤È¤­¤Ë -core ¤Ï²¿¤ò¤ä¤Ã¤Æ¤ë¤ó¤À!?¡×¤È¤ï¤á¤­¤Á¤é¤¹¤Î¤Ë 37 ¿Í¡£

  • ¼«Å¾¼ÖÃÖ¤­¾ì¤Î¿§¤Ëʸ¶ç¤ò¸À¤¦¤Î¤Ë 200 ¿Í¡£

  • ¥Ñ¥Ã¥Á¤¬ style(9) °ãÈ¿¤À¤È»ØŦ¤¹¤ë¤Î¤Ë 3 ¿Í¡£

  • Äó°Æ¤µ¤ì¤¿¿·¤·¤¤Åŵå¤Ï GPL ¤Î²¼¤Ë¤¢¤ë¤Èʸ¶ç¤ò¸À¤¦¤Î¤Ë 70 ¿Í¡£

  • GPL ¤È BSD ¥é¥¤¥»¥ó¥¹¤È MIT ¥é¥¤¥»¥ó¥¹¤È NPL ¤È¡¢ Ë¿ FSF ÁÏΩ¼Ô¤é¤Î¸Ä¿ÍŪ¤Ê·ò¹¯Ë¡¤ÎÍ¥°ÌÀ­¤Ë¤Ä¤¤¤Æ¤ÎÏÀÁè¤òÀï¤ï¤¹¤Î¤Ë 586 ¿Í¡£

  • ¥¹¥ì¥Ã¥É¤Î¤¢¤Á¤³¤Á¤Î»Þ¤ò -chat ¤ä -advocacy ¤Ë°ÜÆ°¤¹¤ë¤Î¤Ë 7 ¿Í¡£

  • Äó°Æ¤µ¤ì¤¿Åŵå¤ò¡¢¸Å¤¤¤Î¤è¤ê¤º¤Ã¤ÈÇö°Å¤¤¤Î¤Ë¥³¥ß¥Ã¥È¤·¤Æ¤·¤Þ¤¦¤Î¤Ë 1 ¿Í¡£

  • FreeBSD ¤ËÇö°Å¤¤Åŵå¤òÉÕ¤±¤ë¤¯¤é¤¤¤Ê¤é¿¿¤Ã°Å¤Î¤Û¤¦¤¬¤Þ¤·¤À¤È¤¤¤¦¡¢ ¥³¥ß¥Ã¥È¥á¥Ã¥»¡¼¥¸¤Ø¤ÎÀ¨¤Þ¤¸¤¤ÈóÆñ¤ÎÍò¤Ë¤è¤Ã¤Æ¡¢ ¤½¤ì¤ò¸µ¤ËÌ᤹¤Î¤Ë 2 ¿Í¡£

  • Çö°Å¤¤Åŵ夬Ģ¾Ã¤·¤Ë¤µ¤ì¤¿¤³¤È¤ËÂФ·¤Æ¤É¤Ê¤êÀ¼¤Ç¸ýÏÀ¤·¡¢ -core ¤ÎÀ¼ÌÀ¤òÍ׵᤹¤ë¤Î¤Ë 46 ¿Í¡£

  • ¤â¤· FreeBSD ¤ò¤¿¤Þ¤´¤Ã¤Á¤Ë°Ü¿¢¤¹¤ë¤³¤È¤Ë¤Ê¤Ã¤¿¤È¤­¤ËÅԹ礬¤¤¤¤¤è¤¦¤Ë¡¢ ¤â¤Ã¤È¾®¤µ¤ÊÅŵå¤òÍ׵᤹¤ë¤Î¤Ë 11 ¿Í¡£

  • -hackers ¤È -chat ¤Î S/NÈæ¤Ëʸ¶ç¤ò¸À¤¤¡¢ ¹³µÄ¤Î¤¿¤á¹ÖÆɤò¼è¤ê¤ä¤á¤ë¤Î¤Ë 73 ¿Í¡£

  • ¡Öunsubscribe¡×¡Ö¤É¤¦¤ä¤Ã¤¿¤é¹ÖÆɤò¤ä¤á¤é¤ì¤ë¤ó¤Ç¤¹¤«?¡× ¡Ö¤³¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤«¤é¤ï¤¿¤·¤ò³°¤·¤Æ¤¯¤À¤µ¤¤¡×¤È¤¤¤Ã¤¿ ¥á¥Ã¥»¡¼¥¸¤ò¡¢Îã¤Î¥Õ¥Ã¥¿¤ò¤¯¤Ã¤Ä¤±¤ÆÅê¹Æ¤¹¤ë¤Î¤Ë 13 ¿Í¡£

  • ¤ß¤ó¤Ê¤¬·ãÏÀ¤òÀï¤ï¤»¤ë¤Î¤ËË»¤¬¤·¤¯¤Æµ¤ÉÕ¤«¤Ê¤¤´Ö¤Ë¡¢ ºî¶ÈÃæ¤ÎÅŵå¤ò¥³¥ß¥Ã¥È¤¹¤ë¤Î¤Ë 1 ¿Í¡£

  • ¿·¤·¤¤Åŵå¤Ï TenDRA ¤ò»È¤Ã¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¾ì¹ç¤Ë 0.364% ¤âÌÀ¤ë¤¯¤Ê¤ë (¤¿¤À¤·Åŵå¤òΩÊýÂΤˤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤)¡¢ ¤À¤«¤é FreeBSD ¤Ï EGCS ¤«¤é TenDRA ¤ËÊѤ¨¤ë¤Ù¤­¤À¤È»ØŦ¤¹¤ë¤Î¤Ë 31 ¿Í¡£

  • ¿·¤·¤¤Åŵå¤ÏÈþ¤·¤µ¤Ë·ç¤±¤Æ¤¤¤ë¤Èʸ¶ç¤ò¸À¤¦¤Î¤Ë 1 ¿Í¡£

  • ¡ÖMFC ¤Ã¤Æ²¿¤Ç¤¹¤«?¡×¤Èʹ¤¯¤Î¤Ë 9 ¿Í (send-pr ¤·¤¿¿Í¤â´Þ¤à)¡£

  • Åŵ夬¼è¤êÂؤ¨¤é¤ì¤Æ¤«¤é 2 ½µ´Ö¤â¾Ã¤¨¤Ã¤Ñ¤Ê¤·¤À¤Èʸ¶ç¤ò¸À¤¦¤Î¤Ë 57 ¿Í¡£

Nik Clayton ¤Ë¤è¤ëÄɵ­: ¤³¤ì¤Ë¤ÏÇú¾Ð¤·¤Þ¤·¤¿¡£

¤½¤ì¤«¤é¤ï¤¿¤·¤Ï¹Í¤¨¤Þ¤·¤¿¡£ ¡Ö¤Á¤ç¤Ã¤ÈÂԤƤè? ¤³¤Î¥ê¥¹¥È¤Î¤É¤³¤«¤Ë¡¢ ¡Ø¤³¤ì¤òʸ½ñ¤Ë¤Þ¤È¤á¤ë¤Î¤Ë 1¿Í¡Ù¤È¤¤¤¦¤Î¤¬¤¢¤Ã¤Æ¤â¤¤¤¤¤ó¤¸¤ã¤Ê¤¤¤«?¡×

¤½¤ì¤«¤é¤ï¤¿¤·¤Ï¸ç¤ê¤ò³«¤¤¤¿¤Î¤Ç¤¹ :-)

¤³¤Î¹àÌܤÎÃøºî¸¢¤Ï Copyright (c) 1999 Dag-Erling C. Smørgrav ¤Ë¤¢¤ê¤Þ¤¹¡£ ̵ÃǤǻÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£


第 13章¤Þ¤¸¤á¤Ê FreeBSD ¥Ï¥Ã¥«¡¼¤À¤±¤ÎÏÃÂê

Ìõ: ´äºê Ëþ ¡¢ 1997 ǯ 11 ·î 8 Æü

13.1. SNAP ¤È¤« RELEASE ¤È¤«¤Ï²¿?
13.2. ¼«Ê¬ÍѤΥ«¥¹¥¿¥à¥ê¥ê¡¼¥¹¤ò¹½ÃÛ¤¹¤ë¤Ë¤Ï?
13.3. ¥«¥¹¥¿¥à¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥¹¥¯¤òºî¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?
13.4. “make world” ¤ò¹Ô¤Ê¤¦¤È´û¸¤Î¥Ð¥¤¥Ê¥ê¤ò¾å½ñ¤­¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¤¬¡£
13.5. ¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë “(bus speed defaulted)” ¤È¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Þ¤¹¡£
13.6. ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥¢¥¯¥»¥¹¤ËÀ©¸Â¤¬¤¢¤Ã¤Æ¤â current ¤òÄɤ¤¤«¤±¤é¤ì¤Þ¤¹¤«?
13.7. ¤É¤Î¤è¤¦¤Ë¤·¤ÆÇÛÉÛ¥Õ¥¡¥¤¥ë¤ò 240KB ¤Ëʬ³ä¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?
13.8. »ä¤Ï¥«¡¼¥Í¥ë¤Ë³ÈÄ¥¤ò¹Ô¤Ê¤¤¤Þ¤·¤¿¡£ ï¤ËÁ÷¤ì¤Ð¤¤¤¤¤Ç¤¹¤«?
13.9. PnP ISA ¥«¡¼¥É¤Î¸¡½Ð¤È½é´ü²½¤Ï¤É¤Î¤è¤¦¤Ë¹Ô¤Ê¤¦¤Î¤Ç¤¹¤«?
13.10. FreeBSD ¤Ï¡¢Â¾¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤ò¥µ¥Ý¡¼¥È¤·¤Ê¤¤¤ó¤Ç¤¹¤«?
13.11. ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤ò³«È¯¤·¤¿¤Î¤Ç¡¢¥á¥¸¥ã¡¼Èֹ椬Íߤ·¤¤¤Î¤Ç¤¹¤¬¡£
13.12. ÂåÂؤΥǥ£¥ì¥¯¥È¥êÇÛÃ֥ݥꥷ¡¼
13.13. ¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤òºÇÂç¸Â¤ËÍøÍѤ¹¤ë
13.14. dlsym() ¤¬ ELF ¼Â¹Ô·Á¼°¤Ç¤ÏÆ°ºî¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹!
13.15. ¥«¡¼¥Í¥ë¥¢¥É¥ì¥¹¶õ´Ö¤òÂ礭¤¯¤·¤¿¤ê¡¢ ¾®¤µ¤¯¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤¹¤«?

13.1. SNAP ¤È¤« RELEASE ¤È¤«¤Ï²¿?

¸½ºß¡¢FreeBSD ¤Î CVS ¥ê¥Ý¥¸¥È¥ê ¤Ë¤Ï¡¢»°¤Ä¤Î¥¢¥¯¥Æ¥£¥Ö/½à¥¢¥¯¥Æ¥£¥Ö¤Ê¥Ö¥é¥ó¥Á¤¬¤¢¤ê¤Þ¤¹ (¥¢¥¯¥Æ¥£¥Ö¤Ê³«È¯¥Ö¥é¥ó¥Á¤Ï»°¤Ä¤·¤«Â¸ºß¤·¤Ê¤¤¤¿¤á¡¢ ¤ª¤½¤é¤¯ RELENG_2 ¥Ö¥é¥ó¥Á¤ÎÊѹ¹¤Ïǯ¤Ë 2 ²ó¤À¤±¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦)¡£

  • RELENG_2_2 Ä̾Π2.2-STABLE

  • RELENG_3 Ä̾Π3.X-STABLE

  • RELENG_4 Ä̾Π4-STABLE

  • HEAD Ä̾Π-CURRENT ¤¢¤ë¤¤¤Ï 5.0-CURRENT

HEAD ¤Ï¾¤ÎÆó¤Ä¤È°ã¤Ã¤Æ¡¢ ¼ÂºÝ¤Î¥Ö¥é¥ó¥Á¥¿¥°¤Ç¤Ï¤Ê¤¯¡¢ ¡Öcurrent¡¢ ʬ´ô¤·¤Æ¤¤¤Ê¤¤³«È¯ËÜή¡×¤Î¤¿¤á¤Îñ¤Ê¤ë¥·¥ó¥Ü¥ê¥Ã¥¯¤ÊÄê¿ô¤Ç¤¹¡£ »ä¤¿¤Á¤Ï¤³¤ì¤ò -CURRENT ¤È¸Æ¤ó¤Ç¤¤¤Þ¤¹¡£

¸½ºß¡¢ “-CURRENT” ¤Ï 5.0 ¤Î³«È¯ËÜή¤Ç¤¢¤ê¡¢ 4.0-STABLE ¥Ö¥é¥ó¥Á¡¢ ¤Ä¤Þ¤ê RELENG_4 ¤Ï 2000 ǯ 3 ·î¤Ë “-CURRENT” ¤«¤éʬ´ô¤·¤Æ¤¤¤Þ¤¹¡£

2.2-STABLE ¥Ö¥é¥ó¥Á¡¢ RELENG_2_2 ¤Ï 1996 ǯ 11 ·î¤Ë “-CURRENT” ¤«¤éʬ´ô¤·¤Þ¤·¤¿¡£ ¤³¤ì¤ÏÊݼ餬´°Á´¤Ë½ªÎ»¤·¤Æ¤¤¤Þ¤¹¡£

13.2. ¼«Ê¬ÍѤΥ«¥¹¥¿¥à¥ê¥ê¡¼¥¹¤ò¹½ÃÛ¤¹¤ë¤Ë¤Ï?

¥ê¥ê¡¼¥¹¤ò¹½ÃÛ¤¹¤ë¤Ë¤Ï»°¤Ä¤Î¤³¤È¤¬É¬ÍפǤ¹¡£¤Þ¤º¡¢ vn(4) ¥É¥é¥¤¥Ð¤¬ÁȤ߹þ¤Þ¤ì¤¿¥«¡¼¥Í¥ë¤ò¼Â¹Ô¤µ¤»¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ °Ê²¼¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ì¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ËÄɲä·¡¢ ¥«¡¼¥Í¥ë¤òºî¤êľ¤·¤Æ¤¯¤À¤µ¤¤¡£

pseudo-device vn         #Vnode driver (turns a file into a device)

¼¡¤Ë¡¢CVS ¥ê¥Ý¥¸¥È¥êÁ´ÂΤò¼ê¸µ¤Ë¤ª¤¤¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤òÆþ¼ê¤¹¤ë¤Ë¤Ï CVSUP ¤¬»ÈÍѤǤ­¤Þ¤¹¤¬¡¢supfile ¤Ç release ¤Î̾¾Î¤ò cvs ¤Ë¤·¤Æ ¾¤Î¥¿¥°¤ä date ¥Õ¥£¡¼¥ë¥É¤òºï½ü¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

*default prefix=/home/ncvs
*default base=/a
*default host=cvsup.FreeBSD.org
*default release=cvs
*default delete compress use-rel-suffix

## Main Source Tree
src-all
src-eBones
src-secure

# Other stuff
ports-all
www
doc-all

¤½¤·¤Æ cvsup -g supfile ¤ò¼Â¹Ô¤·¤Æ¼«Ê¬¤Î¥Þ¥·¥ó¤Ë CVS ¥ê¥Ý¥¸¥È¥êÁ´ÂΤò¥³¥Ô¡¼¤·¤Þ¤¹¡Ä¡£

ºÇ¸å¤Ë¡¢¥Ó¥ë¥ÉÍѤˤ«¤Ê¤ê¤Î¶õ¤­Îΰè¤òÍÑ°Õ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò /some/big/filesystem ¤È¤·¤Æ¡¢ ¾å¤ÎÎã¤Ç CVS ¥ê¥Ý¥¸¥È¥ê¤ò /home/ncvs ¤ËÃÖ¤¤¤¿¤â¤Î¤È¤¹¤ë¤È¡¢ °Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¥ê¥ê¡¼¥¹¤ò¹½ÃÛ¤·¤Þ¤¹¡£

# setenv CVSROOT /home/ncvs
 # or export CVSROOT=/home/ncvs
# cd /usr/src
# make buildworld
# cd /usr/src/release
# make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/release
     

注意: ¤¿¤À¤·¡¢¤¹¤Ç¤Ë /usr/obj °Ê²¼¤Ë¹½ÃÛʪ¤¬Â¸ºß¤·¤Æ¤¤¤ë¤Ê¤é¡¢buildworld ¤ÎɬÍפϤ¢¤ê¤Þ¤»¤ó¡£

½èÍý¤¬½ªÎ»¤¹¤ë¤È¡¢ ¥ê¥ê¡¼¥¹Á´ÂΤ¬ /some/big/filesystem/release ¤Ë¹½ÃÛ¤µ¤ì¡¢´°Á´¤Ê FTP ¥¤¥ó¥¹¥È¡¼¥ëÍѤÎÇÛÉÛʪ¤¬ /some/big/filesystem/release/R/ftp ¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£ -current °Ê³°¤Î³«È¯¥Ö¥é¥ó¥Á¤Î SNAP ¤ò¼«Ê¬¤Ç¹½ÃÛ¤·¤¿¤¤¾ì¹ç¤Ï¡¢ RELEASETAG=SOMETAG ¤ò¾å¤Î make release ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤ËÄɲä·¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢RELEASETAG=RELENG_2_2 ¤È¤¹¤ë¤ÈºÇ¿·¤Î 2.2-STABLE snapshot ¤¬¹½ÃÛ¤µ¤ì¤Þ¤¹¡£

13.3. ¥«¥¹¥¿¥à¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥¹¥¯¤òºî¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤¹¤«?

/usr/src/release/Makefile ¤Î¤¤¤í¤¤¤í¤Ê¥¿¡¼¥²¥Ã¥È¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥¹¥¯¡¢ ¥½¡¼¥¹¡¢¥Ð¥¤¥Ê¥ê¥¢¡¼¥«¥¤¥Ö¤òºî¤ë´°Á´¤Ê½èÍý¤ò¼«Æ°Åª¤Ë¹Ô¤Ê¤¦¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ Makefile ¤Ë½½Ê¬¤Ê¾ðÊ󤬤¢¤ê¤Þ¤¹¡£ ¤·¤«¤·¡¢¼Â¹Ô¤Ë¤Ï “make world” ¤¬É¬Íפǡ¢ ¿¤¯¤Î»þ´Ö¤È¥Ç¥£¥¹¥¯¤ÎÍÆÎ̤¬É¬ÍפǤ¹¡£

13.4. “make world” ¤ò¹Ô¤Ê¤¦¤È´û¸¤Î¥Ð¥¤¥Ê¥ê¤ò¾å½ñ¤­¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¤¬¡£

¤¨¤¨¡¢¤½¤ì¤¬°ìÈÌŪ¤Ê¹Í¤¨Êý¤Ç¤¹¡£Ì¾Á°¤¬¼¨¤·¤Æ¤¤¤ë¤è¤¦¤Ë “make world” ¤Ï¤¹¤Ù¤Æ¤Î¥·¥¹¥Æ¥à¤Î¥Ð¥¤¥Ê¥ê¤òºÇ½é¤«¤éºî¤êľ¤·¤Þ¤¹¤Î¤Ç¡¢·ë²Ì¤È¤·¤Æ¡¢ ¥¯¥ê¡¼¥ó¤Ç°ì´ÓÀ­¤Î¤¢¤ë´Ä¶­¤òÆÀ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ (¤³¤ì¤¬¤½¤ì¤À¤±Ä¹¤¤»þ´Ö¤¬¤«¤«¤ëÍýͳ¤Ç¤¹)¡£

´Ä¶­ÊÑ¿ô DESTDIR ¤ò “make world” ¤ä “make install” ¤ò¼Â¹Ô¤¹¤ë»þ¤ËÄêµÁ¤·¤Æ¤ª¤¯¤È¡¢¿·¤·¤¯ºî¤é¤ì¤¿¥Ð¥¤¥Ê¥ê¤Ï ${DESTDIR}¤ò root ¤È¤ß¤Ê¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¥Ä¥ê¡¼¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£ ¤¢¤ë¤Ç¤¿¤é¤á¤Ê¶¦Í­¥é¥¤¥Ö¥é¥ê¤ÎÊѹ¹¤ä¥×¥í¥°¥é¥à¤ÎºÆ¹½Ãۤˤè¤Ã¤Æ “make world” ¤Ï¼ºÇÔ¤¹¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£

13.5. ¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë “(bus speed defaulted)” ¤È¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Þ¤¹¡£

Adaptec ¤Î 1542 SCSI ¥Û¥¹¥È¥¢¥À¥×¥¿¤Ï¡¢ ¥æ¡¼¥¶¤¬¥½¥Õ¥È¥¦¥§¥¢Åª¤Ë¥Ð¥¹¥¢¥¯¥»¥¹Â®ÅÙ¤ÎÀßÄê¤ò¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î 1542 ¥É¥é¥¤¥Ð¤Ï¡¢ »ÈÍѲÄǽ¤ÊºÇÂç¤Î®ÅÙ¤òµá¤á¤Æ¥¢¥À¥×¥¿¤ò¤½¤ÎÀßÄê¤Ë¤·¤è¤¦¤È¤·¤Þ¤·¤¿¡£ ¤³¤ì¤ÏÆÃÄê¤Î¥æ¡¼¥¶¤Î¥·¥¹¥Æ¥à¤Ç¤ÏÌäÂ꤬¤¢¤ë»ö¤¬¤ï¤«¤ê¡¢ ¸½ºß¤Ç¤Ï¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥ª¥×¥·¥ç¥ó¤Ë “TUNE_1542” ¤¬²Ã¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¡¢¤³¤ì¤¬Æ¯¤¯¥·¥¹¥Æ¥à¤Ç¤Ï¥Ç¥£¥¹¥¯¤¬Â®¤¯¤Ê¤ê¤Þ¤¹¤¬¡¢ ¥Ç¡¼¥¿¤Î¾×Æͤ¬µ¯¤­¤Æ®¤¯¤Ï¤Ê¤é¤Ê¤¤¥·¥¹¥Æ¥à¤â¤¢¤ë¤Ç¤·¤ç¤¦

13.6. ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥¢¥¯¥»¥¹¤ËÀ©¸Â¤¬¤¢¤Ã¤Æ¤â current ¤òÄɤ¤¤«¤±¤é¤ì¤Þ¤¹¤«?

¤Ï¤¤¡¢ CTM ¥·¥¹¥Æ¥à ¤ò»È¤Ã¤Æ¡¢ ¥½¡¼¥¹¥Ä¥ê¡¼Á´ÂΤΥÀ¥¦¥ó¥í¡¼¥É¤ò¹Ô¤Ê¤ï¤º¤ËÄɤ¤¤«¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

13.7. ¤É¤Î¤è¤¦¤Ë¤·¤ÆÇÛÉÛ¥Õ¥¡¥¤¥ë¤ò 240KB ¤Ëʬ³ä¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤«?

Èæ³ÓŪ¿·¤·¤¤ BSD ¥Ù¡¼¥¹¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ split ¤ËǤ°Õ¤Î¥Ð¥¤¥È¶­³¦¤Çʬ³ä¤¹¤ë “-b” ¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£

°Ê²¼¤Ï /usr/src/Makefile ¤«¤é¤ÎÎã¤Ç¤¹¡£

bin-tarball:
              (cd ${DISTDIR}; \
              tar cf - . \
              gzip --no-name -9 -c | \
              split -b 240640 - \
              ${RELEASEDIR}/tarballs/bindist/bin_tgz.)

13.8. »ä¤Ï¥«¡¼¥Í¥ë¤Ë³ÈÄ¥¤ò¹Ô¤Ê¤¤¤Þ¤·¤¿¡£ ï¤ËÁ÷¤ì¤Ð¤¤¤¤¤Ç¤¹¤«?

FreeBSD ¥Ï¥ó¥É¥Ö¥Ã¥¯¤Î¡ÖFreeBSD ¤Ø¤Î¹×¸¥¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¤¢¤Ê¤¿¤Î¥¢¥¤¥Ç¥£¥¢¤Ë´¶¼Õ¤·¤Þ¤¹!

13.9. PnP ISA ¥«¡¼¥É¤Î¸¡½Ð¤È½é´ü²½¤Ï¤É¤Î¤è¤¦¤Ë¹Ô¤Ê¤¦¤Î¤Ç¤¹¤«?

Frank Durda IV »á ¤è¤ê:

Í×ÅÀ¤Ï¡¢¥Û¥¹¥È¤¬Ç§¼±¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ü¡¼¥É¤òõ¤¹»þ¤Ë¡¢¤¹¤Ù¤Æ¤Î PnP ¥Ü¡¼¥É¤¬±þÅú¤¹¤ë¤³¤È¤Î¤Ç¤­¤ë¾¯¿ô¤Î I/O ¥Ý¡¼¥È¤¬¤¢¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ ¤½¤ì¤Ë¤è¤ê¡¢PnP ¥×¥í¡¼¥Ö¥ë¡¼¥Á¥ó¤¬³«»Ï¤·¤¿¤È¤­¡¢PnP ¥Ü¡¼¥É¤¬Â¸ºß¤¹¤ë¤Ê¤é¡¢¤¹¤Ù¤Æ¤Î PnP ¥Ü¡¼¥É¤Ï¼«Ê¬¤Î¥â¥Ç¥ëÈÖ¹æ¤òÊÖ¤·¤Þ¤¹¡£ ¤½¤Î¥Ý¡¼¥È¤ò I/O read ¤¹¤ë¤È¥×¥í¡¼¥Ö¥ë¡¼¥Á¥ó¤ÏÌ䤤¤ËÂФ¹¤ë¥ï¥¤¥¢¡¼¥É-OR ¤µ¤ì¤¿ “yes” ¤òÆÀ¤Þ¤¹¡£¤³¤Î¾ì¹ç¤Ï ¾¯¤Ê¤¯¤È¤â 1 ¥Ó¥Ã¥È¤¬ ON ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤½¤·¤Æ¡¢¥×¥í¡¼¥Ö¥ë¡¼¥Á¥ó¤Ï¥â¥Ç¥ë ID (Microsoft/Intel ¤Ë¤è¤Ã¤Æ³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Þ¤¹)¤¬ X ¤è¤ê¾®¤µ¤¤¥Ü¡¼¥É¤ò “¥ª¥Õ¥é¥¤¥ó” ¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤³¤ÎÁàºî¤ò¹Ô¤Ê¤¤¡¢Ì䤤¹ç¤ï¤»¤Ë±þÅú¤·¤Æ¤¤¤ë¥Ü¡¼¥É¤¬¤Þ¤À »Ä¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¤Þ¤¹¡£ ¤â¤· “0” ¤¬Ê֤äƤ¯¤ë¤Ê¤é X ¤è¤êÂ礭¤Ê ID ¤ò»ý¤Ä¥Ü¡¼¥É¤Ï¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ º£ÅÙ¤Ï “X” ¤è¤ê¤â¾®¤µ¤ÊÃͤò»ý¤Ä¥Ü¡¼¥É¤Ë¤Ä¤¤¤ÆÌ䤤¹ç¤ï¤»¤Þ¤¹¡£ ¤â¤·¤¢¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥×¥í¡¼¥Ö¥ë¡¼¥Á¥ó¤Ï¥â¥Ç¥ëÈֹ椬 X ¤è¤ê¾®¤µ¤¤¤³¤È¤òÃΤê¤Þ¤¹¡£ º£Å٤ϡ¢X-(limit/4) ¤è¤êÂ礭¤ÊÃͤò»ý¤Ä¥Ü¡¼¥É¤ò¥ª¥Õ¥é¥¤¥ó¤Ë¤·¤ÆÌ䤤¹ç¤ï¤»¤ò·«¤êÊÖ¤·¤Þ¤¹¡£ ¤³¤Î ID ¤ÎÈϰϤˤè¤ë½à¥Ð¥¤¥Ê¥ê¥µ¡¼¥Á¤ò½½Ê¬·«¤êÊÖ¤¹¤³¤È¤Ë¤è¤ê¡¢ ¥×¥í¡¼¥Ö¥ë¡¼¥Á¥ó¤Ï¥Þ¥·¥ó¤Ë¸ºß¤¹¤ë¤¹¤Ù¤Æ¤Î PnP ¥Ü¡¼¥É¤ÎÃͤòºÇ½ªÅª¤ËÆÀ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î·«¤êÊÖ¤·¤Î²ó¿ô¤Ï 2^64 ¤è¤ê¤Ï¤ë¤«¤Ë¾¯¤Ê¤¤²ó¿ô¤Ç¤¹¡£

ID ¤ÏÆó¤Ä¤Î 32-bit (¤Ä¤Þ¤ê 64bit) ¥Õ¥£¡¼¥ë¥É + 8 bit ¥Á¥§¥Ã¥¯¥µ¥à¤«¤é¤Ê¤ê¤Þ¤¹¡£ºÇ½é¤Î 32 bits ¤Ï¥Ù¥ó¥À¤Î¼±Ê̻ҤǤ¹¡£ ¤³¤ì¤Ï¸øɽ¤µ¤ì¤Æ¤Ï¤¤¤Þ¤»¤ó¤¬¡¢ Ʊ°ì¤Î¥Ù¥ó¥À¤«¤é¶¡µë¤µ¤ì¤Æ¤¤¤ë°Û¤Ê¤ë¥¿¥¤¥×¤Î¥Ü¡¼¥É¤Ç¤Ï°Û¤Ê¤ë 32-bit ¥Ù¥ó¥À ID ¤ò»ý¤Ä¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¹Í¤¨¤é¤ì¤Þ¤¹¡£ À½Â¤¸µ¤òÆÃÄꤹ¤ë¤À¤±¤Î¤¿¤á¤Ë 32-bit ¤Ï¤¤¤¯¤é¤«²á¾ê¤Ç¤¹¡£

²¼°Ì¤Î 32-bit ¤Ï¥·¥ê¥¢¥ëÈֹ桢 ¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹¤Ê¤É¤Î¥Ü¡¼¥É¤òÆÃÄꤹ¤ë¤â¤Î¤Ç¤¹¡£ ¥Ù¥ó¥À¤Ï¾å°Ì 32 bits ¤¬°Û¤Ê¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ ²¼°Ì 32-bit ¤¬Æ±°ì¤Ç¤¢¤ë 2ËçÌܤΥܡ¼¥É¤òÀ½Â¤¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢Æ±¤¸¥¿¥¤¥×¤ÎÊ£¿ô¤Î¥Ü¡¼¥É¤ò¥Þ¥·¥ó¤Ë¤¤¤ì¤ë¤³¤È¤¬¤Ç¤­¡¢ ¤³¤Î¾ì¹ç¤Ç¤â 64-bit Á´ÂΤǤϥæ¥Ë¡¼¥¯¤Ç¤¹¡£

32-bit ¤Î¥Õ¥£¡¼¥ë¥É¤Ï¤¹¤Ù¤Æ¤ò 0 ¤Ë¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ ¤³¤ì¤Ï½é´ü²½¤Î¥Ð¥¤¥Ê¥ê¥µ¡¼¥Á¤Î´Ö¥ï¥¤¥¢¡¼¥É-OR ¤Ë¤è¤Ã¤Æ 0 ¤Ç¤Ï¤Ê¤¤ ¥Ó¥Ã¥È¤ò»²¾È¤¹¤ë¤«¤é¤Ç¤¹¡£

¥·¥¹¥Æ¥à¤¬¤¹¤Ù¤Æ¤Î¥Ü¡¼¥É¤ÎÍ¿¤¨¤é¤ì¤¿ ID ¤òǧ¼±¤¹¤ë¤È¡¢ ¤½¤ì¤¾¤ì¤Î¥Ü¡¼¥É¤ËÂбþ¤·¤¿½èÍý¤ò°ì¤Ä¤º¤Ä (Ʊ°ì¤Î I/O ¥Ý¡¼¥È¤òÄ̤·¤Æ) ¹Ô¤Ê¤¤¤Þ¤¹¡£ ¤½¤·¤Æ¡¢ÍøÍѤǤ­¤ë³ä¤ê¹þ¤ß¤ÎÁªÂò¤Ê¤É¤Î¥Ü¡¼¥É¤¬É¬ÍפȤ¹¤ë¥ê¥½¡¼¥¹¤ò¸¡½Ð¤·¤Þ¤¹¡£ ¤¹¤Ù¤Æ¤Î¥Ü¡¼¥É¤Ë¤Ä¤¤¤Æ¤³¤Î¾ðÊó¤ò½¸¤á¤Þ¤¹¡£

¤³¤Î¾ðÊó¤Ï¥Ï¡¼¥É¥Ç¥£¥¹¥¯¾å¤Î ECU ¥Õ¥¡¥¤¥ë¤Ê¤É¤Î¾ðÊó¤È¤Þ¤È¤á¤é¤ì¡¢ ¥Þ¥¶¡¼¥Ü¡¼¥É¤Î BIOS ¤Ë¤â·ë¹ç¤µ¤ì¤Þ¤¹¡£ ¥Þ¥¶¡¼¥Ü¡¼¥É¾å¤Î¥Ï¡¼¥É¥¦¥§¥¢¤Ø¤Î ECU ¤È BIOS PnP ¤Î¥µ¥Ý¡¼¥È¤ÏÄ̾ï¤ÏÅý¹ç¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢ ¼þÊÕµ¡´ï¤Ë¤Ä¤¤¤Æ¤Ï¿¿¤Î PnP¤Ç¤¢¤ë¤È¤Ï¤¤¤¨¤Þ¤»¤ó¡£ ¤·¤«¤·¡¢BIOS ¤Î¾ðÊó¤Ë ECU ¤Î¾ðÊó¤ò²Ã¤¨¤ÆÄ´ºº¤¹¤ë¤³¤È¤Ç¡¢ ¥×¥í¡¼¥Ö¥ë¡¼¥Á¥ó¤Ï PnP ¥Ç¥Ð¥¤¥¹¤¬ºÆÇÛÃ֤Ǥ­¤Ê¤¯¤Ê¤ë¤³¤È¤òÈò¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤½¤ì¤«¤é¡¢ºÆÅÙ PnP ¥Ç¥Ð¥¤¥¹¤Ë¥¢¥¯¥»¥¹¤·¡¢I/O¡¢DMA¡¢IRQ¡¢ ¥á¥â¥ê¥Þ¥Ã¥×¥¢¥É¥ì¥¹¤ÎÀßÄê¤ò¤·¤Þ¤¹¡£ ¥Ç¥Ð¥¤¥¹¤Ï¤³¤Î¥¢¥É¥ì¥¹¤Ë¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¡¢ ¼¡¤ËºÆµ¯Æ°¤¹¤ë¤Þ¤Ç¤³¤Î°ÌÃÖ¤òÀê¤á¤Þ¤¹¡£¤·¤«¤·¡¢ ¤¢¤Ê¤¿¤Î˾¤à»þ¤Ë°ÜÆ°¤µ¤»¤ë¤³¤È¤¬ÉÔ²Äǽ¤Ç¤¢¤ë¡¢ ¤È¤¤¤Ã¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

°Ê¾å¤ÎÏäǤÏÂ礭¤¯Ã±½ã²½¤ò¤·¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢ ´ðËÜŪ¤Ê¹Í¤¨Êý¤ÏÆÀ¤é¤ì¤¿¤Ç¤·¤ç¤¦¡£

¥Þ¥¤¥¯¥í¥½¥Õ¥È¤Ï¡¢¥Ü¡¼¥É¤Î¥í¥¸¥Ã¥¯¤¬ÂÐΩ¤¹¤ë I/O ¥µ¥¤¥¯¥ë¤Ç¤Ï¥Ç¥³¡¼¥É¤·¤Æ¤¤¤Ê¤¤ (ÌõÃí: ¤ª¤½¤é¤¯ read »þ¤·¤«¥Ç¥³¡¼¥É¤µ¤ì¤Æ¤¤¤º write »þ¤Ï¥Ý¡¼¥È¤¬¶õ¤¤¤Æ¤¤¤ë¤È¤¤¤¦°ÕÌ£¤Ç¤·¤ç¤¦)¡¢ ¥×¥é¥¤¥Þ¥ê¥×¥ê¥ó¥¿¤Î¥¹¥Æ¡¼¥¿¥¹¥Ý¡¼¥È¤Î¤¤¤¯¤Ä¤«¤ò PnP ¤Î¤¿¤á¤ËÀêÍ­¤·¤Þ¤·¤¿¡£ »ä¤Ï½é´ü¤Î PnP ¤ÎÄó°Æ¥ì¥Ó¥å¡¼»þ¤Ë IBM ½ãÀµ¤Î¥×¥ê¥ó¥¿¥Ü¡¼¥É¤Ç¥¹¥Æ¡¼¥¿¥¹¥Ý¡¼¥È¤Î write ¤Î¥Ç¥³¡¼¥É¤¬¤µ¤ì¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ëµ¤¤¬¤Ä¤­¤Þ¤·¤¿¤¬¡¢ MS ¤Ï “tough (´è¸Ç¡¢ÉÔ±¿¡¢ÌµË¡¤Ê)” ¤È¸À¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤½¤·¤Æ¥×¥ê¥ó¥¿¤Î¥¹¥Æ¡¼¥¿¥¹¥Ý¡¼¥È¤Ø¥¢¥É¥ì¥¹¤ÎÀßÄê¤Î¤¿¤á¤Ë write ¤ò¹Ô¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢ ¤½¤Î¥¢¥É¥ì¥¹ + 0x800 ¤È read ¤Î¤¿¤á¤Î 3ÈÖÌܤΠI/O ¥Ý¡¼¥È¤¬ 0x200 ¤«¤é 0x3ff ¤Î´Ö¤Î¤É¤³¤«¤ËÃÖ¤«¤ì¤ë¤Ç¤·¤ç¤¦¡£

13.10. FreeBSD ¤Ï¡¢Â¾¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤ò¥µ¥Ý¡¼¥È¤·¤Ê¤¤¤ó¤Ç¤¹¤«?

¤¤¤¯¤Ä¤«¤Î¥°¥ë¡¼¥×¤Î¿Í¡¹¤¬¡¢FreeBSD ¤Î¾¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ø¤Î°Ü¿¢¤Ë´Ø¿´¤ò¼¨¤·¤Æ¤ª¤ê¡¢ FreeBSD/AXP (ALPHA) ¤Ï¤³¤ì¤é¤ÎÀ®²Ì¤È¤·¤Æ¤Ï¤È¤Æ¤âÀ®¸ù¤·¤¿¤â¤Î¤Î°ì¤Ä¤Ç¤¹¡£ FreeBSD/AXP ¤Ï¸½ºß ftp://ftp.FreeBSD.org/pub/FreeBSD/alpha ¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£ ALPHA ¤Ø¤Î°Ü¿¢ÈǤ¬¸½ºßÆ°¤¯µ¡¼ï¤ÏÁý¤¨¤Ä¤Ä¤¢¤ê¡¢ ¤½¤ÎÃæ¤Ë¤Ï AlphaStation¡¢AXPpci¡¢PC164¡¢Miata ¤½¤·¤Æ Multia ¤È¤¤¤Ã¤¿¥â¥Ç¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ¸½¾õ¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òÆÀ¤ë¤Ë¤Ï ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë»²²Ã¤·¤Æ¤¯¤À¤µ¤¤¡£

¤½¤Î¾¤Ë FreeBSD ¤Î SPARC ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ø¤Î°Ü¿¢¤¬¤¢¤ê¤Þ¤¹¡£ ¥×¥í¥¸¥§¥¯¥È¤Ø¤Î»²²Ã¤Ë¶½Ì£¤¬¤¢¤ëÊý¤Ï ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤Ë»²²Ã¤·¤Æ¤¯¤À¤µ¤¤¡£ ¿Ê¹ÔÃæ¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¤Î¥ê¥¹¥È¤Ë¤â¤Ã¤È¤âºÇ¶áÄɲ䵤줿¤Î¤¬ IA-64 ¤È PowerPC¤Ç¤¹¡£¾ÜºÙ¤Ï ¤ª¤è¤Ó/¤¢¤ë¤¤¤Ï ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë»²²Ã¤·¤Æ¤¯¤À¤µ¤¤¡£ ¿·¤·¤¤¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë´Ø¤¹¤ë°ìÈÌŪ¤ÊµÄÏÀ¤Ë¤Ä¤¤¤Æ¤Ï ¿·¤·¤¤¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë´Ø¤¹¤ë°ìÈÌŪ¤ÊµÄÏÀ¤Ë¤Ä¤¤¤Æ¤Ï ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤Ø»²²Ã¤·¤Æ¤¯¤À¤µ¤¤¡£

13.11. ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤ò³«È¯¤·¤¿¤Î¤Ç¡¢¥á¥¸¥ã¡¼Èֹ椬Íߤ·¤¤¤Î¤Ç¤¹¤¬¡£

¤³¤ì¤Ï¡¢³«È¯¤·¤¿¥É¥é¥¤¥Ð¤ò¸ø³«¤¹¤ë¤«¤É¤¦¤«¤Ë°Í¸¤·¤Þ¤¹¡£ ¸ø³«¤¹¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢¥É¥é¥¤¥Ð¤Î¥½¡¼¥¹¥³¡¼¥É¡¢ files.i386 ¤ÎÊѹ¹¡¢ ¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë¡¢ ¥Ç¥Ð¥¤¥¹¤¬»È¤¦¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë MAKEDEV(8) ¤Î¥³¡¼¥É¤ò»ä¤¿¤Á¤ËÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¸ø³«¤¹¤ë¤Ä¤â¤ê¤¬¤Ê¤¤¾ì¹ç¡¢¥é¥¤¥»¥ó¥¹¤ÎÌäÂê¤Ë¤è¤ê¸ø³«¤Ç¤­¤Ê¤¤¾ì¹ç¤Ï¡¢ ¥­¥ã¥é¥¯¥¿¥á¥¸¥ã¡¼ÈÖ¹æ 32 ¤ª¤è¤Ó¡¢ ¥Ö¥í¥Ã¥¯¥á¥¸¥ã¡¼ÈÖ¹æ 8 ¤¬¤³¤Î¤è¤¦¤ÊÌÜŪ¤Î¤¿¤á¤ËͽÌ󤵤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÈÖ¹æ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ ¤É¤Á¤é¤Î¾ì¹ç¤Ç¤¢¤ì¡¢¥É¥é¥¤¥Ð¤Ë´Ø¤¹¤ë¾ðÊó¤ò FreeBSD technical discussions ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È ¤Ëή¤·¤Æ失¤ë¤È½õ¤«¤ê¤Þ¤¹¡£

13.12. ÂåÂؤΥǥ£¥ì¥¯¥È¥êÇÛÃ֥ݥꥷ¡¼

¸½ºß»È¤ï¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ÎÇÛÃ֥ݥꥷ¡¼¤Ï¡¢ »ä¤¬ 1983 ǯ¤Ë½ñ¤¤¤¿¤â¤Î¤«¤éÁ´¤¯Êѹ¹¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ »ä¤ÏÅö½é¤ÎÇÛÃ֥ݥꥷ¡¼¤ò¡¢¥ª¥ê¥¸¥Ê¥ë¤Î fast filesystem ¤Î¤¿¤á¤Ë½ñ¤­¡¢ ¤Þ¤Ã¤¿¤¯²þÄꤷ¤Æ¤¤¤Þ¤»¤ó¡£ ¤³¤Î¥Ý¥ê¥·¡¼¤Ï¥·¥ê¥ó¥À¥°¥ë¡¼¥×¤ò»È¤¤¿Ô¤¯¤¹¤Î¤òËɤ°¤Ë¤Ï¤¦¤Þ¤¯¤¤¤­¤Þ¤·¤¿¤¬¡¢ ¤ªµ¤¤Å¤­¤ÎÊý¤â¤¤¤ëÄ̤ê find ¤ÎÆ°ºî¤Ë¤ÏÉÔŬÀڤǤ¹¡£ ¤Û¤È¤ó¤É¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÆâÍƤϡ¢ ¿¼¤µÍ¥À踡º÷ (ftw ¤È¤â¸Æ¤Ð¤ì¤Þ¤¹) ¤Ë¤è¤Ã¤Æºî¤é¤ì¤¿¥¢¡¼¥«¥¤¥Ö¤«¤é¡¢ Ãê½Ð (restore) ¤·¤ÆºîÀ®¤µ¤ì¤Þ¤¹¡£¤³¤ÎºÝ¡¢ ¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢¥·¥ê¥ó¥À¥°¥ë¡¼¥×¤Ë¤Þ¤¿¤¬¤Ã¤ÆÇÛÃÖ¤µ¤ì¡¢ °Ê¹ß¤Î¿¼¤µÍ¥À踡º÷¤ò¹Ô¤¦¤Ë¤Ï¡¢ ¹Í¤¨ÆÀ¤ë¸Â¤êºÇ°­¤Î¾õÂ֤ˤʤê¤Þ¤¹¡£ ¤â¤·ºîÀ®¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ÎÁí¿ô¤¬¤ï¤«¤Ã¤Æ¤¤¤ì¤Ð¡¢ ²ò·èÊýË¡¤Ï¤¢¤ê¤Þ¤¹¡£(Áí¿ô/¥·¥ê¥ó¥À¥°¥ë¡¼¥×¿ô) ¸Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¡¢ ¥·¥ê¥ó¥À¥°¥ë¡¼¥×¤´¤È¤Ë¤Þ¤È¤á¤ÆºîÀ®¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤¹¡£ ¤â¤Á¤í¤óºÇŬ¤Ê¥Ç¥£¥ì¥¯¥È¥êÇÛÃ֤ˤʤë¤è¤¦¤Ë¡¢ Áí¿ô¤òͽ¬¤¹¤ëÊýË¡¤ò¹Í¤¨¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤·¤«¤·²¾¤Ë¥·¥ê¥ó¥À¥°¥ë¡¼¥×¤¢¤¿¤ê¤Î¥Ç¥£¥ì¥¯¥È¥ê¿ô¤ò 10 ¤¯¤é¤¤¤Î¾®¤µ¤Ê¿ô¤Ë¸ÇÄꤷ¤Æ¤·¤Þ¤Ã¤¿¤È¤·¤Æ¤â¡¢ ÂçÉý¤Ê²þÁ±¤¬Ë¾¤á¤ë¤Ç¤·¤ç¤¦¡£ ¤³¤Î¥Ý¥ê¥·¡¼¤òÍѤ¤¤ë¤Ù¤­¥ê¥¹¥È¥¢ºî¶È¤ò¡¢Ä̾ï¤Îºî¶È (¤ª¤½¤é¤¯´û¸¤Î¥Ý¥ê¥·¡¼¤ò»ÈÍѤ·¤¿¤Û¤¦¤¬Îɤ¤¤Ç¤·¤ç¤¦) ¤ò¶èÊ̤¹¤ë¤Ë¤Ï¡¢ 10 Éô֤δ֤˺îÀ®¤µ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤òºÇÂç 10 ¸Ä¤Þ¤Ç¤Þ¤È¤á¤Æñ°ì¤Î¥·¥ê¥ó¥À¥°¥ë¡¼¥×¤Ë½ñ¤­¹þ¤à¤È¤¤¤¦¼ê½ç¤¬»È¤¨¤ë¤Ç¤·¤ç¤¦¡£ ¤È¤Ë¤«¤¯»ä¤Î·ëÏÀ¤Ï¡¢¤½¤í¤½¤í¼Â¸³¤ò»Ï¤á¤Æ¸«¤ë»þ´ü¤À¤í¤¦¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

13.13. ¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤òºÇÂç¸Â¤ËÍøÍѤ¹¤ë

注意: ¤³¤ÎÀá¤Ï¡¢freebsd-current ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë Bill Paul »á¤¬Åê¹Æ¤·¤¿¥á¡¼¥ë¤ò¡¢ Dag-Erling C. Smørgrav »á¤¬¹»Àµ¤·¡¢[] Æâ¤Î¥³¥á¥ó¥È¤òÄɲ䷤ưúÍѤ·¤¿¤â¤Î¤Ç¤¹¡£



From: Bill Paul <wpaul@skynet.ctr.columbia.edu>
Subject: Re: the fs fun never stops
To: ben@rosengart.com
Date: Sun, 20 Sep 1998 15:22:50 -0400 (EDT)
Cc: current@FreeBSD.ORG

[<ben@rosengart.com> ¤¬°Ê²¼¤Î¥Ñ¥Ë¥Ã¥¯¥á¥Ã¥»¡¼¥¸¤òÅê¹Æ¤·¤Þ¤·¤¿¡£]

> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x40
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xf014a7e5
                                ^^^^^^^^^^
> stack pointer           = 0x10:0xf4ed6f24
> frame pointer           = 0x10:0xf4ed6f28
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 80 (mount)
> interrupt mask          =
> trap number             = 12
> panic: page fault

¤³¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤¿¾ì¹ç¡¢ÌäÂ꤬µ¯¤­¤ë¾õ¶·¤ò³Îǧ¤·¤Æ¡¢ ¾ðÊó¤òÁ÷¤ë¤À¤±¤Ç¤Ï½½Ê¬¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ²¼Àþ¤ò¤Ä¤±¤¿Ì¿Îá¥Ý¥¤¥ó¥¿ÃͤϽÅÍפÊÃͤǤ¹¤¬¡¢ »ÄÇ°¤Ê¤¬¤é¤³¤ÎÃͤϹ½À®¤Ë°Í¸¤·¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ ¤³¤ÎÃͤϻȤäƤ¤¤ë¥«¡¼¥Í¥ë¤Î¥¤¥á¡¼¥¸¤Ë°Í¸¤¹¤ë¤Î¤Ç¤¹¡£ ¤â¤·¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤Ê¤É¤Î GENERIC ¥«¡¼¥Í¥ë¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¾¤Î¿Í´Ö¤¬ÌäÂê¤Î¤¢¤ë´Ø¿ô¤Ë¤Ä¤¤¤ÆÄÉ»î¤ò¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢ ¥«¥¹¥¿¥Þ¥¤¥º¤µ¤ì¤¿¥«¡¼¥Í¥ë¤Î¾ì¹ç¤Ï¡¢ »È¤Ã¤Æ¤¤¤ëËܿͤˤ·¤«ÌäÂê¤Îµ¯¤³¤Ã¤¿¾ì½ê¤ÏÆÃÄê¤Ç¤­¤Ê¤¤¤Î¤Ç¤¹¡£

²¿¤ò¤¹¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦?

  1. Ì¿Îá¥Ý¥¤¥ó¥¿Ãͤò¥á¥â¤·¤Þ¤¹¡£ 0x8: ¤È¤¤¤¦Éôʬ¤Ïº£²óɬÍפ¢¤ê¤Þ¤»¤ó¡£ ɬÍ×¤Ê¤Î¤Ï 0xf0xxxxxx ¤È¤¤¤¦Éôʬ¤Ç¤¹¡£

  2. ¥·¥¹¥Æ¥à¤¬ºÆµ¯Æ°¤·¤¿¤é¡¢°Ê²¼¤ÎÁàºî¤ò¹Ô¤¤¤Þ¤¹¡£

    % nm -n /kernel.that.caused.the.panic | grep f0xxxxxx
    
    ¤³¤³¤Ç¡¢f0xxxxxx ¤ÏÌ¿Îá¥Ý¥¤¥ó¥¿ÃͤǤ¹¡£ ¥«¡¼¥Í¥ë¥·¥ó¥Ü¥ë¤Î¥Æ¡¼¥Ö¥ë¤Ï´Ø¿ô¤Î¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È¤ò´Þ¤ß¡¢ Ì¿Îá¥Ý¥¤¥ó¥¿Ãͤϡ¢´Ø¿ôÆâÉô¤Î¤¢¤ëÅÀ¤Ç¤¢¤êºÇ½é¤ÎÅÀ¤Ç¤Ï¤Ê¤¤¤¿¤á¡¢ ¤³¤ÎÁàºî¤ò¹Ô¤Ã¤Æ¤â´°Á´¤Ë°ìÃפ¹¤ë¤â¤Î¤¬É½¼¨¤µ¤ì¤Ê¤¤¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤Ï¡¢ ºÇ¸å¤Î·å¤ò¾Ê¤¤¤Æ¤â¤¦¤¤¤Á¤É¤ä¤Ã¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
    % nm -n /kernel.that.caused.the.panic | grep f0xxxxx
    
    ¤³¤ì¤Ç¤â°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢ ·å¤ò¸º¤é¤·¤Ê¤¬¤é²¿¤é¤«¤Î½ÐÎϤ¬¤¢¤ë¤Þ¤Ç·«¤êÊÖ¤·¤Æ¤¯¤À¤µ¤¤¡£ ²¿¤«½ÐÎϤµ¤ì¤¿¤é¡¢ ¤½¤ì¤¬¥«¡¼¥Í¥ë¥Ñ¥Ë¥Ã¥¯¤ò°ú¤­µ¯¤³¤·¤¿²ÄǽÀ­¤Î¤¢¤ë´Ø¿ô¤Î¥ê¥¹¥È¤Ç¤¹¡£ ¤³¤ì¤Ï¡¢ÌäÂêÅÀ¤ò¸«ÉÕ¤±¤ëÀµ³Î¤ÊÊýË¡¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢²¿¤â¤Ê¤¤¤è¤ê¤Þ¤·¤Ç¤¹¡£

¤³¤Î¤è¤¦¤Ê¥Ñ¥Ë¥Ã¥¯¥á¥Ã¥»¡¼¥¸¤òÅê¹Æ¤·¤Æ¤¤¤ë¿Í¤Ï¤è¤¯¸«³Ý¤±¤Þ¤¹¤¬¡¢ ¤³¤Î¤è¤¦¤Ë¡¢Ì¿Îá¥Ý¥¤¥ó¥¿Ãͤò¡¢ ¥«¡¼¥Í¥ë¥·¥ó¥Ü¥ë¥Æ¡¼¥Ö¥ë¤ÎÃæ¤Î´Ø¿ô¤È¤Ä¤­¹ç¤ï¤»¤ÆÄ´¤Ù¤Æ¤¤¤ë¿Í¤Ï¤Þ¤ì¤Ç¤¹¡£

¥Ñ¥Ë¥Ã¥¯¤Î¸¶°ø¤òÆͤ­»ß¤á¤ëºÇÎɤÎÊýË¡¤Ï¡¢¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤ò¤È¤ê¡¢ gdb(1) ¤Ç¥¹¥¿¥Ã¥¯¥È¥ì¡¼¥¹¤ò¹Ô¤¦¤³¤È¤Ç¤¹¡£

¤É¤Ã¤Á¤Ë¤·¤í¡¢»ä¤ÏÉáÄ̰ʲ¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

  1. ¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£ ¥«¡¼¥Í¥ë¥Ç¥Ð¥Ã¥¬¤¬É¬Íפ½¤¦¤Ç¤¢¤ì¤Ð options 'DDB' ¤ò²Ã¤¨¤Æ¤âÎɤ¤¤Ç¤¹ (»ä¤Ï±Êµ×¥ë¡¼¥×¤¬µ¯¤³¤Ã¤Æ¤¤¤½¤¦¤Ê¾ì¹ç¤Ë¡¢ ¥Ö¥ì¡¼¥¯¥Ý¥¤¥ó¥È¤òÀßÄꤹ¤ë¤Î¤Ë»È¤Ã¤Æ¤¤¤Þ¤¹)¡£

  2. config -g KERNELCONFIG ¤È¤·¤Æ¥Ó¥ë¥É¥Ç¥£¥ì¥¯¥È¥ê¤òÀßÄꤷ¤Þ¤¹¡£

  3. cd /sys/compile/KERNELCONFIG; make ¤ò¼Â¹Ô¤·¤Þ¤¹¡£

  4. ¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë¤¬½ªÎ»¤¹¤ë¤Î¤òÂÔ¤Á¤Þ¤¹¡£

  5. make install ¤ò¼Â¹Ô¤·¤Þ¤¹¡£

  6. ºÆµ¯Æ°¤·¤Þ¤¹¡£

make(1) ¥×¥í¥»¥¹¤Ï£²¤Ä¤Î¥«¡¼¥Í¥ë¡¢ kernel ¤È kernel.debug ¤ò¥Ó¥ë¥É¤·¤Þ¤¹¡£ kernel ¤Ï /kernel ¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¡¢ kernel.debug ¤Ï gdb(1) ¤Î¥Ç¥Ð¥Ã¥°ÍÑ¥·¥ó¥Ü¥ë¾ðÊó¤ò¼è¤ê½Ð¤¹¤¿¤á¤ËÍøÍѤµ¤ì¤Þ¤¹¡£

³Î¼Â¤Ë¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤ò¤È¤ë¤Ë¤Ï¡¢/etc/rc.conf ¤òÊÔ½¸¤·¤Æ dumpdev ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤¦¤¹¤ë¤È rc(8) ¥¹¥¯¥ê¥×¥È¤«¤é dumpon(8) ¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¡¢ ¥¯¥é¥Ã¥·¥å¥À¥ó¥×µ¡Ç½¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£ ¼êÆ°¤Ç dumpon(8) ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£ ¥Ñ¥Ë¥Ã¥¯¤Î¸å¡¢¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤Ï savecore(8) ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¼è¤ê½Ð¤¹¤³¤È ¤¬¤Ç¤­¤Þ¤¹¡£ dumpdev ¤¬ /etc/rc.conf ¤ÇÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢ rc(8) ¥¹¥¯¥ê¥×¥È¤«¤é savecore(8) ¤¬¼«Æ°Åª¤Ë¼Â¹Ô¤µ¤ì¡¢¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤ò /var/crash ¤ËÊݸ¤·¤Þ¤¹¡£

注意: FreeBSD ¤Î¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤Î¥µ¥¤¥º¤Ï¡¢ ¤Õ¤Ä¤¦ÊªÍý¥á¥â¥ê¥µ¥¤¥º¤ÈƱ¤¸¤Ç¤¹¡£ ¤Ä¤Þ¤ê 64MB ¤Î¥á¥â¥ê¤òÀѤó¤Ç¤¤¤ì¤Ð¡¢ 64MB ¤Î¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤¬À¸À®¤µ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ /var/crash ¤Ë½½Ê¬¤Ê¶õ¤­ÍÆÎ̤¬¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£¼êÆ°¤Ç savecore(8) ¤ò¼Â¹Ô¤¹¤ì¤Ð¡¢ ¤â¤Ã¤È¶õ¤­ÍÆÎ̤Τ¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤òÊݸ¤Ç¤­¤Þ¤¹¡£ options MAXMEM=(foo) ¤È¤¤¤¦¹Ô¤ò¥«¡¼¥Í¥ë¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤ËÄɲ乤뤳¤È¤Ç¡¢ ¥«¡¼¥Í¥ë¤Î¥á¥â¥ê»ÈÍÑÎ̤òÀ©¸Â¤Ç¤­¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð 128MB ¤Î¥á¥â¥ê¤¬¤¢¤ë¾ì¹ç¤â¡¢ ¥«¡¼¥Í¥ë¤Î¥á¥â¥ê»ÈÍÑÎ̤ò 16MB ¤ËÀ©¸Â¤·¡¢¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤Î¥µ¥¤¥º¤â 128MB ¤Ç¤Ï¤Ê¤¯ 16MB ¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤ò¼è¤ê½Ð¤»¤¿¤é¡¢ °Ê²¼¤Î¤è¤¦¤Ë gdb(1) ¤ò»È¤Ã¤Æ¥¹¥¿¥Ã¥¯¥È¥ì¡¼¥¹¤ò¤È¤ê¤Þ¤¹¡£

% gdb -k /sys/compile/KERNELCONFIG/kernel.debug /var/crash/vmcore.0
(gdb) where

ɬÍפʾðÊó¤¬ 1 ²èÌ̤˼ý¤Þ¤é¤Ê¤¤¤³¤È¤â¿¤¤¤Î¤Ç¡¢¤Ç¤­¤ì¤Ð script(1) ¤ò»È¤Ã¤Æ½ÐÎϤòµ­Ï¿¤·¤Þ¤¹¡£ strip ¤·¤Æ¤¤¤Ê¤¤¥«¡¼¥Í¥ë¥¤¥á¡¼¥¸¤ò»È¤¦¤³¤È¤Ç¡¢ ¤¹¤Ù¤Æ¤Î¥Ç¥Ð¥Ã¥°¥·¥ó¥Ü¥ë¤¬»²¾È¤Ç¤­¡¢ ¥Ñ¥Ë¥Ã¥¯¤ÎȯÀ¸¤·¤¿¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹¥³¡¼¥É¤Î¹Ô¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£ Ä̾Àµ³Î¤Ê¥¯¥é¥Ã¥·¥å¤Ø¤Î²áÄø¤òÄÉÀפ¹¤ë¤Ë¤Ï¡¢ ½ÐÎϤòºÇ¸å¤Î¹Ô¤«¤éµÕÊý¸þ¤ËÆɤޤʤ±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤Þ¤¿ gdb(1) ¤ò»È¤Ã¤Æ¡¢ ÊÑ¿ô¤ä¹½Â¤ÂΤÎÆâÍƤòɽ¼¨¤µ¤»¡¢ ¥¯¥é¥Ã¥·¥å¤·¤¿»þ¤Î¥·¥¹¥Æ¥à¤Î¾õÂÖ¤òÄ´¤Ù¤é¤ì¤Þ¤¹¡£

¤â¤·¤¢¤Ê¤¿¤¬¥Ç¥Ð¥Ã¥°¶¸¤Ç¡¢Æ±»þ¤ËÊ̤Υ³¥ó¥Ô¥å¡¼¥¿¤òÍøÍѤǤ­¤ë´Ä¶­¤Ë¤¢¤ì¤Ð¡¢ gdb(1) ¤ò¥ê¥â¡¼¥È¥Ç¥Ð¥Ã¥°¤Ë»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¥ê¥â¡¼¥È¥Ç¥Ð¥Ã¥°¤ò»È¤¦¤È¡¢¤¢¤ë¥³¥ó¥Ô¥å¡¼¥¿¾å¤Î gdb(1) ¤ò»È¤Ã¤Æ¡¢ Ê̤Υ³¥ó¥Ô¥å¡¼¥¿¤Î¥«¡¼¥Í¥ë¤ò¥Ç¥Ð¥Ã¥°¤Ç¤­¤Þ¤¹¡£ ¥Ö¥ì¡¼¥¯¥Ý¥¤¥ó¥È¤ÎÀßÄê¡¢¥«¡¼¥Í¥ë¥³¡¼¥É¤Î¥¹¥Æ¥Ã¥×¼Â¹Ô¤Ê¤É¡¢ ¤Õ¤Ä¤¦¤Î¥×¥í¥°¥é¥à¤Î¥Ç¥Ð¥Ã¥°¤ÈÊѤï¤ê¤Þ¤»¤ó¡£ ¥³¥ó¥Ô¥å¡¼¥¿¤ò 2 Âæʤ٤ƥǥХå°¤¹¤ë¥Á¥ã¥ó¥¹¤Ë¤Ï¤Ê¤«¤Ê¤«·Ã¤Þ¤ì¤Ê¤¤¤Î¤Ç¡¢ »ä¤Ï¤Þ¤À¥ê¥â¡¼¥È¥Ç¥Ð¥Ã¥°¤ò»î¤·¤¿¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£

Bill ¤Ë¤è¤ëÄɵ­: DDB ¤òÍ­¸ú¤Ë¤·¤Æ¤¤¤Æ¥«¡¼¥Í¥ë¤¬¥Ç¥Ð¥Ã¥¬¤Ë Íî¤Á¤¿¤é¡¢ddb ¤Î¥×¥í¥ó¥×¥È¤Ç "panic" ¤ÈÆþÎϤ¹¤ì¤Ð¡¢¶¯À©Åª¤Ë¥Ñ¥Ë¥Ã¥¯¤òµ¯¤³¤·¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥Ñ¥Ë¥Ã¥¯¤ÎÅÓÃæ¤Ç¡¢ºÆ¤Ó¥Ç¥Ð¥Ã¥¬¤ËÍî¤Á¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ "continue" ¤ÈÆþÎϤ¹¤ì¤Ð¡¢ ¥¯¥é¥Ã¥·¥å¥À¥ó¥×¤òºÇ¸å¤Þ¤Ç¼Â¹Ô¤µ¤»¤é¤ì¤Þ¤¹¡£

13.14. dlsym() ¤¬ ELF ¼Â¹Ô·Á¼°¤Ç¤ÏÆ°ºî¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹!

ELF ¤Î¥Ä¡¼¥ëÎà¤Ï¡¢ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¼Â¹Ô·Á¼°¤ÎÃæ¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥·¥ó¥Ü¥ë¤ò¡¢ ¥À¥¤¥Ê¥ß¥Ã¥¯¥ê¥ó¥«¤«¤é¸«¤¨¤ë¤è¤¦¤Ë¤Ï¤·¤Þ¤»¤ó¡£ ¤³¤Î¤¿¤á¡¢dlopen(NULL, flags) ¤ò¸Æ¤Ó½Ð¤·¤ÆÆÀ¤é¤ì¤¿¥Ï¥ó¥É¥ë¤ËÂФ·¤Æ¡¢ dlsym() ¤Çõº÷¤ò¹Ô¤Ã¤Æ¤â¡¢ ¤³¤¦¤¤¤Ã¤¿¥·¥ó¥Ü¥ë¤ò¸«¤Ä¤±¤é¤ì¤Þ¤»¤ó¡£

¤â¤·¡¢¤¢¤Ê¤¿¤¬¥×¥í¥»¥¹¤ÎÃæ¿´¤Ë¤¢¤¿¤ë¼Â¹Ô·Á¼°¤ÎÃæ¤Ë¤¢¤ë¥·¥ó¥Ü¥ë¤òõº÷¤·¤¿¤±¤ì¤Ð¡¢ ELF ¥ê¥ó¥« (ld(1)) ¤Ë -export-dynamic ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ¼Â¹Ô·Á¼°¤ò¥ê¥ó¥¯¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

13.15. ¥«¡¼¥Í¥ë¥¢¥É¥ì¥¹¶õ´Ö¤òÂ礭¤¯¤·¤¿¤ê¡¢ ¾®¤µ¤¯¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤¹¤«?

¥«¡¼¥Í¥ë¥¢¥É¥ì¥¹¶õ´Ö¤Ï¡¢FreeBSD 3.X ¾å¤Ç 256MB¡¢FreeBSD 4.X ¾å¤Ç 1GB ¤¬¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ Éé²Ù¤Î¹â¤¤¥Í¥Ã¥È¥ï¡¼¥¯¥µ¡¼¥Ð (¤¿¤È¤¨¤ÐÂ礭¤Ê FTP¡¢HTTP ¥µ¡¼¥Ð) ¤ò±¿ÍѤ¹¤ë¾ì¹ç¤Ï¡¢256MB ¤Ç¤Ï­¤ê¤Ê¤¤¤³¤È¤Ëµ¤ÉÕ¤¯¤«¤âÃΤì¤Þ¤»¤ó¡£

¤Ç¤Ï¡¢¥¢¥É¥ì¥¹¶õ´Ö¤òÂ礭¤¯¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤·¤ç¤¦¤«? ¤½¤ì¤Ë¤Ï¡¢Æó¤Ä¤ÎÃʳ¬¤òƧ¤ß¤Þ¤¹¡£¤Þ¤º¡¢ ¤è¤êÂ礭¤¤¥¢¥É¥ì¥¹¶õ´Ö¤ò³ä¤êÅö¤Æ¤ë¤³¤È¤ò¥«¡¼¥Í¥ë¤ËÃΤ餻¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¼¡¤Ë¡¢¥«¡¼¥Í¥ë¤Ï¥¢¥É¥ì¥¹¶õ´Ö¤ÎÀèƬ¤Ë¥í¡¼¥É¤µ¤ì¤ë¤¿¤á¡¢ ¥¢¥É¥ì¥¹¤ÎÀèƬ¤¬Å·°æ (ÌõÃí:¥«¡¼¥Í¥ë¥¢¥É¥ì¥¹¶õ´Ö¤ÎºÇ²¼Ã¼¥¢¥É¥ì¥¹¤Î¤³¤È) ¤È ¤Ö¤Ä¤«¤ë¤³¤È¤Î¤Ê¤¤¤è¤¦¤Ë¡¢¥í¡¼¥É¥¢¥É¥ì¥¹¤òº£¤Þ¤Ç¤è¤êÄã°Ì¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

ºÇ½é¤ÎÃʳ¬¤Ï¡¢src/sys/i386/include/pmap.h ¤Ë¤¢¤ë NKPDE ¤ÎÃͤòÁý²Ã¤µ¤»¤ë¤³¤È¤Ç¹Ô¤Ê¤¤¤Þ¤¹¡£ ¤³¤³¤Ë 1GB ¤Î¥¢¥É¥ì¥¹¶õ´Ö¤Ë¤¹¤ë¤¿¤á¤Ë¡¢¤É¤Î¤è¤¦¤Ë¤¹¤ì¤ÐÎɤ¤¤«¤ò¼¨¤·¤Þ¤¹¡£

#ifndef NKPDE
#ifdef SMP
#define NKPDE                   254     /* addressable number of page tables/pde's */
#else
#define NKPDE                   255     /* addressable number of page tables/pde's */
#endif  /* SMP */
#endif

Àµ³Î¤Ê NKPDE ¤ÎÃͤò·×»»¤¹¤ë¤Ë¤Ï¡¢ ˾¤ß¤Î¥¢¥É¥ì¥¹¶õ´Ö¤ÎÂ礭¤µ (¥á¥¬¥Ð¥¤¥Èñ°Ì) ¤ò 4 ¤Ç³ä¤Ã¤Æ¡¢ ¤½¤ì¤«¤éñ°ì¥×¥í¥»¥Ã¥µ (UP) ¤Ê¤é 1¡¢SMP ¤Ê¤é 2 ¤ò°ú¤­»»¤·¤Æ¤¯¤À¤µ¤¤¡£

¼¡¤ÎÃʳ¬¤ò¹Ô¤Ê¤¦¤Ë¤Ï¡¢¥í¡¼¥É¥¢¥É¥ì¥¹¤òÀµ³Î¤Ë·×»»¤¹¤ë¤³¤È¤¬É¬ÍפǤ¹¡£ ñ½ã¤Ë¡¢¥¢¥É¥ì¥¹¶õ´Ö¤ÎÂ礭¤µ (¥Ð¥¤¥Èñ°Ì) ¤ò 0x100100000 ¤«¤é°ú¤­»»¤·¤Æ¤¯¤À¤µ¤¤¡£ 1GB ¥¢¥É¥ì¥¹¶õ´Ö¤Î¾ì¹ç¡¢¤½¤Î·ë²Ì¤Ï 0xc0100000 ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤½¤·¤Æ¡¢src/sys/i386/conf/Makefile.i386 ¤Ë¤¢¤ë LOAD_ADDRESS ¤Ë¡¢º£·×»»¤·¤¿ÃͤòÆþ¤ì¤Þ¤¹¡£¤Þ¤¿¡¢¼¡¤Î¤è¤¦¤Ë src/sys/i386/conf/kernel.script ¤Î¥»¥¯¥·¥ç¥ó¤Î»Ï¤á¤ÎÊý¤Ë¤¢¤ë¥í¥±¡¼¥·¥ç¥ó¥«¥¦¥ó¥¿¤Ë¤âƱ¤¸ÃͤòÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(btext)
SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/obj/elf/home/src/tmp/usr/i386-unknown-freebsdelf/lib);
SECTIONS
{
  /* Read-only sections, merged into text segment: */
  . = 0xc0100000 + SIZEOF_HEADERS;
  .interp     : { *(.interp)    }

¤½¤ì¤¬´°Î»¤·¤¿¤é¡¢config ¤·Ä¾¤·¤Æ¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤ª¤½¤é¤¯¡¢ps(1)¡¢top(1) ¤Ê¤É¤ËÉÔ¶ñ¹ç¤¬½Ð¤ë¤Ç¤·¤ç¤¦¡£ ¤½¤ì¤é¤òÀµ¾ï¤Ë¤¹¤ë¤¿¤á¤Ë¡¢make world (¤â¤·¤¯¤Ï¡¢Êѹ¹¤·¤¿ pmap.h ¤ò /usr/include/vm/ ¤Ë¥³¥Ô¡¼¤·¤¿¸å¤Ë¡¢ libkvm¡¢ ps ¤ª¤è¤Ó top ¤ò¼êÆ°¤ÇºÆ¹½ÃÛ¤¹¤ë¤³¤È) ¤ò¹Ô¤Ê¤¦¤Ù¤­¤Ç¤¹¡£

注意: ¥«¡¼¥Í¥ë¥¢¥É¥ì¥¹¶õ´Ö¤ÎÂ礭¤µ¤Ï¡¢4MB ¤ÎÇÜ¿ô¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

David Greenman »á¤Ë¤è¤ëÊä­: ¥«¡¼¥Í¥ë¥¢¥É¥ì¥¹¶õ´Ö¤Ï 2 ¤Î¾è¿ô¤Ç¤¢¤ëɬÍפ¬¤¢¤ë¤È»×¤¤¤Þ¤¹¤¬¡¢ ¤½¤ì¤¬³Î¤«¤Ê¤³¤È¤«¤É¤¦¤«¤Ï¤Ï¤Ã¤­¤ê¤·¤Æ¤¤¤Þ¤»¤ó¡£ ÀΤε¯Æ°¥³¡¼¥É¤Ë¤Ï¡¢Îɤ¯¹â°Ì¥¢¥É¥ì¥¹¥Ó¥Ã¥È¤Î¥È¥ê¥Ã¥¯¤¬»È¤ï¤ì¤Æ¤¤¤¿¤¿¤á¡¢ ¾¯¤Ê¤¯¤È¤â 256MB ¤ÎγÅ٤Ǥ¢¤ë¤³¤È¤¬ÁÛÄꤵ¤ì¤Æ¤¤¤¿¤È»×¤¤¤Þ¤¹¡£


第 14章¼Õ¼­

Ìõ: ¤³¤¬¤è¤¦¤¤¤Á¤í¤¦ ¡¢ 1997 ǯ 11 ·î 10 Æü

 

¤³¤Î FAQ ¤Ë¤Ä¤¤¤ÆÌäÂê¤ò¸«¤Ä¤±¤¿¤ê¡¢²¿¤«ÅÐÏ¿¤·¤¿¤¤¾ì¹ç¤Ï¡¢ FAQ ÊݼéôÅö¼Ô ¤Þ¤Ç¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¥Õ¥£¡¼¥É¥Ð¥Ã¥¯¤·¤Æ¤¯¤ì¤ë¤ß¤Ê¤µ¤ó¤Ë¤Ï´¶¼Õ´¶¼Õ¤Ê¤Î¤Ç¤¹¡£ ¤ß¤Ê¤µ¤ó¤Ë¼êÅÁ¤Ã¤Æ¤â¤é¤ï¤Ê¤¤¤È¤³¤Î FAQ ¤Ï¤è¤¯¤Ê¤ê¤Þ¤»¤ó¤«¤é!

 
--FreeBSD Core Team  
Jordan K. Hubbard

¤¿¤Þ¤Ëµ¯¤³¤¹ FAQ ¤ÎʤÙÂؤ¨¤ä¹¹¿·¤Îȯºî

Doug White

freebsd-questions ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ç¤ÎµÁ̳¤òĶ¤¨¤¿¥µ¡¼¥Ó¥¹

Jörg Wunsch

Usenet (NetNews) ¤Ç¤ÎµÁ̳¤òĶ¤¨¤¿¥µ¡¼¥Ó¥¹

Garrett Wollman

¥Í¥Ã¥È¥ï¡¼¥¯Àá¤Î¼¹É®¤Èʸ½ñÀ°·Á

Jim Lowe

¥Þ¥ë¥Á¥­¥ã¥¹¥È¤Ë¤Ä¤¤¤Æ

Peter da Silva

FreeBSD FAQ ¥¿¥¤¥Ô¥ó¥°µ¡³£ÅÛÎì

FreeBSD ¥Á¡¼¥à

ÉÔÊ¿¤ò¸À¤Ã¤¿¤ê¡¢¤¦¤á¤¤¤¿¤ê¡¢¾ðÊóÄ󶡤·¤Æ¤¯¤ì¤¿¤ê

¤¢¤È¡¢È´¤±¤Æ¤·¤Þ¤Ã¤¿Â¾¤ÎÊý¡¹¤ËÂФ·¤Æ¡¢¼Õºá¤È¿´¤«¤é¤Î´¶¼Õ¤òÊû¤²¤Þ¤¹!


第 15章FreeBSD FAQ ÆüËܸ첽¤Ë¤Ä¤¤¤Æ

FreeBSD ÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È¤Ï¡¢ FreeBSD ´Ø·¸¤ÎÆüËܸìʸ½ñ¤¬¾¯¤Ê¤¤¤³¤È¤òò¤¤¤¿¿ô¿Í¤Î FreeBSD ¥æ¡¼¥¶¤ÎÄ󾧤ˤè¤Ã¤Æ 1996 ǯ 2 ·î 26 Æü¤Ë¥¹¥¿¡¼¥È¤·¡¢ FreeBSD ÆüËܸì¥Ï¥ó¥É¥Ö¥Ã¥¯¤ÎºîÀ®¤ò¤Ï¤¸¤á¤È¤·¤¿³èÆ°¤ò¹Ô¤Ê¤Ã¤Æ¤­¤Þ¤·¤¿¡£ FreeBSD FAQ ¤ÎÆüËܸ첽¤Ë¤Ä¤¤¤Æ¤Ï¥ª¥ê¥¸¥Ê¥ë¤ÎËÝÌõºî¶È¤À¤±¤Ç¤Ê¤¯¡¢ ÆüËܹñÆâ¤Ë¸ÇÍ­¤ÎÏÃÂê¤Ë¤Ä¤¤¤Æ¤â¹­¤¯¾ðÊó¤ò½¸¤á¡¢ ÆüËܤΠFreeBSD ¥æ¡¼¥¶¤Ë¤È¤Ã¤Æ¿¿¤ËÍ­±×¤Ê¥É¥­¥å¥á¥ó¥È¤òÄ󶡤·¤è¤¦¤È¹Í¤¨¤Æ¤¤¤Þ¤¹¡£ ¥ª¥ê¥¸¥Ê¥ë¤Î FAQ ¤ÏÆüËè¤Ë¹¹¿·¤µ¤ì¤Æ¤ª¤ê¡¢ »ä¤¿¤Á¤â¤Þ¤¿¤³¤ì¤ËÄɤ¤ÉÕ¤¯¤¿¤á¤Ëºî¶È¤ò³¤±¤Æ¤¤¤­¤Þ¤¹¡£¤â¤Á¤í¤ó¡¢¿·¤·¤¤¥á¥ó¥Ð¤âÂç´¿·Þ¤Ç¤¹¡£ ÆüËܸìËÝÌõÈǤˤĤ¤¤Æ¡¢²¿¤«¤ªµ¤¤Å¤­¤ÎÅÀ¤¬¤¢¤ê¤Þ¤·¤¿¤é¡¢ ÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È ¤Þ¤Ç¤´Ï¢Íí¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢¤â¤·»ä¤¿¤Á¤Îºî¶È¤ò¼êÅÁ¤Ã¤Æ¤¯¤ì¤ë¤Ê¤é¡¢ FreeBSD ÆüËܸì¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È¤Î¥Ú¡¼¥¸¤ò¤´Í÷¤Î¾å¡¢À§È󻲲䷤Ƥ¯¤À¤µ¤¤¡£

ËÝÌõ¼Ô (¸Þ½½²»½ç)

ººÆÉ¼Ô (¸Þ½½²»½ç)

ºî¶È´Ä¶­À°È÷ (¸Þ½½²»½ç)


Í­ÍѤʽñÀÒ

4.4BSD System Manager's Manual, Computer Systems Research Group, University of California, Berkeley, O'Reilly and Associates, 1st Edition, June 1994, 804 pages, ISBN 1-56592-080-5.

4.4BSD User's Reference Manual, Computer Systems Research Group, University of California, Berkeley, O'Reilly and Associates, 1st Edition, June 1994, 905 pages, ISBN 1-56592-075-9.

4.4BSD User's Supplementary Documents, Computer Systems Research Group, University of California, Berkeley, O'Reilly and Associates, 1st Edition, June 1994, 712 pages, ISBN 1-56592-076-7.

4.4BSD Programmer's Reference Manual, Computer Systems Research Group, University of California, Berkeley, O'Reilly and Associates, 1st Edition, June 1994, 866 pages, ISBN 1-56592-078-3.

4.4BSD Programmer's Supplementary Documents, Computer Systems Research Group, University of California, Berkeley, O'Reilly and Associates, 1st Edition, June 1994, 596 pages, ISBN 1-56592-079-1.

The Design and Implementation of the 4.4BSD Operating System, M. K. McKusick, Kirk Marshall, Keith Bostic, Michael J Karels, 、 John Quarterman, Addison-Wesley, Reading, 1996, ISBN 0-201-54979-4.

Unix System Administration Handbook, Evi Nemeth, Garth Snyder, Scott Seebass, Trent R. Hein, 、 John Quarterman, Prentice-Hall, 3rd edition, 2000, ISBN 0-13-020601-6.

The Complete FreeBSD, Greg Lehey, Walnut Creek, 3rd edition, June 1999, 773 pages, ISBN 1-57176-246-9.

[McKusick et al, 1994] Berkeley Software Architecture Manual, 4.4BSD Edition, M. K. McKusick, M. J. Karels, S. J. Leffler, W. N. Joy, 、 R. S. Faber, 5:1-42.

注意

[1]

¤³¤ì¤Ï Keith Frechette ¤«¤é¤Î¥á¡¼¥ë¤Ë¤è¤ê¤Þ¤¹¡£


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

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