From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: using cdrecord
Date: Wed, 5 Aug 1998 05:17:29 +0200 [thread overview]
Message-ID: <199808050317.FAA03381@stefan.sime.com> (raw)
In-Reply-To: <Pine.GSO.3.96.980804215135.8059W-100000@yacht.ee.fit.edu> (message from Christopher Curtis on Tue, 4 Aug 1998 21:58:53 -0400 (EDT))
Hi Christopher !
> > which card, 0,2,0. Since you can query the bus to
> > find out what each device is, I see no problem with
> > the way cdrecord under Linux numbers things.
>
> Neither do I. Having significant Solaris experience, that it how I would
> expect it. The problem is that *Linux* does idiot SCSi remapping. For
> example, right now I have three SCSI devices. A hard drive, tape backup,
> and CD burner. The hard drive came with SCSI ID 6. Linux calls this
> /dev/sda. When I put the CD-ROM (ID 4) into the chain, the hard drive now
> becomes /dev/sdb. Duh? Solaris does it right. Linux does not.
Adding a CD-ROM should not affect disk ordering at all !
I hope that you meant /dev/sga, /sgb.
There is no right or wrong. Linux supports only 16 SCSI-HD's because
we have only 256/256 major minor numbers. This is really bad (and stupid),
but not wrong.
cdrecord uses /dev/sg + an ioctl to get the hda:id:lun. So
scanning /dev/sg* can be used to map relative (/dev/sg*) to
absolute (hda:id:lun). So the minor-# may change but there
is no problem to find absolute devices there at all.
I've ported cdrecord to DU (CAM) last March and there is only a
single device-node (/dev/cam) for all SCSI devices. This requires to build
pseudo fd's for cdrecord (shifting bus/tgt/lun) and demultiplexing
it in scsi_send.
ANSI-CAM would be a nice interface to have in Linux not only because
it has only a single entry. But it's impossible to implement it in a nice
way.
I know that Joerg Schilling likes Solaris very much. But Solaris
SCSI-layer is also proprietary. The only standard out there
is ANSI-CAM (as supported (but a bit broken) under DU).
ciao -
Stefan
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
next prev parent reply other threads:[~1998-08-05 3:19 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-04 16:20 using cdrecord Christopher Curtis
1998-08-04 16:26 ` Nils Faerber
1998-08-04 16:33 ` Christopher Curtis
1998-08-05 2:03 ` David G. Koontz
1998-08-05 2:19 ` SHMMAX (was Re: using cdrecord) Christopher Curtis
1998-08-03 2:50 ` Wes Bauske
1998-08-05 3:19 ` Christopher Curtis
1998-08-03 3:39 ` Wes Bauske
1998-08-05 9:36 ` Quant-X Alpha Linux Support
1998-08-05 19:52 ` Wes Bauske
1998-08-05 13:55 ` Christopher Curtis
1998-08-05 15:48 ` SHMMAX (offtopic) David Champion
1998-08-05 19:42 ` SHMMAX (was Re: using cdrecord) Wes Bauske
1998-08-08 20:20 ` Richard Henderson
1998-08-08 23:46 ` Thomas Bogendoerfer
1998-08-09 1:25 ` Richard Henderson
1998-08-05 5:22 ` Richard Henderson
1998-08-04 16:35 ` SHM (was " David Alan Gilbert
1998-08-04 17:08 ` Nils Faerber
1998-08-05 20:29 ` wade
1998-08-04 16:31 ` using cdrecord Maurice Hilarius
1998-08-04 16:43 ` Michal Jaegermann
1998-08-04 17:00 ` Christopher Curtis
1998-08-04 21:05 ` Michal Jaegermann
1998-08-04 21:14 ` Christopher Curtis
1998-08-03 3:17 ` Wes Bauske
1998-08-05 1:58 ` Christopher Curtis
1998-08-05 2:19 ` Maurice Hilarius
1998-08-05 2:28 ` Christopher Curtis
1998-08-05 4:50 ` Michal Jaegermann
1998-08-05 9:41 ` Quant-X Alpha Linux Support
1998-08-05 3:17 ` Quant-X Alpha Linux Support [this message]
1998-08-05 3:32 ` Christopher Curtis
1998-08-05 4:25 ` Quant-X Alpha Linux Support
1998-08-05 2:15 ` Maurice Hilarius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox