13.5. Device Hints

´ó¹Æ: Tom Rhodes.

注意: ¤³¤ì¤Ï FreeBSD 5.0 °Ê¹ß¤Îµ¡Ç½¤Ç¤¹¡£ ¤³¤ì°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ï¸ºß¤·¤Þ¤»¤ó¡£

µ¯Æ°¥×¥í¥»¥¹¤Î´Ö¤Ë loader(8) ¤Ï device.hints(5) ¤òÆɤ߹þ¤ß¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥«¡¼¥Í¥ëµ¯Æ°¤Î´Ä¶­ÊÑ¿ô¤¬³ÊǼ¤µ¤ì¤Æ¤ª¤ê¡¢ ¤³¤ì¤é¤Î´Ä¶­ÊÑ¿ô¤Ï “device hints” ¤È¸Æ¤Ð¤ì¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£“device hints” ¤Ï¥Ç¥Ð¥¤¥¹¤òÀßÄꤹ¤ë¤¿¤á¤Ë¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤¬»ÈÍѤ·¤Þ¤¹¡£

device hints ¤Ï ¥¹¥Æ¡¼¥¸ 3 ¥Ö¡¼¥È¥í¡¼¥À ¤Ç¤âÀßÄê¤Ç¤­¤Þ¤¹¡£ÊÑ¿ô¤Ï set ¥³¥Þ¥ó¥É¤òÍѤ¤¤ÆÄɲä·¤¿¤ê¡¢ unset ¥³¥Þ¥ó¥É¤òÍѤ¤¤Æºï½ü¤Ç¤­¤Þ¤¹¡£ show ¥³¥Þ¥ó¥É¤òÍѤ¤¤Æ°ìÍ÷¤ò¸«¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ /boot/device.hints ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ëÊÑ¿ô¤Ï ¤³¤Î¤È¤­¤Ë¾å½ñ¤­¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥í¡¼¥À¤ÇÀßÄꤷ¤¿ device hints ¤Î¸ú²Ì¤Ï°ì»þŪ¤Ê¤â¤Î¤Ç¤¢¤ë¤¿¤á¡¢ ¼¡²óµ¯Æ°¤¹¤ë¤È¤­¤Ë¤Ï̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£

¥·¥¹¥Æ¥à¤¬µ¯Æ°¤¹¤ë¤È¡¢kenv(1) ¥³¥Þ¥ó¥É¤Ç¥«¡¼¥Í¥ë´Ä¶­ÊÑ¿ô¤ò¥À¥ó¥×¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

/boot/device.hints ¤Ï 1 ¹Ô¤Ë¤Ä¤­°ì¤Ä¤ÎÊÑ¿ô¤òÀßÄê¤Ç¤­¡¢¹ÔƬ¤Î “#” ¤Ï¤½¤Î¹Ô¤¬¥³¥á¥ó¥È¤Ç¤¢¤ë¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ½ñ¼°¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡£

hint.driver.unit.keyword="value"

¥¹¥Æ¡¼¥¸ 3 ¥Ö¡¼¥È¥í¡¼¥À ¤ÇÀßÄꤹ¤ë¤È¤­¤Î½ñ¼°¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡£

set hint.driver.unit.keyword=value

driver ¤Ï¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Î̾Á°¡¢ unit ¤Ï¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Î¥æ¥Ë¥Ã¥ÈÈֹ桢 keyword ¤Ï¥Ò¥ó¥È¥­¡¼¥ï¡¼¥É¤Ç¤¹¡£ ¥­¡¼¥ï¡¼¥É¤Ï¼¡¤ÎÀßÄê¤ò»ØÄꤷ¤Þ¤¹:

¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Ï¤³¤Î¥ê¥¹¥È°Ê³°¤ÎÊÑ¿ô¤òÀßÄê¤Ç¤­¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤·¡¢ ¤³¤Î¥ê¥¹¥È°Ê³°¤ÎÊÑ¿ô¤òɬÍפȤ¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Î¥Þ¥Ë¥å¥¢¥ë¤òÆɤळ¤È¤ò¤ª¤¹¤¹¤á¤·¤Þ¤¹¡£ ¤è¤ê¿¤¯¤Î¾ðÊó¤òÃΤꤿ¤±¤ì¤Ð¡¢ device.hints(5), kenv(1), loader.conf(5), loader(8) ¤Ê¤É¤Î¥Þ¥Ë¥å¥¢¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

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

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