/usr/share/doc/HOWTO/ja-html/Large-Disk-HOWTO-12.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Large Disk HOWTO: Linux ¤Î 65535 ¥·¥ê¥ó¥À¤ÎÊÉ</TITLE>
<LINK HREF="Large-Disk-HOWTO-13.html" REL=next>
<LINK HREF="Large-Disk-HOWTO-11.html" REL=previous>
<LINK HREF="Large-Disk-HOWTO.html#toc12" REL=contents>
</HEAD>
<BODY>
<A HREF="Large-Disk-HOWTO-13.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO-11.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO.html#toc12">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s12">12. Linux ¤Î 65535 ¥·¥ê¥ó¥À¤ÎÊÉ</A></H2>
<P><CODE>HDIO_GETGEO</CODE> ioctl ¤Ï short (ÌõÃí: short int ¤Ä¤Þ¤ê 16¥Ó¥Ã¥È)
¤Ç¥·¥ê¥ó¥À¿ô¤òÊÖ¤·¤Þ¤¹¡£
¤³¤ì¤Ï¡¢65535 ¥·¥ê¥ó¥À¤è¤ê¿¤¤¾ì¹ç¤Ë¤Ï¿ô»ú¤¬ÀÚ¤ê¼Î¤Æ¤é¤ì¤Æ¡¢
Î㤨¤Ð(ŵ·¿Åª¤Ê SCSI ¤ÎÀßÄê¤Ç¤Ï 1 ¥·¥ê¥ó¥À 1 MiB ¤Ê¤Î¤Ç)
80 GiB ¤Î¥Ç¥£¥¹¥¯¤Ï 16 GiB ¤Ë¸«¤¨¤ë¤«¤â¤·¤ì¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
¤¤¤Ã¤¿¤ó²¿¤¬ÌäÂê¤Ê¤Î¤«Ê¬¤«¤Ã¤Æ¤·¤Þ¤¨¤Ð¡¢¤½¤ì¤ò²óÈò¤¹¤ë¤³¤È¤Ï´Êñ¤Ç¤¹¡£
<H2><A NAME="verylarge"></A> <A NAME="ss12.1">12.1 34 GB Ķ¤Î¥Ç¥£¥¹¥¯¤Ë¤ª¤±¤ë IDE ¤ÎÌäÂê</A>
</H2>
<P>33.8 GB ¤è¤êÂçÍÆÎ̤ʥɥ饤¥Ö¤Ï¡¢2.3.21 ¤è¤ê¸Å¤¤¥«¡¼¥Í¥ë¤Ç¤Ï¤¦¤Þ¤¯Æ°ºî¤·¤Þ¤»¤ó¡£
(ÌõÃí: ¤³¤Î¾Ï¤ÎºÇ¸å¤ÎÊý¤Ë¤â½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢2.2.14 °Ê¹ß¤Ç¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£)
¤½¤Î¾ÜºÙ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
¤¢¤ëÆü¤¢¤Ê¤¿¤¬¿·¤¿¤Ë 66835440 ¥»¥¯¥¿ (34.2 GB) ¤Î IBM-DPTA-373420
¥Ç¥£¥¹¥¯¤òÇã¤Ã¤Æ¤¤¿¤È¤·¤Þ¤·¤ç¤¦¡£
2.3.21 °ÊÁ°¤Î¥«¡¼¥Í¥ë¤Ï¡¢¤½¤ì¤Î¥µ¥¤¥º¤ò 769*16*63 = 775152 ¥»¥¯¥¿ (0.4 GB)
¤ÈÊó¹ð¤·¡¢¤Á¤ç¤Ã¤È¤¬¤Ã¤«¤ê¤¹¤ë¤Ç¤·¤ç¤¦¡£
¤½¤·¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ñ¥é¥á¡¼¥¿ hdc=4160,255,63 ¤òÍ¿¤¨¤Æ¤â¡¢
»öÂ֤Ϥޤ俤¯²ò·è¤·¤Ê¤¤¤Î¤Ç¤¹ - ¤³¤ì¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
°ìÂβ¿¤¬µ¯¤¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦?
¥ë¡¼¥Á¥ó idedisk_setup() ¤Ç¤Ï¡¢
¥Ç¥£¥¹¥¯¤¬Êó¹ð¤¹¤ë¥¸¥ª¥á¥È¥ê(16383/16/63 ¤Ç¤¹)¤ò¼õ¤±¼è¤ê¡¢
¥æ¡¼¥¶¤¬¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÃͤǾå½ñ¤¤·¤Þ¤¹¡£
¤³¤ÎÃÍ¤Ï BIOS ¥¸¥ª¥á¥È¥ê¤Î¤¿¤á¤À¤±¤Ë»ÈÍѤµ¤ì¤ë¤â¤Î¤Ç¤¹¡£
¥ë¡¼¥Á¥ó current_capacity() ¤ä idedisk_capacity() ¤Ï¡¢
66835440/(16*63)=66305 ¤È¤¤¤¦´¶¤¸¤Ç¥·¥ê¥ó¥À¿ô¤òºÆ·×»»¤·¤Þ¤¹¤¬¡¢
¤³¤ÎÃÍ¤Ï short ¤Ç³ÊǼ¤µ¤ì¤ë¤Î¤Ç¡¢ 769 ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
lba_capacity_is_ok() ¤Ï id->cyls ¤òÇ˲õ¤¹¤ë¤Î¤Ç¡¢
¤½¤Î¸å¤Î¸Æ¤Ó½Ð¤·¤¹¤Ù¤Æ¤ËÂФ·¤Æ±³¤ÎÃͤòÊÖ¤·¡¢
¤½¤Î·ë²Ì¥Ç¥£¥¹¥¯¤ÎÍÆÎÌ¤Ï 769*16*63 ¤Ë¤Ê¤ê¤Þ¤¹¡£
¤¤¤¯¤Ä¤«¤Î¥«¡¼¥Í¥ë¤ËÂФ·¤Æ¤Ï¥Ñ¥Ã¥Á¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£
2.0.38 ÍѤΥѥåÁ¤Ï
<A HREF="ftp://ftp.us.kernel.org/pub/linux/kernel/people/aeb/">ftp.kernel.org</A>
¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
2.2.12 ÍѤΥѥåÁ¤Ï
<A HREF="http://www.uwsg.indiana.edu/hypermail/linux/kernel/9910.2/0636.html">www.uwsg.indiana.edu</A>.
¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
2.2.14pre ¥«¡¼¥Í¥ë¤Ï¤³¤ì¤é¤Î¥Ç¥£¥¹¥¯¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£
2.3.* ¥«¡¼¥Í¥ë¥·¥ê¡¼¥º¤Ç¤Ï¡¢2.3.21 ¤«¤é¤³¤ì¤é¤Î¥Ç¥£¥¹¥¯¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£
¤Þ¤¿¡¢¥Ç¥£¥¹¥¯¤Î¥µ¥¤¥º¤ò 33.8GB ¤ËÀÚ¤êµÍ¤á¤ë¤¿¤á¤Ë¡¢¥Ï¡¼¥É¥¦¥§¥¢Åª¤Ë
<A HREF="Large-Disk-HOWTO-11.html#jumperbig">¥¸¥ã¥ó¥Ñ¤òÀßÄꤹ¤ë</A>
¤³¤È¤Ç¤âÌäÂê¤ò¡Ö²ò·è¡×¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤«¤é¥Ö¡¼¥È¤·¤è¤¦¤È¤¹¤ë¤Î¤Ê¤é¤Ð¡¢
¿¤¯¤Î¾ì¹ç
<A HREF="Large-Disk-HOWTO-4.html#biosupgrades">BIOS ¥¢¥Ã¥×¥°¥ì¡¼¥É</A>
¤¬É¬Íפˤʤë¤Ç¤·¤ç¤¦¡£
<P>
<HR>
<A HREF="Large-Disk-HOWTO-13.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO-11.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO.html#toc12">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|