| FD(4) | Special files | FD(4) |
fd - устройство для работы с дисководом
Floppy drives are block devices with major number 2. Typically they are owned by root.floppy and have either mode 0660 (access checking via group membership) or mode 0666 (everybody has access). For the following devices, n is the drive number. It is 0 for the first drive, 1 for the second etc. To get a minor number for a specific drive connected to the first controller, add n to the minor base number. If it is connected to the second controller, add n+128 to the minor base number. Warning: If you use formats with more tracks than supported by your drive, you may damage it mechanically. Trying once if more tracks than the usual 40/80 are supported should not damage it, but no warranty is given for that. Don't create device entries for those formats to prevent their usage if you are not sure.
Файлы устройств, не зависящие от дисковода, которые автоматически определяют формат носителя и ёмкость диска:
| Имя | Base minor # |
| fdn | 0 |
Файлы устройств с носителями 5.25 дюймов с двойной плотностью:
| Имя | Ёмкость | Цил. | Сект. | Головок | Base minor # |
| fdnd360 | 360K | 40 | 9 | 2 | 4 |
Файлы устройств с носителями 5.25 дюйма и повышенной плотностью:
| Имя | Ёмкость | Цил. | Сект. | Головок | Base minor # |
| fdnh360 | 360K | 40 | 9 | 2 | 20 |
| fdnh410 | 410K | 41 | 10 | 2 | 48 |
| fdnh420 | 420K | 42 | 10 | 2 | 64 |
| fdnh720 | 720K | 80 | 9 | 2 | 24 |
| fdnh880 | 880K | 80 | 11 | 2 | 80 |
| fdnh1200 | 1200K | 80 | 15 | 2 | 8 |
| fdnh1440 | 1440K | 80 | 18 | 2 | 40 |
| fdnh1476 | 1476K | 82 | 18 | 2 | 56 |
| fdnh1494 | 1494K | 83 | 18 | 2 | 72 |
| fdnh1600 | 1600K | 80 | 20 | 2 | 92 |
Файлы устройств с носителями 3.5 дюйма и двойной плотностью:
| Имя | Ёмкость | Цил. | Сект. | Головок | Base minor # |
| fdnu360 | 360K | 80 | 9 | 1 | 12 |
| fdnu720 | 720K | 80 | 9 | 2 | 16 |
| fdnu800 | 800K | 80 | 10 | 2 | 120 |
| fdnu1040 | 1040K | 80 | 13 | 2 | 84 |
| fdnu1120 | 1120K | 80 | 14 | 2 | 88 |
Файлы устройств с носителями 3.5 дюйма и повышенной плотностью:
| Имя | Ёмкость | Цил. | Сект. | Головок | Base minor # |
| fdnu360 | 360K | 40 | 9 | 2 | 12 |
| fdnu720 | 720K | 80 | 9 | 2 | 16 |
| fdnu820 | 820K | 82 | 10 | 2 | 52 |
| fdnu830 | 830K | 83 | 10 | 2 | 68 |
| fdnu1440 | 1440K | 80 | 18 | 2 | 28 |
| fdnu1600 | 1600K | 80 | 20 | 2 | 124 |
| fdnu1680 | 1680K | 80 | 21 | 2 | 44 |
| fdnu1722 | 1722K | 82 | 21 | 2 | 60 |
| fdnu1743 | 1743K | 83 | 21 | 2 | 76 |
| fdnu1760 | 1760K | 80 | 22 | 2 | 96 |
| fdnu1840 | 1840K | 80 | 23 | 2 | 116 |
| fdnu1920 | 1920K | 80 | 24 | 2 | 100 |
Файлы устройств с носителями 3.5 дюйма и сверх плотностью:
| Имя | Ёмкость | Цил. | Сект. | Головок | Base minor # |
| fdnu2880 | 2880K | 80 | 36 | 2 | 32 |
| fdnu3200 | 3200K | 80 | 40 | 2 | 104 |
| fdnu3520 | 3520K | 80 | 44 | 2 | 108 |
| fdnu3840 | 3840K | 80 | 48 | 2 | 112 |
Специальные файлы fd обеспечивают доступ к дисководам в режиме без обработки (raw mode). Устройства fd поддерживают следующие вызовы ioctl(2):
За более точной информацией обратитесь также к файлам <linux/fd.h> и <linux/fdreg.h>, а также к справочной странице floppycontrol(1).
The various formats allow one to read and write many types of disks. However, if a floppy is formatted with a too small inter sector gap, performance may drop, up to needing a few seconds to access an entire track. To prevent this, use interleaved formats. It is not possible to read floppies which are formatted using GCR (group code recording), which is used by Apple II and Macintosh computers (800k disks). Reading floppies which are hard sectored (one hole per sector, with the index hole being a little skewed) is not supported. This used to be common with older 8 inch floppies.
/dev/fd*
Alain Knaff (Alain@linux.lu), David Niemi (niemidc@tux.org), Bill Broadhurst (bbroad@netcom.com).
floppycontrol(1), mknod(1), chown(1), getfdprm(1), superformat(1), mount(8), setfdprm(1)
Русский перевод этой страницы руководства разработал(и) Azamat Hackimov <azamat.hackimov@gmail.com>, Dmitry Bolkhovskikh <d20052005@yandex.ru>, Yuri Kozlov <yuray@komyakino.ru>, Иван Павлов <pavia00@gmail.com> и Kirill Rekhov <krekhov.dev@gmail.com>
Этот перевод является свободной программной документацией; он распространяется на условиях общедоступной лицензии GNU (GNU General Public License - GPL, https://www.gnu.org/licenses/gpl-3.0.html версии 3 или более поздней) в отношении авторского права, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ.
Если вы обнаружите какие-либо ошибки в переводе этой страницы руководства, пожалуйста, сообщите об этом разработчику(ам) по его(их) адресу(ам) электронной почты или по адресу списка рассылки русских переводчиков.
| 3 июля 1999 г. | Linux |