Date: Thu, 6 Feb 1997 14:19:50 -0800 (PST) From: Joerg Wunsch <joerg> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi worm.c Message-ID: <199702062219.OAA10275@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702062219.OAA10275>