*BSD News Article 21106


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!rutgers!att-out!cbnewsj!dwex
From: dwex@mtgzfs3.att.com (David E. Wexelblat)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Problem with Julian's SCSI drivers
Message-ID: <CDErsF.1Cx@cbnewsj.cb.att.com>
Date: 15 Sep 93 18:38:37 GMT
References: <26reei$e4o@news.ysu.edu> <CD7EyC.4Ax@nas.nasa.gov>
Sender: news@cbnewsj.cb.att.com (NetNews Administrator)
Organization: AT&T Bell Laboratories
Lines: 35
Nntp-Posting-Host: mtgz058.gaz.att.com

In article <CD7EyC.4Ax@nas.nasa.gov> tweten@wilbur.nas.nasa.gov (Dave Tweten) writes:
> In article <26reei$e4o@news.ysu.edu> ap713@yfn.ysu.edu (Christopher L. Mikkelson) writes:
> >  Julian's SCSI drivers don't seem to work on my 386bsd system.  I have an 
> >Adaptec 1542b controller, and a compatible CD-ROM.  The CD-ROM is scsi address
> >2, and is referred to as /dev/as2d.
>                                  ^
> 
> There's your problem.  With Julian's SCSI drivers, the first device
> found for each type is minor device number 0, not minor device number
> <whatever it's SCSI address might happen to be>.  In this case, the
> conventional device name seems to be /dev/cd0d.
> -- 
> ---------------------------------------------------------------------------
> Dave Tweten						tweten@nas.nasa.gov
> NASA Ames Research Center, M/S 258-5			     (415) 604-4416
> Moffett Field, CA  94035-1000				FAX: (415) 604-4377

Which is a horribly bad way to do things.  SVR4 does this, too.  I hate it.
What happens when you remove a device, or one dies?  If I have disks at
SCSI IDs 0, 1, and 2, and disk 1 dies, then the system will see disk 2
as disk 1 at boot time, and all of my filesystems will fail to get mounted
or get mounted from the wrong disk.

Who could possibly think that this is a good idea?  What is wrong with
always having the SCSI ID in the name/minor-number?  It seems the ONLY
correct way to do things.

--
David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871  Fax: (908) 957-5305
AT&T Bell Laboratories, 200 Laurel Ave - 3F-428, Middletown, NJ  07748

XFree86 requests should be addressed to <xfree86@physics.su.oz.au>

"Shining, flying, purple wolfhound, show me where you are."
	Yes, "Yours Is No Disgrace"