Subject: Re: CD-Writer interface (was Re: Real time scheduling in the kernel)
To: Guenther Grau <s_grau@ira.uka.de>
From: Charles M. Hannum <mycroft@mit.edu>
List: current-users
Date: 03/15/1996 01:26:42
   Hmm. while we are at it. Linux presents an interface, through which a
   userland program can send SCSI-commands to the SCSI-devices. The cdwrite
   program uses this raw scsi-interface to access the cd-writer. Do we have
   sth like this in NetBSD as well?

There's an ioctl(2) to do this, SCIOCCOMMAND.

Unfortunately, it's not currently documented, but you can look at the
code in /sys/scsi/scsi_ioctl.c...