Systemd/extras/cdrom_id
Jan Drzewiecki d43e5e5b5a 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>
2010-10-26 12:10:57 -04:00
..
.gitignore extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
60-cdrom_id.rules cdrom_id: only mark sr[0-9]* as ID_CDROM 2010-05-04 09:09:32 +02:00
cdrom_id.c cdrom_id: Fix media state for unreadable DVDs 2010-10-26 12:10:57 -04:00