diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-09 23:17:39 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-09 23:17:39 +0200 |
commit | fd7a285e6293fddd3fbc68b519dcd367adeb72c4 (patch) | |
tree | 5752def9554368368ecb65492d065b764d7280d9 /extras/cdrom_id/60-cdrom_id.rules | |
parent | 8b5238670d2e741bc71ae3e79b499682965dc2fd (diff) |
cdrom_id: replace with version which also exports media properties
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
Diffstat (limited to 'extras/cdrom_id/60-cdrom_id.rules')
-rw-r--r-- | extras/cdrom_id/60-cdrom_id.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/cdrom_id/60-cdrom_id.rules b/extras/cdrom_id/60-cdrom_id.rules index b06dafddb7..12fbf63779 100644 --- a/extras/cdrom_id/60-cdrom_id.rules +++ b/extras/cdrom_id/60-cdrom_id.rules @@ -1,3 +1,3 @@ # import optical drive properties -KERNEL=="sr[0-9]*|hd[a-z]|pcd[0-9]*", IMPORT{program}="cdrom_id --export $tempnode" +ACTION=="add|change", KERNEL=="sr[0-9]*|hd[a-z]|pcd[0-9]*", IMPORT{program}="cdrom_id --export $tempnode" |