1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
systemd/extras/cdrom_id
Kay Sievers bc913ce478 cdrom_id: set ID_CDROM_MEDIA=1 only for known media
On Sat, Apr 17, 2010 at 18:26, Mike Brudevold <mike@brudevold.com> wrote:
> My CD-RW drive experiences a problem in that it automatically closes
> after opening if there is media in the drive.  This only happens if
> there was media in the drive when it was last closed (an empty drive
> stays open).
...
> cd_profiles: current profile 0x02
> cd_profiles: profile 0x02 <ignored>
...

Do not pretend to have a media, when we receive a profile like 0x02,
which just means "Removable disk".

Thanks to Mike Brudevold for the initial patch.
2010-04-17 19:31:44 +02:00
..
.gitignore extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
60-cdrom_id.rules replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
cdrom_id.c cdrom_id: set ID_CDROM_MEDIA=1 only for known media 2010-04-17 19:31:44 +02:00