*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> atapicam (4)              
Title
Content
Arch
Section
 

ATAPICAM(4)

Contents


NAME    [Toc]    [Back]

     atapicam -- CAM XPT (transport) module for ATAPI devices

SYNOPSIS    [Toc]    [Back]

     device atapicam

DESCRIPTION    [Toc]    [Back]

     The ATAPI/CAM module allows ATAPI devices (CD-ROM, CD-RW, DVD drives,
     floppy drives such as Iomega Zip, tape drives) to be accessed through the
     SCSI subsystem, cam(4).

     ata(4) and scbus(4) must be configured in the kernel as well.  The SCSI
     target drivers (cd(4), da(4), or st(4)) can then be used to access the
     devices.  The generic passthrough device, pass(4), can also be used to
     send SCSI commands directly to the devices through the CAM API.

     A separate CAM bus is created for each ATA bus in the system.  On each of
     these buses, target ID 0 is assigned to the master device, and ID 1 is
     assigned to the slave (provided they are ATAPI devices).

IMPLEMENTATION NOTES    [Toc]    [Back]

     Some SCSI commands are intercepted by the driver, and undergo special
     processing in order to work around limitations of ATAPI devices.  Such
     limitations can be consequences of the ATAPI specification.  For example,
     ATAPI devices do not implement the 6-byte versions of MODE_SELECT,
     MODE_SENSE, READ, or WRITE.  They can also be common bugs, such as hanging
 when queried for extended INQUIRY information.

EXAMPLES    [Toc]    [Back]

	   device atapicam
	   device scbus
	   device cd
	   device pass

     Add the atapicam driver to the kernel.

	   camcontrol devlist

     Print the list of all devices available through CAM.

	   mount -t cd9660 /dev/cd0c /mnt

     Mount a CD-ROM from an ATAPI CD-ROM drive (the command above assumes that
     the ATAPI drive is the only CD-ROM unit).

SEE ALSO    [Toc]    [Back]

      
      
     ata(4), cam(4), scsi(4), atacontrol(8), camcontrol(8)

HISTORY    [Toc]    [Back]

     The ATAPI/CAM driver first appeared in FreeBSD 4.8 and FreeBSD 5.0.

AUTHORS    [Toc]    [Back]

     The ATAPI/CAM driver was written by Thomas Quinot <[email protected]>.

BUGS    [Toc]    [Back]

     atapicam and ATAPI-specific target drivers (acd(4), ast(4), and afd(4))
     can be configured in the same kernel.  Simultaneous access to the same
     device through the SCSI generic drivers and the ATAPI-specific drivers
     may cause problems and is strongly discouraged.


FreeBSD 5.2.1		       October 23, 2002 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
atapi_ide Tru64 Interface for ATAPI or IDE (PC) devices
timod IRIX Transport Interface cooperating STREAMS module
tirdwr Tru64 STREAMS module for reads and writes by TI transport users
tirdwr HP-UX STREAMS module for reads and writes by Transport Interface users
timod HP-UX STREAMS module for converting ioctl() calls into Transport Interface messages
tirdwr IRIX Transport Interface read/write interface STREAMS module
cd OpenBSD ATAPI and SCSI CD-ROM driver
burncd FreeBSD control the ATAPI CD-R/RW driver
atapiscsi OpenBSD ATAPI<->SCSI adapter
wdc NetBSD machine-independent IDE/ATAPI driver
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service