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 2010-08-29 "Linux" "Linux Programmer's Manual"
45 .\"O fd \- floppy disk device
47 fd \- ¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯(floppy disk)¥Ç¥Ð¥¤¥¹
48 .\"O .SH CONFIGURATION
50 .\"O Floppy drives are block devices with major number 2.
54 .\"O (i.e., user root, group floppy) and have
55 .\"O either mode 0660 (access checking via group membership) or mode 0666
56 .\"O (everybody has access).
58 .\"O numbers encode the device type, drive number, and controller number.
59 .\"O For each device type (that is, combination of density and track count)
60 .\"O there is a base minor number.
61 .\"O To this base number, add the drive's
62 .\"O number on its controller and 128 if the drive is on the secondary
64 .\"O In the following device tables, \fIn\fP represents the
66 ¥Õ¥í¥Ã¥Ô¡¼¥É¥é¥¤¥Ö¤Ï¥á¥¸¥ã¡¼¥Ê¥ó¥Ð¡¼ 2 ¤ò»ý¤Ä¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¤Ç¤¢¤ë¡£
67 °ìÈÌŪ¤Ë¤Ï¡¢¤³¤Î¥Ç¥Ð¥¤¥¹¤Î¥ª¡¼¥Ê¡¼¤Ï
69 (¥ª¡¼¥Ê¡¼ root¡¢¥°¥ë¡¼¥× floppy) ¤Ç¡¢
70 ¥â¡¼¥É 0660 (¥°¥ë¡¼¥×¤Î¹½À®°÷¤Ç¤¢¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹¥Á¥§¥Ã¥¯¤¬¹Ô¤ï¤ì¤ë)¡¢
71 ¤Þ¤¿¤Ï¡¢¥â¡¼¥É 0666 (ï¤Ç¤â¥¢¥¯¥»¥¹¤Ç¤¤ë) ¤Ç¤¢¤ë¡£
72 ¥Þ¥¤¥Ê¡¼¥Ê¥ó¥Ð¡¼¤Ï¥Ç¥Ð¥¤¥¹¤Î¥¿¥¤¥×¡¢¥É¥é¥¤¥Ö¤ÎÈֹ桢
73 ¥³¥ó¥È¥í¡¼¥é¡¼¤ÎÈÖ¹æ¤òÉä¹æ²½¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£¤½¤ì¤¾¤ì¤Î¥Ç¥Ð¥¤¥¹¥¿¥¤¥×
74 (¤³¤ì¤Ï¡¢Ì©ÅÙ (density) ¤È¥È¥é¥Ã¥¯¥«¥¦¥ó¥È (track count) ¤ÎÁȹ礻¤Ç¤¢¤ë)
75 ¤Ï¡¢¥Ù¡¼¥¹¤È¤Ê¤ë¥Þ¥¤¥Ê¡¼¥Ê¥ó¥Ð¡¼¤ò»ý¤Ã¤Æ¤¤¤ë¡£¤³¤Î¥Ù¡¼¥¹¥Ê¥ó¥Ð¡¼¤Ë¤½¤Î
76 ¥³¥ó¥È¥í¡¼¥é¡¼¾å¤Î¥É¥é¥¤¥Ö¥Ê¥ó¥Ð¡¼¤ò²Ã¤¨¤ë¡£¤â¤·¡¢¤½¤Î¥É¥é¥¤¥Ö¤¬ 2 ÈÖÌܤÎ
77 ¥³¥ó¥È¥í¡¼¥é¡¼¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¤Ê¤é¡¢¤µ¤é¤Ë 128 ¤ò²Ã¤¨¤ë¡£¼¡¤Î¥Ç¥Ð¥¤¥¹
78 ¥Æ¡¼¥Ö¥ë¤Ç¤Ï¡¢ \fIn\fP ¤Ï¥É¥é¥¤¥ÖÈÖ¹æ¤òɽ¤¹¡£
80 .\"O \fBWarning: If you use formats with more tracks
81 .\"O than supported by your drive, you may cause it mechanical damage.\fP
82 .\"O Trying once if more tracks than the usual 40/80 are supported should not
83 .\"O damage it, but no warranty is given for that.
84 .\"O If you are not sure, don't create device
85 .\"O entries for those formats, so as to prevent their usage.
86 \fB·Ù¹ð: ¥É¥é¥¤¥Ö¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤è¤ê¤â¿¤¯¤Î¥È¥é¥Ã¥¯¤ò»ý¤Ä¤è¤¦¤Ë
87 ¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤¿¾ì¹ç¡¢¥É¥é¥¤¥Ö¤Ëµ¡³£Åª¤Ê¥À¥á¡¼¥¸¤òÍ¿¤¨¤ë¤³¤È¤Ë¤Ê¤ë
89 Ä̾ï¤Î 40/80 ¤è¤ê¤â¿¤¯¤Î¥È¥é¥Ã¥¯¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò
90 °ìÅٻ¤À¤±¤Ç¤Ï¥É¥é¥¤¥Ö¤Ë¥À¥á¡¼¥¸¤òÍ¿¤¨¤ë¤³¤È¤Ï¤Ê¤¤¤Ï¤º¤À¤¬¡¢
91 ¥À¥á¡¼¥¸¤òÍ¿¤¨¤Ê¤¤¤È¤¤¤¦ÊݾڤϤʤ¤¡£
92 ³Î¿®¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢¤½¤Î¤è¤¦¤Ê»È¤¤Êý¤¬¹Ô¤ï¤ì¤Ê¤¤¤è¤¦¤Ë¡¢
93 ¤½¤¦¤·¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¥É¥é¥¤¥Ö¡¦¥¨¥ó¥È¥ê¤òºîÀ®¤·¤Ê¤¤¤³¤È¡£
96 °Ê²¼¤Îɽ¤ËÍѤ¤¤é¤ì¤ëÍѸì¤Ïɽ¤ÎÀ°·Á¤Î´Ø·¸¤«¤é
97 (°ì¹Ô¤Ë¤¦¤Þ¤¯Ç¼¤á¤ë»ö¤¬¤Ç¤¤Ê¤«¤Ã¤¿¤¿¤á)
98 ¤«¤é¸¶Ê¸¤Î¤Þ¤Þ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤È¤ÎÂбþ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
106 Base minor # ¥Ù¡¼¥¹¥Þ¥¤¥Ê¡¼¥Ê¥ó¥Ð¡¼
109 .\"O Drive-independent device files which automatically detect the media
110 .\"O format and capacity:
111 ¥á¥Ç¥£¥¢¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ÈÍÆÎ̤ò¼«Æ°Åª¤Ë¸¡½Ð¤¹¤ë
112 ¥É¥é¥¤¥ÖÈó°Í¸¤Î¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
120 .\"O 5.25 inch double density device files:
121 5.25 ¥¤¥ó¥ÁÇÜÌ©ÅÙ(double density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
124 Name Capac. Cyl. Sect. Heads Base minor #
126 \fBfd\fP\fIn\fP\fBd360\fP 360K 40 9 2 4
129 .\"O 5.25 inch high density device files:
130 5.25 ¥¤¥ó¥Á¹âÌ©ÅÙ(high density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
133 Name Capac. Cyl. Sect. Heads Base minor #
135 \fBfd\fP\fIn\fP\fBh360\fP 360K 40 9 2 20
136 \fBfd\fP\fIn\fP\fBh410\fP 410K 41 10 2 48
137 \fBfd\fP\fIn\fP\fBh420\fP 420K 42 10 2 64
138 \fBfd\fP\fIn\fP\fBh720\fP 720K 80 9 2 24
139 \fBfd\fP\fIn\fP\fBh880\fP 880K 80 11 2 80
140 \fBfd\fP\fIn\fP\fBh1200\fP 1200K 80 15 2 8
141 \fBfd\fP\fIn\fP\fBh1440\fP 1440K 80 18 2 40
142 \fBfd\fP\fIn\fP\fBh1476\fP 1476K 82 18 2 56
143 \fBfd\fP\fIn\fP\fBh1494\fP 1494K 83 18 2 72
144 \fBfd\fP\fIn\fP\fBh1600\fP 1600K 80 20 2 92
147 .\"O 3.5 inch double density device files:
148 3.5 ¥¤¥ó¥ÁÇÜÌ©ÅÙ(double density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
151 Name Capac. Cyl. Sect. Heads Base minor #
153 \fBfd\fP\fIn\fP\fBD360\fP 360K 80 9 1 12
154 \fBfd\fP\fIn\fP\fBD720\fP 720K 80 9 2 16
155 \fBfd\fP\fIn\fP\fBD800\fP 800K 80 10 2 120
156 \fBfd\fP\fIn\fP\fBD1040\fP 1040K 80 13 2 84
157 \fBfd\fP\fIn\fP\fBD1120\fP 1120K 80 14 2 88
160 .\"O 3.5 inch high density device files:
161 3.5 ¥¤¥ó¥Á¹âÌ©ÅÙ(high density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
164 Name Capac. Cyl. Sect. Heads Base minor #
166 \fBfd\fP\fIn\fP\fBH360\fP 360K 40 9 2 12
167 \fBfd\fP\fIn\fP\fBH720\fP 720K 80 9 2 16
168 \fBfd\fP\fIn\fP\fBH820\fP 820K 82 10 2 52
169 \fBfd\fP\fIn\fP\fBH830\fP 830K 83 10 2 68
170 \fBfd\fP\fIn\fP\fBH1440\fP 1440K 80 18 2 28
171 \fBfd\fP\fIn\fP\fBH1600\fP 1600K 80 20 2 124
172 \fBfd\fP\fIn\fP\fBH1680\fP 1680K 80 21 2 44
173 \fBfd\fP\fIn\fP\fBH1722\fP 1722K 82 21 2 60
174 \fBfd\fP\fIn\fP\fBH1743\fP 1743K 83 21 2 76
175 \fBfd\fP\fIn\fP\fBH1760\fP 1760K 80 22 2 96
176 \fBfd\fP\fIn\fP\fBH1840\fP 1840K 80 23 2 116
177 \fBfd\fP\fIn\fP\fBH1920\fP 1920K 80 24 2 100
180 .\"O 3.5 inch extra density device files:
181 3.5 ¥¤¥ó¥Á³Èĥ̩ÅÙ(extra density)¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë:
184 Name Capac. Cyl. Sect. Heads Base minor #
186 \fBfd\fP\fIn\fP\fBE2880\fP 2880K 80 36 2 32
187 \fBfd\fP\fIn\fP\fBCompaQ\fP 2880K 80 36 2 36
188 \fBfd\fP\fIn\fP\fBE3200\fP 3200K 80 40 2 104
189 \fBfd\fP\fIn\fP\fBE3520\fP 3520K 80 44 2 108
190 \fBfd\fP\fIn\fP\fBE3840\fP 3840K 80 48 2 112
194 .\"O \fBfd\fP special files access the floppy disk drives in raw mode.
197 .\"O calls are supported by \fBfd\fP devices:
198 \fBfd\fP ¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤Ï¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ë¥í¡¼¥â¡¼¥É
200 ¥¢¥¯¥»¥¹¤¹¤ë¡£\fBfd\fP ¤Ç¤Ï¡¢¼¡¤Î
202 ¥³¡¼¥ë¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
203 .\"O .IP \fBFDCLRPRM\fP
204 .\"O clears the media information of a drive (geometry of disk in drive).
206 ¥É¥é¥¤¥Ö¤Î¥á¥Ç¥£¥¢¾ðÊó(¥É¥é¥¤¥ÖÆâ¤Î¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¾ðÊó)¤ò¥¯¥ê¥¢¤¹
208 .\"O .IP \fBFDSETPRM\fP
209 .\"O sets the media information of a drive.
210 .\"O The media information will be
211 .\"O lost when the media is changed.
213 ¥É¥é¥¤¥Ö¤Î¥á¥Ç¥£¥¢¾ðÊó¤ò¥»¥Ã¥È¤¹¤ë¡£¥á¥Ç¥£¥¢¾ðÊó¤Ï¥á¥Ç¥£¥¢¤¬¸ò´¹¤µ¤ì¤¿
215 .\"O .IP \fBFDDEFPRM\fP
216 .\"O sets the media information of a drive (geometry of disk in drive).
217 .\"O The media information will not be lost when the media is changed.
218 .\"O This will disable autodetection.
219 .\"O In order to reenable autodetection, you
220 .\"O have to issue an \fBFDCLRPRM\fP.
222 ¥É¥é¥¤¥Ö¤Î¥á¥Ç¥£¥¢¾ðÊó(¥É¥é¥¤¥ÖÆâ¤Î¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¾ðÊó)¤ò¥»¥Ã¥È¤¹
223 ¤ë¡£¥á¥Ç¥£¥¢¾ðÊó¤Ï¥á¥Ç¥£¥¢¤¬¸ò´¹¤µ¤ì¤¿»þ¤Ç¤â¼º¤ï¤ì¤Ê¤¤¡£¤³¤ì¤Ï(¥á¥Ç¥£
224 ¥¢¾ðÊó¤Î)¼«Æ°¸¡½Ð¤ò̵¸ú¤Ë¤¹¤ë¡£¼«Æ°¸¡½Ð¤òºÆ¤Ó͸ú¤Ë¤¹¤ë¤¿¤á¤Ë¡¢
225 \fBFDCLRPRM\fP ¤òȯ¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
226 .\"O .IP \fBFDGETDRVTYP\fP
227 .\"O returns the type of a drive (name parameter).
228 .\"O For formats which work
229 .\"O in several drive types, \fBFDGETDRVTYP\fP returns a name which is
230 .\"O appropriate for the oldest drive type which supports this format.
231 .IP \fBFDGETDRVTYP\fP
232 ¥É¥é¥¤¥Ö¤Î¥¿¥¤¥×(̾Á°°ú¿ô)¤òÊÖ¤¹¡£¤½¤ì¤¾¤ì¤Î¥É¥é¥¤¥Ö¥¿¥¤¥×¤ËŬ¹ç¤¹¤ë¤è
233 ¤¦¤Ë¥Õ¥©¡¼¥Þ¥Ã¥È¤ò¹Ô¤¦¤¿¤á¡¢\fBFDGETDRVTYP\fP ¤Ï¥Õ¥©¡¼¥Þ¥Ã¥È¤ò¥µ¥Ý¡¼¥È
234 ¤¹¤ëºÇ¤â¸Å¤¤¥É¥é¥¤¥Ö¥¿¥¤¥×¤Î¤¿¤á¤ËŬÀÚ¤Ê̾Á°¤òÊÖ¤¹¡£
235 .\"O .IP \fBFDFLUSH\fP
236 .\"O invalidates the buffer cache for the given drive.
238 Í¿¤¨¤é¤ì¤¿¥É¥é¥¤¥Ö¤Î¥Ð¥Ã¥Õ¥¡¥¥ã¥Ã¥·¥å¤ò̵¸ú¤Ë¤¹¤ë¡£
239 .\"O .IP \fBFDSETMAXERRS\fP
240 .\"O sets the error thresholds for reporting errors, aborting the operation,
241 .\"O recalibrating, resetting, and reading sector by sector.
242 .IP \fBFDSETMAXERRS\fP
243 ¥¨¥é¡¼¤ÎÊó¹ð¡¢Áàºî¤ÎÃæ»ß¡¢ºÆ»î¹Ô¡¢¥ê¥»¥Ã¥È¡¢¥»¥¯¥¿¡¼Ëè¤ÎÆɤ߹þ¤ß¤Î¤¿¤á
244 ¤Î¥¨¥é¡¼ïçÃͤò¥»¥Ã¥È¤¹¤ë¡£
245 .\"O .IP \fBFDSETMAXERRS\fP
246 .\"O gets the current error thresholds.
247 .IP \fBFDGETMAXERRS\fP
248 ¸½ºß¤Î¥¨¥é¡¼ïçÃͤòÆÀ¤ë¡£
249 .\"O .IP \fBFDGETDRVTYP\fP
250 .\"O gets the internal name of the drive.
251 .IP \fBFDGETDRVTYP\fP
252 ¥É¥é¥¤¥Ö¤ÎÆâÉô̾¤òÆÀ¤ë¡£
253 .\"O .IP \fBFDWERRORCLR\fP
254 .\"O clears the write error statistics.
255 .IP \fBFDWERRORCLR\fP
256 ½ñ¤¹þ¤ß¥¨¥é¡¼¤ÎÅý·×¤ò¥¯¥ê¥¢¡¼¤¹¤ë¡£
257 .\"O .IP \fBFDWERRORGET\fP
258 .\"O reads the write error statistics.
259 .\"O These include the total number of
260 .\"O write errors, the location and disk of the first write error, and the
261 .\"O location and disk of the last write error.
262 .\"O Disks are identified by a
263 .\"O generation number which is incremented at (almost) each disk change.
264 .IP \fBFDWERRORGET\fP
265 ½ñ¤¹þ¤ß¥¨¥é¡¼¤ÎÅý·×¤òÆɤࡣÅý·×¤Ï¡¢½ñ¤¹þ¤ß¥¨¥é¡¼¤Î¹ç·×¡¢ºÇ½é¤Î½ñ¤¹þ
266 ¤ß¥¨¥é¡¼¤Ï¤É¤Î¥Ç¥£¥¹¥¯¤Î¤É¤³¤Çµ¯¤³¤Ã¤¿¤«¡¢¤½¤·¤Æ¡¢ºÇ¸å¤Î½ñ¤¹þ¤ß¥¨¥é¡¼
267 ¤¬¤É¤Î¥Ç¥£¥¹¥¯¤Î¤É¤³¤Çµ¯¤³¤Ã¤¿¤«¤È¤¤¤¦¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë¡£¥Ç¥£¥¹¥¯¤Ï¥Ç¥£
268 ¥¹¥¯¤Î¸ò´¹¤´¤È¤ËÁý¤¨¤ë¥¸¥§¥Í¥ì¡¼¥·¥ç¥óÈÖ¹æ¤Ë¤è¤Ã¤Æ¼±Ê̤µ¤ì¤ë¡£
269 .\"O .IP \fBFDTWADDLE\fP
270 .\"O Switch the drive motor off for a few microseconds.
272 .\"O needed in order to access a disk whose sectors are too close together.
274 ¿ô¥ß¥êÉäδ֥ɥ饤¥Ö¤Î¥â¡¼¥¿¡¼¤Î¥¹¥¤¥Ã¥Á¤òÀڤ롣¤³¤ì¤Ï¥Ç¥£¥¹¥¯¤Î¥»¥¯¥¿¡¼
275 Ʊ»Î¤¬Àܶᤷ¤¹¤®¤Æ¤¤¤ë¥Ç¥£¥¹¥¯¤Î¥¢¥¯¥»¥¹¤Î¤¿¤á¤ËɬÍפǤ¢¤í¤¦¡£
276 .\"O .IP \fBFDSETDRVPRM\fP
277 .\"O sets various drive parameters.
278 .IP \fBFDSETDRVPRM\fP
279 ¥É¥é¥¤¥Ö¤ÎÍÍ¡¹¤Ê¥Ñ¥é¥á¡¼¥¿¤ò¥»¥Ã¥È¤¹¤ë¡£
280 .\"O .IP \fBFDGETDRVPRM\fP
281 .\"O reads these parameters back.
282 .IP \fBFDGETDRVPRM\fP
283 (\fBFDSETDRVPRM\fP ¤ò»È¤Ã¤Æ¥»¥Ã¥È¤·¤¿)¥Ñ¥é¥á¡¼¥¿¤òÆɤߤÀ¤¹¡£
284 .\"O .IP \fBFDGETDRVSTAT\fP
285 .\"O gets the cached drive state (disk changed, write protected et al.)
286 .IP \fBFDGETDRVSTAT\fP
287 ¥¥ã¥Ã¥·¥å¤µ¤ì¤Æ¤¤¤ë¥É¥é¥¤¥Ö¤Î¾õÂÖ(¥Ç¥£¥¹¥¯¤Î¸ò´¹¡¢¥é¥¤¥È¥×¥í¥Æ¥¯¥È¤Ê
289 .\"O .IP \fBFDPOLLDRVSTAT\fP
290 .\"O polls the drive and return its state.
291 .IP \fBFDPOLLDRVSTAT\fP
292 ¥É¥é¥¤¥Ö¤ò¥Ý¡¼¥ê¥ó¥°¤·¤Æ¡¢¤½¤Î¾õÂÖ¤òÊÖ¤¹¡£
293 .\"O .IP \fBFDGETFDCSTAT\fP
294 .\"O gets the floppy controller state.
295 .IP \fBFDGETFDCSTAT\fP
296 ¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤Î¾õÂÖ¤òÆÀ¤ë¡£
297 .\"O .IP \fBFDRESET\fP
298 .\"O resets the floppy controller under certain conditions.
300 ¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤ò¿®Íê¤Ç¤¤ë¾õÂ֤˥ꥻ¥Ã¥È¤¹¤ë¡£
301 .\"O .IP \fBFDRAWCMD\fP
302 .\"O sends a raw command to the floppy controller.
304 ¥Õ¥í¥Ã¥Ô¡¼¥³¥ó¥È¥í¡¼¥é¡¼¤ËÄã¥ì¥Ù¥ë¤Î¥³¥Þ¥ó¥É(raw command)¤òÁ÷¤ë¡£
306 .\"O For more precise information, consult also the \fI<linux/fd.h>\fP and
307 .\"O \fI<linux/fdreg.h>\fP include files, as well as the
308 .\"O .BR floppycontrol (1)
310 ¤è¤êÀµ³Î¤Ê¾ðÊó¤Î¤¿¤á¤Ë¤Ï¡¢¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸
311 .BR floppycontrol (1)
312 ¤À¤±¤Ç¤Ê¤¯¡¢¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë \fI<linux/fd.h>\fP ¤È
313 \fI<linux/fdarg.h>\fP ¤â»²¾È¤Î¤³¤È¡£
319 .\"O The various formats permit reading and writing many types of disks.
320 .\"O However, if a floppy is formatted with an inter-sector gap that is too small,
321 .\"O performance may drop,
322 .\"O to the point of needing a few seconds to access an entire track.
323 .\"O To prevent this, use interleaved formats.
324 ÍÍ¡¹¤Ê¥Ç¥£¥¹¥¯¤Î¥¿¥¤¥×¤ÇÍÍ¡¹¤Ê¼ïÎà¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÆɤ߽ñ¤¤¬µö¤µ¤ì¤Æ¤¤¤ë¡£
325 ¤·¤«¤·¡¢¾®¤µ¤¹¤®¤ë¥»¥¯¥¿¡¼´Ö¥®¥ã¥Ã¥×¤Ç¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤¿¥Õ¥í¥Ã¥Ô¡¼¤Ç¤Ï¡¢
326 ¥È¥é¥Ã¥¯Á´ÂΤΥ¢¥¯¥»¥¹¤Ë¿ôÉÃɬÍפˤʤ뤿¤á¡¢Àǽ¤¬Äã²¼¤¹¤ë¤³¤È¤À¤í¤¦¡£
327 ¤³¤ì¤òËɤ°¤¿¤á¤Ë¤Ï¡¢¥¤¥ó¥¿¡¼¥ê¡¼¥Ö¥É¡¦¥Õ¥©¡¼¥Þ¥Ã¥È
328 (interleaved format) ¤òÍѤ¤¤ì¤Ð¤è¤¤¡£
330 .\"O It is not possible to
331 .\"O read floppies which are formatted using GCR (group code recording),
332 .\"O which is used by Apple II and Macintosh computers (800k disks).
333 Apple II ¤ä Macintosh ¥³¥ó¥Ô¥å¡¼¥¿¤Ç»ÈÍѤµ¤ì¤Æ¤¤¤ë¡¢
334 GCR (group code recording) ¤ò»È¤Ã¤Æ¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤¿¥Õ¥í¥Ã¥Ô¡¼
335 (800k ¥Ç¥£¥¹¥¯) ¤òÆɤळ¤È¤Ï¤Ç¤¤Ê¤¤¡£
337 .\"O Reading floppies which are hard sectored (one hole per sector, with
338 .\"O the index hole being a little skewed) is not supported.
339 .\"O This used to be common with older 8-inch floppies.
340 ¥Ï¡¼¥É¥»¥¯¥¿¡¼·¿¤Î¥Õ¥í¥Ã¥Ô¡¼¤ÎÆɤ߹þ¤ß¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤
341 (¥Ï¡¼¥É¥»¥¯¥¿¡¼·¿¤Î¥Õ¥í¥Ã¥Ô¡¼¤Ç¤Ï¡¢¥»¥¯¥¿¡¼Ëè¤Ë¥Û¡¼¥ë (hole) ¤¬°ì¤Ä¤¢¤ê¡¢
342 ¾¯¤·¤º¤ì¤¿°ÌÃ֤˥¤¥ó¥Ç¥Ã¥¯¥¹¥Û¡¼¥ë¤¬Â¸ºß¤¹¤ë)¡£
343 ¤³¤ì¤Ï¡¢ÀΤΠ8 ¥¤¥ó¥Á¥Õ¥í¥Ã¥Ô¡¼¤Ç°ìÈÌŪ¤Ë»È¤ï¤ì¤Æ¤¤¤¿Êý¼°¤Ç¤¢¤ë¡£
346 .\" Alain Knaff (Alain.Knaff@imag.fr), David Niemi
347 .\" (niemidc@clark.net), Bill Broadhurst (bbroad@netcom.com).
351 .BR floppycontrol (1),
358 .\" ÀÐÀî ËÓ <ishikawa@linux.or.jp>