Subject: Re: CD-Writer interface (was Re: Real time scheduling in the kernel)
To: Guenther Grau <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
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...