[Debburn-devel] Re: Problem recording with new system

Vladimir Nadvornik nadvornik at suse.cz
Wed Feb 28 10:01:41 CET 2007


On Tuesday 27 February 2007 20:47, scdbackup at gmx.net wrote:
> Hi,
>
> > ----------------------------------------------------------------------
> > 0    dev='/dev/sr0'   rwrw-- :  'HL-DT-ST'  'DVD-RAM GSA-H30N'
> > ----------------------------------------------------------------------
>
> Ahum. SATA as SCSI. (I got ide-scsi. History is cyclic.)
>
> But /dev/sr* is not a traditional device address for
> Linux sg commands.
>

There is at least one problem with /dev/sg. Most other programs
(for example hal) use /dev/sr for probing optical devices and 
the O_EXCL lock is not shared between sr and sg, thus it does not 
work.
See https://bugzilla.novell.com/show_bug.cgi?id=226019 for details.

Using /dev/sr consistently should be the correct way with recent kernels.


-- 
Vladimir Nadvornik
developer
---------------------------------------------------------------------  
SUSE LINUX, s. r. o.                        e-mail: nadvornik at suse.cz
Lihovarská 1060/12                          tel:+420 284 028 967
190 00 Praha 9                              fax:+420 284 028 951
Czech Republic                              http://www.suse.cz    



More information about the Debburn-devel mailing list