plan9 man page for scsi

Query: scsi

OS: plan9

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSI(3) 						     Library Functions Manual							   SCSI(3)

NAME
scsi - SCSI command interface
SYNOPSIS
bind #S /dev /dev/scsiid /dev/0/cmd /dev/0/data /dev/0/debug ...
DESCRIPTION
The scsi interface is accessed through a two-level directory. The scsiid file contains the SCSI id of the host interface, typically 7, represented textually. Some implementations allow this to be changed by writing to the file; in many cases, the higher-order bits are hardware specific. Each SCSI target n (0<=n<=7) is associated with a subdirectory #S/n containing files cmd, data, and debug. The following steps may be used to execute a SCSI command: The command block is written to the cmd file. The data file is either written or read depending on the direction of the transfer. (A command that involves no data transfer is executed with a zero-length write.) The cmd file is read to retrieve the status of the command, returned as a 4-byte big-endian integer. Writing an ASCII to the debug file causes tracing information to be written to /dev/klog; writing a turns the tracing off.
SEE ALSO
wren(3)
SOURCE
/sys/src/9/port/devscsi.c /sys/src/9/*/scsi.c SCSI(3)
Related Man Pages
scsi_arq_status(9s) - opensolaris
uk(4) - netbsd
scsi_arq_status(9s) - minix
scsi_arq_status(9s) - mojave
scsi_arq_status(9s) - v7
Similar Topics in the Unix Linux Community
scsi sda device not mounting !!
Solaris 10 SCSI card question
probe-scsi-all hangs - not returning anything
Unable to send SCSI commands to USB Drive
ISCSI poor performance 1.5MB/s fresh install AIX7.1