diff options
author | Jan Drzewiecki <jonie@icpnet.pl> | 2010-10-26 12:10:57 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-10-26 12:10:57 -0400 |
commit | d43e5e5b5a2e27fb75a6e19cca457ca40ad160e4 (patch) | |
tree | a78b10052bd22fc95c01a26b5d6f6df6a2cadc92 /Makefile.am | |
parent | 81956ed1dcdaf02f8d0fc114421e264d5589fe39 (diff) |
cdrom_id: Fix media state for unreadable DVDs
If the disc is unreadable and reading of the first 32 blocks fails set the
cd_media status to 0 (not present). This will prevent udev from executing blkid
next that tries to determine fs on the disc and which in this case may seem to
hang forever locking the drive.
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions