diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-09-20 19:07:51 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-09-20 19:07:51 +0200 |
commit | ce096702ec01b12ca8af9b4c19f4bb5a83c787a1 (patch) | |
tree | bb99fea8049d85898856bebd9680a4ca30ca7eca /rules/packages/40-pilot-links.rules | |
parent | 4dd9057209a09c523c04abe04a2540768e6b9d4e (diff) |
fix single-session CD detection
ID_CDROM_MEDIA_SESSION_LAST_OFFSET is not set for CDs with only a single
session (i. e. for the vast majority of CDs out there). The previous rules ran
blkid with invalid arguments for these, causing CD detection to fail in
DK-disks and gvfs.
Now check whether we actually have ID_CDROM_MEDIA_SESSION_LAST_OFFSET, and if
not, call blkid without -O for specifying the offset.
Many thanks to Maxim Levitsky for tracking this down!
https://launchpad.net/bugs/431055
Diffstat (limited to 'rules/packages/40-pilot-links.rules')
0 files changed, 0 insertions, 0 deletions