Re: Udev issues in today's coming rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 03, 2006 at 06:44:06AM +0100, Harald Hoyer wrote:
> John Thacker wrote:
> >>/dev/disk/by-id/
> >
> >Which of course doesn't work for CDROMs 
> >
> Huh?
> 
> $ tree /dev/disk/by-id/
> /dev/disk/by-id/
> |-- ata-PIONEER_DVD-RW_DVR-105_BKDL086471WL -> ../../hdd

Well, it certainly doesn't work on mine.  From looking at the rules,
it has something to do with both optical drives having no ID_SERIAL 
environment variable, since /dev/disk/by-id/ doesn't get created in
that case.  I was wondering if that was just me.  I kind of assumed
it wasn't, since the drives have different badges and one is a DVD-RW
while one is a CDRW.

$ udevinfo -q all -n /dev/hdc
P: /block/hdc
N: hdc
S: cdrom
S: cdrom-hdc
S: dvd
S: dvd-hdc
S: cdwriter
S: cdwriter-hdc
S: cdrw
S: cdrw-hdc
S: dvdwriter
S: dvdwriter-hdc
S: dvdrw
S: dvdrw-hdc
S: disk/by-path/pci-0000:00:09.0-ide-1:0
E: ID_TYPE=cd
E: ID_MODEL=_NEC_DVD_RW_ND-3520A
E: ID_SERIAL=
E: ID_REVISION=1.04
E: ID_BUS=ata
E: ID_PATH=pci-0000:00:09.0-ide-1:0

$ udevinfo -q all -n /dev/hdd
P: /block/hdd
N: hdd
S: cdrom
S: cdrom-hdd
S: cdwriter
S: cdwriter-hdd
S: cdrw
S: cdrw-hdd
S: disk/by-path/pci-0000:00:09.0-ide-1:1
E: ID_TYPE=cd
E: ID_MODEL=LITE-ON_LTR-24102B
E: ID_SERIAL=
E: ID_REVISION=5S5A
E: ID_BUS=ata
E: ID_PATH=pci-0000:00:09.0-ide-1:1

compared to

$ udevinfo -q all -n /dev/hda
P: /block/hda
N: hda
S: disk/by-id/ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191
S: disk/by-path/pci-0000:00:09.0-ide-0:0
E: ID_TYPE=disk
E: ID_MODEL=WDC_WD1200JB-75CRA0
E: ID_SERIAL=WD-WMA8C4186191
E: ID_REVISION=16.06V16
E: ID_BUS=ata
E: ID_PATH=pci-0000:00:09.0-ide-0:0

and
$ udevinfo -q all -n /dev/hdb
P: /block/hdb
N: hdb
S: disk/by-id/ata-MAXTOR_6L080J4_664131818222
S: disk/by-path/pci-0000:00:09.0-ide-0:1
E: ID_TYPE=disk
E: ID_MODEL=MAXTOR_6L080J4
E: ID_SERIAL=664131818222
E: ID_REVISION=A93.0500
E: ID_BUS=ata
E: ID_PATH=pci-0000:00:09.0-ide-0:1

results in
$ tree /dev/disk/by-id/
/dev/disk/by-id/
|-- ata-MAXTOR_6L080J4_664131818222 -> ../../hdb
|-- ata-MAXTOR_6L080J4_664131818222-part1 -> ../../hdb1
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191 -> ../../hda
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part1 -> ../../hda1
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part10 -> ../../hda10
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part2 -> ../../hda2
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part5 -> ../../hda5
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part6 -> ../../hda6
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part7 -> ../../hda7
|-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part8 -> ../../hda8
`-- ata-WDC_WD1200JB-75CRA0_WD-WMA8C4186191-part9 -> ../../hda9

John Thacker

Attachment: pgpsDdSof8tkF.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux