summaryrefslogtreecommitdiff
path: root/extras/cdrom_id/60-cdrom_id.rules
AgeCommit message (Collapse)Author
2012-01-06merge udev/, libudev/, systemd/ files in src/; move extras/ to src/Kay Sievers
2012-01-01remove mknod() logic and rely on 'devtmpfs'Kay Sievers
2011-06-18cdrom_id: add tray lock and eject handlingKay Sievers
2011-05-16cdrom_id: remove unused --export switch to silent gccKay Sievers
2011-04-04Avoid spinning up CD on pressing eject buttonMartin Pitt
When the CD tray door is locked and the hardware eject button is pressed, newer kernels (2.6.38+) will send out a change event with a DISK_EJECT_REQUEST==1 property. Do not run cdrom_id and blkid in this case, as the media state and contents does not change, and this only needlessly spins up the drive again right before ejection.
2010-05-04cdrom_id: only mark sr[0-9]* as ID_CDROMHarald Hoyer
we cannot be sure for xvd*
2010-04-12replace "add|change" with "!remove"Kay Sievers
2010-04-12cdrom_id: always set ID_CDROM regardless if we can run cdrom_idKay Sievers
2009-12-15cdrom_id: remove deprecated device matchesKay Sievers
2009-04-17cdrom_id: add Xen cdrom supportKay Sievers
2008-04-09cdrom_id: replace with version which also exports media propertiesKay Sievers
This is a 12 track audio CD with additional data session: $ extras/cdrom_id/cdrom_id /dev/dvd ID_CDROM=1 ID_CDROM_CD_R=1 ID_CDROM_CD_RW=1 ID_CDROM_DVD=1 ID_CDROM_DVD_R=1 ID_CDROM_DVD_RW=1 ID_CDROM_DVD_RAM=1 ID_CDROM_DVD_PLUS_R=1 ID_CDROM_DVD_PLUS_RW=1 ID_CDROM_DVD_PLUS_R_DL=1 ID_CDROM_MEDIA_CD=1 ID_CDROM_MEDIA_STATE=complete ID_CDROM_MEDIA_HAS_AUDIO=1 ID_CDROM_MEDIA_SESSION_COUNT=2 ID_CDROM_MEDIA_TRACK_COUNT=13 ID_CDROM_MEDIA_SESSION_LAST_OFFSET=444508160
2006-09-05cdrom_id: add rules file to call cdrom_idKay Sievers