From owner-cvs-sys Thu Feb 6 15:18:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA14019 for cvs-sys-outgoing; Thu, 6 Feb 1997 15:18:42 -0800 (PST) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA14014; Thu, 6 Feb 1997 15:18:35 -0800 (PST) Received: from narnia (localhost [127.0.0.1]) by narnia.plutotech.com (8.8.5/8.7.3) with ESMTP id PAA02311; Thu, 6 Feb 1997 15:18:38 -0800 (PST) Message-Id: <199702062318.PAA02311@narnia.plutotech.com> To: Joerg Wunsch cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/scsi worm.c In-reply-to: Your message of "Thu, 06 Feb 1997 14:19:50 PST." <199702062219.OAA10275@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Feb 1997 15:18:38 -0800 From: "Justin T. Gibbs" Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I hope you haven't gotten too far on this yet. As soon as my CAM implementation is complete, this kind of problem disappears. CAM allows "type" drivers to set sharing modes on devices which means that both the cd and the worm driver could attach to the same device and simply change the mode to exclusive access when they are opened. This cleanly solves the problem of "mixed mode" devices without any code duplication. >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. -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================