Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 1996 20:41:18 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        questions@freebsd.org
Subject:   MO disk support ?
Message-ID:  <199605091841.UAA02564@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
Hi,
I have a Sony MO SCSI disk (~120MB) which I'd like to use. Back in 1.1.5
times, I just modified scsiconf.c by adding the following entry

        {
                T_OPTICAL, T_REMOV, "SONY", "SMO-F331-00"
                    ,"1.24", "sd", SC_ONE_LU | SC_SHOWME
        },


in the knowndevs[] array, and everything went fine. I could use the
disk as a regular hd, could even boot from it, and change disks when it
was unmounted.

With 2.1R, this appears not to work: the disk is assigned the
"uk" device instead of "sd" as I'd like to.

scsi_selectdev() returns the correct entry, but then the drive is
somehow not recognised as an "sd" device. I guess the problem occurs
somewhere later in the process, such as in scsi_device_lookup()
or so, but it is not clear to me how to fix this (assuming there is an
easy way ?).

	Thanks for your help
	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605091841.UAA02564>