From owner-freebsd-current Sun Sep 27 00:39:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA25198 for freebsd-current-outgoing; Sun, 27 Sep 1998 00:39:53 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA25192; Sun, 27 Sep 1998 00:39:51 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA01363; Sun, 27 Sep 1998 06:38:24 +0100 From: Luigi Rizzo Message-Id: <199809270538.GAA01363@labinfo.iet.unipi.it> Subject: Re: cd9660 mounts... To: bde@zeta.org.au (Bruce Evans) Date: Sun, 27 Sep 1998 06:38:24 +0100 (MET) Cc: sos@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: <199809262302.JAA09496@godzilla.zeta.org.au> from "Bruce Evans" at Sep 27, 98 09:02:21 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >the diffs for wcd.c are below... atapi-cd.c has similar code, i > >think it will not take more than five minutes to patch > >the cdopen() and cdstart() functions in /sys/scsi ... (except that i > >cannot find the code for cdopen() !) > > They won't work for cd in -current, since it uses slices. You need it does not use slices, it only grabs a few bits from the minor number to identify the track and i happened to use dkslice() because it was doing exactly what i needed. If the macro is not present in -current, then one can simply redefine > cdopen() is a trivial wrapper routine defined in a header in the old > scsi drivers. The main open routine is named cd_open(). In the CAM ok, thanks for the pointer. luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message