diff options
author | Jan Drzewiecki <jonie@icpnet.pl> | 2010-08-31 00:37:28 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-08-31 00:41:35 +0200 |
commit | 5e267ea5a36de0b2a9a8965ca93dd45bbd6b1a8b (patch) | |
tree | 2b0e508be44b29eeac81a439e6308c4fa9d523e4 /udev/udev-node.c | |
parent | 2458db3edd8d66827b34978ff471dff8f879e9ab (diff) |
cdrom_id: Fix DVD blank detection for sloppy firmware
Reportedly, many CD drive firmwares will only consider the MSB in a READ
command, thus if we request 17 blocks to be read, we'll actually only get 16 in
many cases, and thus miss out the interesting sector #17. This would lead to
falsely considering nonempty DVDs as blank.
Fetch 32 blocks now, which should work everywhere.
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'udev/udev-node.c')
0 files changed, 0 insertions, 0 deletions