Re: CD writing in future Linux (stirring up a hornets' nest)

From: Matthias Andree
Date: Tue Jan 31 2006 - 08:39:39 EST


[stripping Cc: list]

Joerg Schilling schrieb am 2006-01-31:

> Martin Mares <mj@xxxxxx> wrote:
>
> > > What Linux does is to artificially prevent this view to been seen from outside the
> > > Linux kernel, or to avoid integrating a particular device into a unique SCSI
> > > driver system although it would be apropriate.
> >
> > How exactly does Linux prevent this???
>
> By not treating ATAPI the same as all other SCSI devices.

Nonsense. cdrecord can access ATAPI devices, fix your libscg device
enumeration.

> > How do you perform -scanbus for TCP/IP? :-)
>
> There are various programs that do that for you.
> You could e.g. send a ping to the broadcast address in order to find hosts
> that are on the local network.

Responding to broadcast ping, at least when outside the LAN, is
considered a security issue.

> > Scanning for all available CD burners is of course a nice feature, but
> > I don't think it should be implemented by asking all existing SCSI-like
> > devices if they are a CD burner (for example because there can be an
> > almost infinite number of them, given that you can do SCSI-over-IP
> > and other similar tricks). The problem of presenting devices to the
>
> And while this kind of scanning works in case that you have all devices
> integrated inside a single SCSI implementation, it does not work for ATAPI
> because someont artificially decided to exclude one single SCSI transport
> from the global view.

You need to work around this anyhow because the already-released 2.6
kernels will not be going away in the next 2 - 3 years even if 2.6
were fixed today.

--
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/