DESCRIPTION
The
rf device provides access to DEC RX01 and RX02 floppy disk drives and clones thereof. These drives use preformatted 8" single sided, soft sectored media. The RX01 and RX02 drives use a geometry of 77 cylinders, one head and 26 sectors. Each sector contains 128 bytes in case of single density ( RX01 and RX02 in RX01 mode) or 256 bytes in double density mode. As
NetBSD is not able to handle non-512 byte media the driver translates this to a geometry of 50 cylinders, one head and 10 sectors in single density and 77 cylinders, one head and 13 sectors in double density mode. While the later matches the total number of sectors, the fake geometry in single density does not cover the last two physical sectors exact, but it is possible to access this sectors at 512 byte LBN 501. When a 512 byte block is written to LBN 501 the last 256 bytes are ignored. When this 512 byte block is read the last 256 bytes contain undefined data.
This driver supports three minor devices corresponding to the slices:
Slice |
Description |
a |
Single density only mode. |
b |
Double density only mode. |
c |
Density autodetect. |
As the RX01 and RX02 hardware is not able to support formatting a blank disk, this driver has no support for according IOCTLs. But there are clones from third party vendors that support formatting. Formatting a blank disk may be initiated by the following commands on the VAX chevron prompt:
Single density |
d/p/w 20001E78 9 |
d/p/w 20001E7A 92 |
Double density |
d/p/w 20001E78 109 |
d/p/w 20001E7A 92 |