xbmc/xbmc — pull request #3370 by sraue (2013-10-03 02:18:26+00:00)
Title: UDevProvider: add support to handle optical disk add/remove storage hand...

...ling

OpenELEC:~ # udevadm info --query=all --name=/dev/sr1
P: /devices/pci0000:00/0000:00:1c.2/0000:03:00.0/usb6/6-2/6-2:1.0/host4/target4:0:0/4:0:0:0/block/sr1
N: sr1
S: disk/by-id/usb-TSSTcorp_BDDVDW_SE-506BB-0:0
S: disk/by-label/Die\x20letzten\x20Tempelritter
S: disk/by-path/pci-0000:03:00.0-usb-0:2:1.0-scsi-0:0:0:0
E: DEVLINKS=/dev/disk/by-id/usb-TSSTcorp_BDDVDW_SE-506BB-0:0 /dev/disk/by-label/Die\x20letzten\x20Tempelritter /dev/disk/by-path/pci-0000:03:00.0-usb-0:2:1.0-scsi-0:0:0:0
E: DEVNAME=/dev/sr1
E: DEVPATH=/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/usb6/6-2/6-2:1.0/host4/target4:0:0/4:0:0:0/block/sr1
E: DEVTYPE=disk
E: ID_BUS=usb
E: ID_CDROM=1
E: ID_CDROM_BD=1
E: ID_CDROM_BD_R=1
E: ID_CDROM_BD_RE=1
E: ID_CDROM_CD=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RAM=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_MEDIA=1
E: ID_CDROM_MEDIA_BD=1
E: ID_CDROM_MEDIA_SESSION_COUNT=1
E: ID_CDROM_MEDIA_STATE=complete
E: ID_CDROM_MEDIA_TRACK_COUNT=1
E: ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_FOR_SEAT=block-pci-0000_03_00_0-usb-0_2_1_0-scsi-0_0_0_0
E: ID_FS_LABEL=Die_letzten_Tempelritter
E: ID_FS_LABEL_ENC=Die\x20letzten\x20Tempelritter
E: ID_FS_TYPE=udf
E: ID_FS_USAGE=filesystem
E: ID_INSTANCE=0:0
E: ID_MODEL=BDDVDW_SE-506BB
E: ID_MODEL_ENC=BDDVDW\x20SE-506BB\x20
E: ID_MODEL_ID=1956
E: ID_PATH=pci-0000:03:00.0-usb-0:2:1.0-scsi-0:0:0:0
E: ID_PATH_TAG=pci-0000_03_00_0-usb-0_2_1_0-scsi-0_0_0_0
E: ID_REVISION=TS00
E: ID_SERIAL=TSSTcorp_BDDVDW_SE-506BB-0:0
E: ID_TYPE=cd
E: ID_USB_DRIVER=usb-storage
E: ID_USB_INTERFACES=:080250:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=TSSTcorp
E: ID_VENDOR_ENC=TSSTcorp
E: ID_VENDOR_ID=0e8d
E: MAJOR=11
E: MINOR=1
E: SUBSYSTEM=block
E: TAGS=:seat:systemd:uaccess:
E: USEC_INITIALIZED=79068