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

From: Christoph Hellwig
Date: Fri Feb 10 2006 - 08:00:34 EST


On Thu, Feb 09, 2006 at 07:37:46AM -0500, D. Hazelton wrote:
> read relevant sections of the POSIX and SuS when looking at problems and know
> that the _proper_, _portable_ and _UNIX_ way of accessing devices is via the
> block device special file. For SCSI cd burners the only way (I know of) to
> access them for writing (as /dev/sr0 cannot be opened for "write")

You can access SCSI CDs using /dev/sr* for burning CDs. It's backed by the
same highlevel code as SG_IO on /dev/hd* while the lowerlevel handling is
done transparently by the scsi midlayer, the same code used by /dev/sg* for
the below-blocklayer handling.

-
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/