Provide a common access method for hard disks
driver ... disk disk_options ... &
Neutrino
- driver
- One of the devb-* drivers.
The
disk options control the driver's interface to
cam-disk.so. If specified, they
must follow the disk keyword:
- maxio=num[@path_id:target:lun]
- Allow I/O transfers of up to num sectors.
If you specify path_id, target and lun,
this option applies only to the specified device; otherwise it applies only to the first device.
The default is 128 sectors.
- name=prefix[@device_number]
- Specify the device prefix and optionally where to start numbering
the devices from:
- disk name=usb names the devices /dev/usb0,
/dev/usb1, and so on
- disk name=usb@2 starts at /dev/usb2,
/dev/usb3, and so on (in the absence of any existing
naming conflicts)
 |
Specify device numbers only on a closed system where you
know all the devices and indexes.
|
The default is hd.
- retries=num@path_id:target:lun
- Set the maximum number of command retries on path N,
target N, and LUN N. The default is 10.
- rmb=true|false@path_id:target:lun
- Set or clear the device as being removable on path N,
target N, and LUN N.
- timeout=g1:g2:g3:rw@path_id:target:lun
- Set the rw and group command timeouts on path N,
target N, and LUN N.
The defaults are the values from the Timeout & Protect mode page
if supported, otherwise 60:90:10:10 (in seconds).
- translation=heads[:sectors[@path_ID[:target[:lun]]]]
- Specify the geometry explicitly; this overrides the geometry from
the BIOS and the partition table.
The arguments are:
- heads and sectors — report this many heads
(and optionally, sectors) to
io-blk.so for hard disks
(default is 64 heads and 32 sectors).
The QNX filesystem doesn't need this information for
normal operation. It's needed only to let
fdisk write
the correct boot cylinder for booting.
- path_ID — the number of the controller to use, where
the first controller is 0 (the default).
- target — for IDE, this is the master (0) or slave (1);
for SCSI, it's the SCSI ID the device is jumpered for.
The default is 0.
- lun — the Logical Unit Number for SCSI;
not needed for IDE.
The default is 0.
- verbose=verbosity@path_id:target:lun
- Set the verbosity level on path N, target N,
and LUN N.
The cam-disk.so provides common access methods (CAMs) for hard disk
devices.
cam-cdrom.so,
cam-optical.so,
devb-*,
fdisk,
fs-*,
io-blk.so