summaryrefslogtreecommitdiff
path: root/extras/edd_id
diff options
context:
space:
mode:
authorJan Drzewiecki <jonie@icpnet.pl>2010-08-08 17:47:08 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-08-08 17:47:08 +0200
commit1ef6c9e9f0f405d1fed403c13c57a233a484bed7 (patch)
treec358b871cc8bf6bdcd7be8bdf5749da1e5591501 /extras/edd_id
parent232f180397d5786d332c6dc5c08b9c01c1772979 (diff)
cdrom_id: Fix detection of reblanked DVD+RW and DVD-RAM
Once formatted, DVD+RW and DVD-RAM discs are always reported "complete" by the drive. Check the if the Volume Descriptor or Volume Descriptor Anchor sectors are empty, and if so, set the status to blank. If the disc is unformatted the blank status is maintained and no reads are issued. If the disc is formatted and read command fails, the status remains set to complete to avoid accidental blanking. Bug-Ubuntu: https://launchpad.net/bugs/581925 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'extras/edd_id')
0 files changed, 0 insertions, 0 deletions