2 .\" Copyright (c) 1993 Michael Haardt (michael@cantor.informatik.rwth-aachen.de)
3 .\" and 1994,1995 Alain Knaff (Alain.Knaff@imag.fr)
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 .\" GNU General Public License for more details.
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, write to the Free
22 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
25 .\" Modified, Sun Feb 26 15:00:02 1995, faith@cs.unc.edu
27 .\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
28 .\" all rights reserved.
29 .\" Translated Sun Jan 11 03:25:38 JST 1998
30 .\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
32 .\" WORD: floppy disk ¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯
33 .\" WORD: double density ÇÜÌ©ÅÙ
34 .\" WORD: high density ¹âÌ©ÅÙ
35 .\" WORD: extra density ³Èĥ̩ÅÙ
36 .\" WORD: interleaved format ¥¤¥ó¥¿¡¼¥ê¡¼¥Ö¥É¥Õ¥©¡¼¥Þ¥Ã¥È
37 .\" WORD: media ¥á¥Ç¥£¥¢
38 .\" WORD: geometry ¥¸¥ª¥á¥È¥ê
39 .\" WORD: buffer cache ¥Ð¥Ã¥Õ¥¡¥¥ã¥Ã¥·¥å
40 .\" WORD: threshold ïçÃÍ
41 .\" WORD: clear ¥¯¥ê¥¢¡¼
43 .TH FD 4 1995-01-29 "Linux" "Linux Programmer's Manual"
45 fd \- ¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯(floppy disk)¥Ç¥Ð¥¤¥¹
47 ¥Õ¥í¥Ã¥Ô¡¼¥É¥é¥¤¥Ö¤Ï¥á¥¸¥ã¡¼¥Ê¥ó¥Ð¡¼ 2 ¤ò»ý¤Ä¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¤Ç¤¢¤ë¡£
48 °ìÈÌŪ¤Ë¤Ï¡¢¤³¤Î¥Ç¥Ð¥¤¥¹¤Î¥ª¡¼¥Ê¡¼¤Ï root.floppy (¥ª¡¼¥Ê¡¼ root¡¢
49 ¥°¥ë¡¼¥× floppy)¤Ç¡¢¥â¡¼¥É 0660 (¥°¥ë¡¼¥×¤Î¹½À®°÷¤Ç¤¢¤ë¤³¤È¤Ë
50 ¤è¤Ã¤Æ¥¢¥¯¥»¥¹¥Á¥§¥Ã¥¯¤¬¹Ô¤ï¤ì¤ë)¡¢¤Þ¤¿¤Ï¡¢¥â¡¼¥É 0666 (ï¤Ç¤â¥¢¥¯¥»¥¹
51 ¤Ç¤¤ë) ¤Ç¤¢¤ë¡£¥Þ¥¤¥Ê¡¼¥Ê¥ó¥Ð¡¼¤Ï¥Ç¥Ð¥¤¥¹¤Î¥¿¥¤¥×¡¢¥É¥é¥¤¥Ö¤ÎÈֹ桢¥³
52 ¥ó¥È¥í¡¼¥é¡¼¤ÎÈÖ¹æ¤òÉä¹æ²½¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£¤½¤ì¤¾¤ì¤Î¥Ç¥Ð¥¤¥¹¥¿¥¤¥×
53 (¤³¤ì¤Ï¡¢Ì©ÅÙ (density) ¤È¥È¥é¥Ã¥¯¥«¥¦¥ó¥È (track count) ¤ÎÁȹ礻¤Ç¤¢¤ë)
54 ¤Ï¡¢¥Ù¡¼¥¹¤È¤Ê¤ë¥Þ¥¤¥Ê¡¼¥Ê¥ó¥Ð¡¼¤ò»ý¤Ã¤Æ¤¤¤ë¡£¤³¤Î¥Ù¡¼¥¹¥Ê¥ó¥Ð¡¼¤Ë¤½¤Î
55 ¥³¥ó¥È¥í¡¼¥é¡¼¾å¤Î¥É¥é¥¤¥Ö¥Ê¥ó¥Ð¡¼¤ò²Ã¤¨¤ë¡£¤â¤·¡¢¤½¤Î¥É¥é¥¤¥Ö¤¬ 2 ÈÖÌܤÎ
56 ¥³¥ó¥È¥í¡¼¥é¡¼¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¤Ê¤é¡¢¤µ¤é¤Ë 128 ¤ò²Ã¤¨¤ë¡£¼¡¤Î¥Ç¥Ð¥¤¥¹
57 ¥Æ¡¼¥Ö¥ë¤Ç¤Ï¡¢ \fIn\fP ¤Ï¥É¥é¥¤¥ÖÈÖ¹æ¤òɽ¤¹¡£
59 ·Ù¹ð: ¤â¤·¡¢¥É¥é¥¤¥Ö¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤è¤ê¿¤¯¤Î¥È¥é¥Ã¥¯¤ò»ý¤Ä¤è¤¦¤Ë
60 ¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤è¤¦¤È¤·¤¿¾ì¹ç¡¢µ¡³£Åª¤Ê¥À¥á¡¼¥¸¤ò°ú¤µ¯¤³¤¹¤«¤âÃΤì¤Ê¤¤¡£
63 °Ê²¼¤Îɽ¤ËÍѤ¤¤é¤ì¤ëÍѸì¤Ïɽ¤ÎÀ°·Á¤Î´Ø·¸¤«¤é
64 (°ì¹Ô¤Ë¤¦¤Þ¤¯Ç¼¤á¤ë»ö¤¬¤Ç¤¤Ê¤«¤Ã¤¿¤¿¤á)
65 ¤«¤é¸¶Ê¸¤Î¤Þ¤Þ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤È¤ÎÂбþ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
73 Base minor # ¥Ù¡¼¥¹¥Þ¥¤¥Ê¡¼¥Ê¥ó¥Ð¡¼
76 ¥á¥Ç¥£¥¢¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ÈÍÆÎ̤ò¼«Æ°Åª¤Ë¸¡½Ð¤¹¤ë¥É¥é¥¤¥ÖÈó°Í¸¤Î¥Ç¥Ð¥¤¥¹
85 5.25 ¥¤¥ó¥ÁÇÜÌ©ÅÙ(double density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
88 Name Capac. Cyl. Sect. Heads Base minor #
90 \fBfd\fP\fIn\fP\fBd360\fP 360K 40 9 2 4
93 5.25 ¥¤¥ó¥Á¹âÌ©ÅÙ(high density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
96 Name Capac. Cyl. Sect. Heads Base minor #
98 \fBfd\fP\fIn\fP\fBh360\fP 360K 40 9 2 20
99 \fBfd\fP\fIn\fP\fBh410\fP 410K 41 10 2 48
100 \fBfd\fP\fIn\fP\fBh420\fP 420K 42 10 2 64
101 \fBfd\fP\fIn\fP\fBh720\fP 720K 80 9 2 24
102 \fBfd\fP\fIn\fP\fBh880\fP 880K 80 11 2 80
103 \fBfd\fP\fIn\fP\fBh1200\fP 1200K 80 15 2 8
104 \fBfd\fP\fIn\fP\fBh1440\fP 1440K 80 18 2 40
105 \fBfd\fP\fIn\fP\fBh1476\fP 1476K 82 18 2 56
106 \fBfd\fP\fIn\fP\fBh1494\fP 1494K 83 18 2 72
107 \fBfd\fP\fIn\fP\fBh1600\fP 1600K 80 20 2 92
110 3.5 ¥¤¥ó¥ÁÇÜÌ©ÅÙ(double density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
113 Name Capac. Cyl. Sect. Heads Base minor #
115 \fBfd\fP\fIn\fP\fBD360\fP 360K 80 9 1 12
116 \fBfd\fP\fIn\fP\fBD720\fP 720K 80 9 2 16
117 \fBfd\fP\fIn\fP\fBD800\fP 800K 80 10 2 120
118 \fBfd\fP\fIn\fP\fBD1040\fP 1040K 80 13 2 84
119 \fBfd\fP\fIn\fP\fBD1120\fP 1120K 80 14 2 88
122 3.5 ¥¤¥ó¥Á¹âÌ©ÅÙ(high density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
125 Name Capac. Cyl. Sect. Heads Base minor #
127 \fBfd\fP\fIn\fP\fBH360\fP 360K 40 9 2 12
128 \fBfd\fP\fIn\fP\fBH720\fP 720K 80 9 2 16
129 \fBfd\fP\fIn\fP\fBH820\fP 820K 82 10 2 52
130 \fBfd\fP\fIn\fP\fBH830\fP 830K 83 10 2 68
131 \fBfd\fP\fIn\fP\fBH1440\fP 1440K 80 18 2 28
132 \fBfd\fP\fIn\fP\fBH1600\fP 1600K 80 20 2 124
133 \fBfd\fP\fIn\fP\fBH1680\fP 1680K 80 21 2 44
134 \fBfd\fP\fIn\fP\fBH1722\fP 1722K 82 21 2 60
135 \fBfd\fP\fIn\fP\fBH1743\fP 1743K 83 21 2 76
136 \fBfd\fP\fIn\fP\fBH1760\fP 1760K 80 22 2 96
137 \fBfd\fP\fIn\fP\fBH1840\fP 1840K 80 23 2 116
138 \fBfd\fP\fIn\fP\fBH1920\fP 1920K 80 24 2 100
141 3.5 ¥¤¥ó¥Á³Èĥ̩ÅÙ(extra density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
144 Name Capac. Cyl. Sect. Heads Base minor #
146 \fBfd\fP\fIn\fP\fBE2880\fP 2880K 80 36 2 32
147 \fBfd\fP\fIn\fP\fBCompaQ\fP 2880K 80 36 2 36
148 \fBfd\fP\fIn\fP\fBE3200\fP 3200K 80 40 2 104
149 \fBfd\fP\fIn\fP\fBE3520\fP 3520K 80 44 2 108
150 \fBfd\fP\fIn\fP\fBE3840\fP 3840K 80 48 2 112
153 \fBfd\fP ¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤Ï¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ë¥í¡¼¥â¡¼¥É
155 ¥¢¥¯¥»¥¹¤¹¤ë¡£\fBfd\fP ¤Ç¤Ï¡¢¼¡¤Î
157 ¥³¡¼¥ë¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
159 ¥É¥é¥¤¥Ö¤Î¥á¥Ç¥£¥¢¾ðÊó(¥É¥é¥¤¥ÖÆâ¤Î¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¾ðÊó)¤ò¥¯¥ê¥¢¤¹
162 ¥É¥é¥¤¥Ö¤Î¥á¥Ç¥£¥¢¾ðÊó¤ò¥»¥Ã¥È¤¹¤ë¡£¥á¥Ç¥£¥¢¾ðÊó¤Ï¥á¥Ç¥£¥¢¤¬¸ò´¹¤µ¤ì¤¿
165 ¥É¥é¥¤¥Ö¤Î¥á¥Ç¥£¥¢¾ðÊó(¥É¥é¥¤¥ÖÆâ¤Î¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¾ðÊó)¤ò¥»¥Ã¥È¤¹
166 ¤ë¡£¥á¥Ç¥£¥¢¾ðÊó¤Ï¥á¥Ç¥£¥¢¤¬¸ò´¹¤µ¤ì¤¿»þ¤Ç¤â¼º¤ï¤ì¤Ê¤¤¡£¤³¤ì¤Ï(¥á¥Ç¥£
167 ¥¢¾ðÊó¤Î)¼«Æ°¸¡½Ð¤ò̵¸ú¤Ë¤¹¤ë¡£¼«Æ°¸¡½Ð¤òºÆ¤Ó͸ú¤Ë¤¹¤ë¤¿¤á¤Ë¡¢
168 \fBFDCLRPRM\fP ¤òȯ¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
169 .IP \fBFDGETDRVTYP\fP
170 ¥É¥é¥¤¥Ö¤Î¥¿¥¤¥×(̾Á°°ú¿ô)¤òÊÖ¤¹¡£¤½¤ì¤¾¤ì¤Î¥É¥é¥¤¥Ö¥¿¥¤¥×¤ËŬ¹ç¤¹¤ë¤è
171 ¤¦¤Ë¥Õ¥©¡¼¥Þ¥Ã¥È¤ò¹Ô¤¦¤¿¤á¡¢\fBFDGETDRVTYP\fP ¤Ï¥Õ¥©¡¼¥Þ¥Ã¥È¤ò¥µ¥Ý¡¼¥È
172 ¤¹¤ëºÇ¤â¸Å¤¤¥É¥é¥¤¥Ö¥¿¥¤¥×¤Î¤¿¤á¤ËŬÀÚ¤Ê̾Á°¤òÊÖ¤¹¡£
174 Í¿¤¨¤é¤ì¤¿¥É¥é¥¤¥Ö¤Î¥Ð¥Ã¥Õ¥¡¥¥ã¥Ã¥·¥å¤ò̵¸ú¤Ë¤¹¤ë¡£
175 .IP \fBFDSETMAXERRS\fP
176 ¥¨¥é¡¼¤ÎÊó¹ð¡¢Áàºî¤ÎÃæ»ß¡¢ºÆ»î¹Ô¡¢¥ê¥»¥Ã¥È¡¢¥»¥¯¥¿¡¼Ëè¤ÎÆɤ߹þ¤ß¤Î¤¿¤á
177 ¤Î¥¨¥é¡¼ïçÃͤò¥»¥Ã¥È¤¹¤ë¡£
178 .IP \fBFDGETMAXERRS\fP
179 ¸½ºß¤Î¥¨¥é¡¼ïçÃͤòÆÀ¤ë¡£
180 .IP \fBFDGETDRVTYP\fP
181 ¥É¥é¥¤¥Ö¤ÎÆâÉô̾¤òÆÀ¤ë¡£
182 .IP \fBFDWERRORCLR\fP
183 ½ñ¤¹þ¤ß¥¨¥é¡¼¤ÎÅý·×¤ò¥¯¥ê¥¢¡¼¤¹¤ë¡£
184 .IP \fBFDWERRORGET\fP
185 ½ñ¤¹þ¤ß¥¨¥é¡¼¤ÎÅý·×¤òÆɤࡣÅý·×¤Ï¡¢½ñ¤¹þ¤ß¥¨¥é¡¼¤Î¹ç·×¡¢ºÇ½é¤Î½ñ¤¹þ
186 ¤ß¥¨¥é¡¼¤Ï¤É¤Î¥Ç¥£¥¹¥¯¤Î¤É¤³¤Çµ¯¤³¤Ã¤¿¤«¡¢¤½¤·¤Æ¡¢ºÇ¸å¤Î½ñ¤¹þ¤ß¥¨¥é¡¼
187 ¤¬¤É¤Î¥Ç¥£¥¹¥¯¤Î¤É¤³¤Çµ¯¤³¤Ã¤¿¤«¤È¤¤¤¦¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë¡£¥Ç¥£¥¹¥¯¤Ï¥Ç¥£
188 ¥¹¥¯¤Î¸ò´¹¤´¤È¤ËÁý¤¨¤ë¥¸¥§¥Í¥ì¡¼¥·¥ç¥óÈÖ¹æ¤Ë¤è¤Ã¤Æ¼±Ê̤µ¤ì¤ë¡£
190 ¿ô¥ß¥êÉäδ֥ɥ饤¥Ö¤Î¥â¡¼¥¿¡¼¤Î¥¹¥¤¥Ã¥Á¤òÀڤ롣¤³¤ì¤Ï¥Ç¥£¥¹¥¯¤Î¥»¥¯¥¿¡¼
191 Ʊ»Î¤¬Àܶᤷ¤¹¤®¤Æ¤¤¤ë¥Ç¥£¥¹¥¯¤Î¥¢¥¯¥»¥¹¤Î¤¿¤á¤ËɬÍפǤ¢¤í¤¦¡£
192 .IP \fBFDSETDRVPRM\fP
193 ¥É¥é¥¤¥Ö¤ÎÍÍ¡¹¤Ê¥Ñ¥é¥á¡¼¥¿¤ò¥»¥Ã¥È¤¹¤ë¡£
194 .IP \fBFDGETDRVPRM\fP
195 (\fBFDSETDRVPRM\fP ¤ò»È¤Ã¤Æ¥»¥Ã¥È¤·¤¿)¥Ñ¥é¥á¡¼¥¿¤òÆɤߤÀ¤¹¡£
196 .IP \fBFDGETDRVSTAT\fP
197 ¥¥ã¥Ã¥·¥å¤µ¤ì¤Æ¤¤¤ë¥É¥é¥¤¥Ö¤Î¾õÂÖ(¥Ç¥£¥¹¥¯¤Î¸ò´¹¡¢¥é¥¤¥È¥×¥í¥Æ¥¯¥È¤Ê
199 .IP \fBFDPOLLDRVSTAT\fP
200 ¥É¥é¥¤¥Ö¤ò¥Ý¡¼¥ê¥ó¥°¤·¤Æ¡¢¤½¤Î¾õÂÖ¤òÊÖ¤¹¡£
201 .IP \fBFDGETFDCSTAT\fP
202 ¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤Î¾õÂÖ¤òÆÀ¤ë¡£
204 ¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤ò¿®Íê¤Ç¤¤ë¾õÂ֤˥ꥻ¥Ã¥È¤¹¤ë¡£
206 ¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤ËÄã¥ì¥Ù¥ë¤Î¥³¥Þ¥ó¥É(raw command)¤òÁ÷¤ë¡£
208 ¤è¤êÀµ³Î¤Ê¾ðÊó¤Î¤¿¤á¤Ë¤Ï¡¢¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤Î¥Þ¥Ë¥å¥¢¥ë¤Ï¤â¤Á¤í
209 ¤ó¡¢\fI<linux/fd.h>\fP ¤È \fI<linux/fdarg.h>\fP ¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë¤â»²¾È¤Î¤³¤È¡£
213 ÍÍ¡¹¤Ê¥Ç¥£¥¹¥¯¤Î¥¿¥¤¥×¤ÇÍÍ¡¹¤Ê¼ïÎà¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÆɤ߽ñ¤¤¬µö¤µ¤ì¤Æ¤¤
214 ¤ë¡£¤·¤«¤·¡¢¤â¤·¥»¥¯¥¿´Ö¤Î¥®¥ã¥Ã¥×¤¬¾®¤µ¤¹¤®¤ë¤è¤¦¤Ë¥Õ¥í¥Ã¥Ô¡¼¤¬¥Õ¥©¡¼
215 ¥Þ¥Ã¥È¤µ¤ì¤¿¤Ê¤é¤Ð¡¢¥È¥é¥Ã¥¯Á´ÂΤΥ¢¥¯¥»¥¹¤Ë¿ôÉÃɬÍפˤʤ뤿¤áÀǽ¤¬Äã
216 ²¼¤¹¤ë¤À¤í¤¦¡£¤³¤ì¤òËɤ°¤¿¤á¤Ë¤Ï¡¢¥¤¥ó¥¿¡¼¥ê¡¼¥Ö¥É¡¦¥Õ¥©¡¼¥Þ¥Ã¥È
217 (interleaved format) ¤òÍѤ¤¤ë¡£
219 .\" Alain Knaff (Alain.Knaff@imag.fr), David Niemi
220 .\" (niemidc@clark.net), Bill Broadhurst (bbroad@netcom.com).
223 .BR floppycontrol (1),
231 .\" ÀÐÀî ËÓ <ishikawa@linux.or.jp>