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

From: Kay Sievers
Date: Fri Feb 03 2006 - 13:11:36 EST


On Fri, Feb 03, 2006 at 07:04:21PM +0100, Olivier Galibert wrote:
> On Fri, Feb 03, 2006 at 10:53:50AM -0500, Jim Crilly wrote:
> > A bug in HAL is not a bug in Linux. If the HAL people need to make some
> > changes to their daemon to make it play nice with cdrecord and the like
> > that's fine, but telling people here makes no sense.
>
> Actually, since at that point in time HAL is the only way to do device
> discovery with the linux kernel, problems in HAL are problems in
> linux. There is *no* other way than HAL to do the mapping between a
> point in the sysfs tree and a device node in /dev[1].

That's all nonsense!

$ udevinfo -r -q name -p /block/sr0
/dev/sr0

$ udevinfo -q path -n /dev/sr0
/block/sr0

$ udevinfo -q all -p /block/sr0
P: /block/sr0
N: sr0
S: disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0
S: cdrecorder
S: cdrom
E: ID_VENDOR=MATSHITA
E: ID_MODEL=DVD-RAM_UJ-822S
E: ID_REVISION=1.61
E: ID_SERIAL=
E: ID_TYPE=cd
E: ID_BUS=scsi
E: ID_PATH=pci-0000:00:1f.2-scsi-1:0:0:0

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