From owner-cvs-sys Thu Feb 6 14:19:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA10291 for cvs-sys-outgoing; Thu, 6 Feb 1997 14:19:53 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA10275; Thu, 6 Feb 1997 14:19:50 -0800 (PST) Date: Thu, 6 Feb 1997 14:19:50 -0800 (PST) From: Joerg Wunsch Message-Id: <199702062219.OAA10275@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi worm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/02/06 14:19:49 Modified: sys/scsi worm.c Log: After so many people have been bugging me :), finally implement read-mode access to CD-ROM media in the worm(4) driver. No whistles and bells yet, like all the CDIO* commands, but at least a start. In order to do this, i had to slightly rearrange the semantics of an open(2) on the worm driver: now, opening it with O_NONBLOCK set means no actual IO operations will be intended but only ioctls are to be processed. This mode is used by wormcontrol(8) to prepare a track and/or session. I have only been able to test this on a 2.2-GAMMA system by now, and only the !DEVFS part is tested yet. Also, i have only done a dummy burn so far, but wouldn't expect many surprises else. Report bugs to me ASAP, if there's reasonable demand and i hear no objections, i might consider merging it into the 2.2 branch as well. Revision Changes Path 1.32 +80 -52 src/sys/scsi/worm.c