Subject: Re: changing SCSI device type?
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 11/24/1999 15:58:38
On Wed, Nov 24, 1999 at 04:31:55AM +0100, Hubert Feyrer wrote:
> On 23 Nov 1999, Charles M. Hannum wrote:
> > TRT in this case is to add write support to `cd'.
>
> Whatever you say, that's why I'm asking (plus, some person on this list
> indicated exactly the same solution). Now, how do I do this? :>
>
> I see there's a cdread() and (not too disfunctional looking) cdwrite() in
> sys/dev/scsipi/cd.c and it's also used in conf.c, how to go on from there?
cloning sdwrite() should give you most of the things. Maybe some parts
can be extracted and put in a common function.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--