chiark / gitweb /
cdrom_id: Swap media state and TOC info probing
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 15 Apr 2010 19:25:57 +0000 (21:25 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 15 Apr 2010 19:29:18 +0000 (21:29 +0200)
Blank CDs do not have a TOC, thus will fail cd_media_toc() (at least with the
"Do not ignore errors from scsi_cmd_run()" fix). Thus probe the media state
first, so that we can properly detect blank media.


No differences found