diff options
author | Harald Hoyer <harald@redhat.com> | 2013-02-12 15:19:38 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-03-14 17:32:42 -0400 |
commit | 51631ace7444c20b7a70c4d269c25dfd16e0ce1b (patch) | |
tree | c33589200be49310aec5fdc4cab35af51ba3d008 /rules/60-persistent-storage.rules | |
parent | a93a578bb0ec1165502940a3ae99a2f197256ea2 (diff) |
cdrom_id: add data track count for bad virtual drive implementations
/# /lib/udev/cdrom_id --debug /dev/sr0
probing: '/dev/sr0'
INQUIRY: [AMI ][Virtual CDROM ][1.00]
GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
drive is pre-MMC2 and does not support 46h get configuration command
trying to work around the problem
READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h
no current profile, but disc is present; assuming CD-ROM
READ TOC: len: 12, start track: 1, end track: 1
last track 1 starts at block 0
READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h
ID_CDROM=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
What is missing here is ID_CDROM_MEDIA_TRACK_COUNT_DATA to trigger
blkid in /lib/udev/rules.d/60-persistent-storage.rules
KERNEL=="sr*", ENV{DISK_EJECT_REQUEST}!="?*",
ENV{ID_CDROM_MEDIA_TRACK_COUNT_DATA}=="?*",
ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="", \
IMPORT{builtin}="blkid --noraid"
Diffstat (limited to 'rules/60-persistent-storage.rules')
0 files changed, 0 insertions, 0 deletions