RF(4) | Device Drivers Manual (vax) | RF(4) |
rf
— DEC RX01 /
RX02 floppy disk interface
rfc0 at uba? csr 0177170 # RX01/RX02
controller
rf* at rfc? drive? # RX01/RX02 floppy disk drive
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. |
Single density |
d/p/w 20001E78 9 |
d/p/w 20001E7A 92 |
Double density |
d/p/w 20001E78 109 |
d/p/w 20001E7A 92 |
dd(1), tar(1), vax/intro(4), disklabel(5), disklabel(8), mknod(8), mount(8), newfs(8)
The rf driver appeared in NetBSD 2.0. It
is a complete rewrite, not related to the old 4.2BSD
rx
driver.
Jochen Kunz
Writing of a disklabel(5) is not supported. The driver return always the internally fake disklabel.
February 17, 2017 | NetBSD 10.99 |