Public bug reported:

Binary package hint: udev

It appears that when querying the environment of a disk/partition device
node in Intrepid, the DEVTYPE variable doesn't appear to be set, unlike
hardy, where the DEVTYPE variable is set depending on whether the device
node represents a partition, or a disk. Further examination shows that
the DEVTYPE variable for disk/partition should be set in
/etc/udev/rules.d/60-persistent-storage.rules. The same rule is in both
hardy and intrepid, and both appear to have the same contents.

Here is the output firstly from a hardy system, for a disk node,
followed by the output for a disk node on an intrepid install, different
machine.

[EMAIL PROTECTED]:~$ udevadm info --query=env --name=/dev/sda
DEVTYPE=disk
ID_VENDOR=ATA
ID_MODEL=ST3250410AS
ID_REVISION=3.AA
ID_SERIAL=1ATA_ST3250410AS_6RY2X7Z7
ID_SERIAL_SHORT=ATA_ST3250410AS_6RY2X7Z7
ID_TYPE=disk
ID_BUS=scsi
ID_ATA_COMPAT=ST3250410AS_6RY2X7Z7
ID_PATH=pci-0000:00:1f.2-scsi-0:0:0:0

[EMAIL PROTECTED]:~$ udevadm info --query=env --name=/dev/sda
ID_VENDOR=ATA
ID_MODEL=ST320410A
ID_REVISION=3.39
ID_SERIAL=1ATA_ST320410A_3FG27WQR
ID_SERIAL_SHORT=ATA_ST320410A_3FG27WQR
ID_TYPE=disk
ID_BUS=scsi
ID_ATA_COMPAT=ST320410A_3FG27WQR
ID_PATH=pci-0000:00:00.1-scsi-0:0:0:0

The DEVTYPE variable doesn't get set on several intrepid installs I
have, 2 being on physical hardware, one being a virtual machine.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
DEVTYPE is not being set for disk/partition devices.
https://bugs.launchpad.net/bugs/255903
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to