Systemd/rules
Kay Sievers f755fd5657 rules: run vol_id on opticals only if media is found
Opening an optical drive device node without O_NONBLOCK autocloses the
tray, we run vol_id on every media change by kernel emitted "change"
events, which can make it hard to change the media when the tray closes
immediatey again.:) We check for cdrom_id to indicate an existing track,
if no media is found, we will not open the device with vol_id.

Thanks to Christian Krause and DavidZ for debugging and testing.
2008-08-02 10:26:48 +02:00
..
debian rules: Debian update 2008-07-31 10:29:39 +02:00
frugalware
gentoo
packages
redhat
rules.d rules: run vol_id on opticals only if media is found 2008-08-02 10:26:48 +02:00
slackware
suse
Makefile.am