summaryrefslogtreecommitdiff
path: root/extras/gudev/gudevprivate.h
diff options
context:
space:
mode:
authorJan Drzewiecki <jonie@icpnet.pl>2010-10-26 12:10:57 -0400
committerMartin Pitt <martin.pitt@ubuntu.com>2010-10-26 12:10:57 -0400
commitd43e5e5b5a2e27fb75a6e19cca457ca40ad160e4 (patch)
treea78b10052bd22fc95c01a26b5d6f6df6a2cadc92 /extras/gudev/gudevprivate.h
parent81956ed1dcdaf02f8d0fc114421e264d5589fe39 (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 'extras/gudev/gudevprivate.h')
0 files changed, 0 insertions, 0 deletions