Driver for AHCI SATA interfaces (QNX Neutrino)
|You must be root to start this driver.|
devb-ahci [cam option[,option]...] [mem option[,option]...] [ahci option[,option]...] [blk option[,option]...] &
|Use commas (,) to separate the options. You can put the cam, ahci, mem, and blk groups of options in any order.|
|It's up to the startup to set up typed memory. For more information, see “Typed memory” in the “Interprocess Communication (IPC)” chapter of the System Architecture guide.|
The ahci options control the driver's interface to the AHCI controller. If you've installed multiple controllers, you can repeat these options for each controller. Remember, however, to specify the ahci keyword before each controller's set of options.
The blk options control io-blk.so. If specified, they must follow the blk keyword.
The devb-ahci supports the Intel AHCI SATA controller with the following device IDs:
|You need to enable AHCI mode in the BIOS.|
Detect all SATA controllers, and list all connected devices:
Detect all SATA controllers and use a typed memory region named dma (which the startup must have set up):
devb-ahci mem name=/ram/dma &
The devb-ahci driver causes io-blk.so to adopt various block special devices under /dev. These devices are normally named hdn, where n is the physical unit number of the device.
This driver could also require the following shared objects:
|cam-disk.so||For hard-disk access.|
The devb-ahci driver terminates only if an error occurs during startup, or if it has successfully forked itself upon startup because it hadn't been initially started in the background.
Unless overridden with the blk automount= option (see io-blk.so), devices are mounted as:
While there's no limit to the size of a disk or partition, the limit on I/O (i.e., the lseek(), read() and write() functions) depends on the type of filesystem mounted and on whether you use the 32- or 64-bit versions of these functions. This I/O limit has no effect on the partition size for mounted filesystems. The maximum number of blocks is 232.
Known supported functions include:
chmod(), chown(), close(), closedir(), creat(), devctl(), dup(), dup2(), fcntl(), fpathconf(), fstat(), lseek(), mkdir(), mkfifo(), mknod(), open(), opendir(), pathconf(), read(), readdir(), readlink(), rewinddir(), rmdir(), stat(), symlink(), unlink() (not supported for directories), utime(), write()
Note that certain calls (such as pipe(), as well as read() and write() on FIFOs) may require the pipe manager.
cam-*, devb-*, fs-*, io-blk.so
“Filesystems and block I/O (devb-*) drivers” in the Fine-Tuning Your System chapter of the QNX Neutrino User's Guide