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 インターリーブドフォーマット
38 .\" WORD: geometry ジオメトリ
39 .\" WORD: buffer cache バッファキャッシュ
40 .\" WORD: threshold 閾値
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 を持つブロックデバイスである。
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 一度試すだけではドライブにダメージを与えることはないはずだが、
92 確信がない場合は、そのような使い方が行われないように、
93 そうしたフォーマットのドライブ・エントリを作成しないこと。
96 以下の表に用いられる用語は表の整形の関係から
98 から原文のままとなっています。日本語との対応は以下の通りです。
106 Base minor # ベースマイナーナンバー
109 .\"O Drive-independent device files which automatically detect the media
110 .\"O format and capacity:
111 メディアのフォーマットと容量を自動的に検出する
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 では、次の
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 エラーの報告、操作の中止、再試行、リセット、セクター毎の読み込みのため
245 .\"O .IP \fBFDSETMAXERRS\fP
246 .\"O gets the current error thresholds.
247 .IP \fBFDGETMAXERRS\fP
249 .\"O .IP \fBFDGETDRVTYP\fP
250 .\"O gets the internal name of the drive.
251 .IP \fBFDGETDRVTYP\fP
253 .\"O .IP \fBFDWERRORCLR\fP
254 .\"O clears the write error statistics.
255 .IP \fBFDWERRORCLR\fP
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
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
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>