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/cdrom_id.8 | |
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/cdrom_id.8')
-rw-r--r-- | extras/cdrom_id/cdrom_id.8 | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/extras/cdrom_id/cdrom_id.8 b/extras/cdrom_id/cdrom_id.8 index 4194ae477e..1d4d70dc85 100644 --- a/extras/cdrom_id/cdrom_id.8 +++ b/extras/cdrom_id/cdrom_id.8 @@ -1,17 +1,16 @@ -.TH CDROM_ID 8 "November 2005" "" "Linux Administrator's Manual" +.TH CDROM_ID 8 "April 2008" "" "Linux Administrator's Manual" .SH NAME -cdrom_id \- udev callout to determine the capabilities of cd/dvd drives +cdrom_id \- udev callout to determine the capabilities of optical drives and media .SH SYNOPSIS .BI cdrom_id -[\fI--export\fP] \fIblockdevice\fP +[\fI--export\fP] \fIdevice\fP .SH "DESCRIPTION" .B cdrom_id -is normally called from a udev rule, to provide udev with the capabilities -of a cdrom or dvdrom drive. Udev can use this information to create -symlinks like /dev/cdrom or /dev/dvd to the real device node. +is normally called from a udev rule, to provide udev with the list of +capabilities of a optical drive. .SH USAGE .B cdrom_id -opens the blockdevice node specified at the commandline and prints the +opens the device node specified at the commandline and prints the discovered capabilities. .SH OPTIONS The following commandline switches are supported to specify what cdrom_id @@ -23,5 +22,5 @@ print all values (default) .SH SEE ALSO .BR udev (7) .SH AUTHORS -Developed by Greg Kroah\-Hartman <greg@kroah.com>. +Developed by Kay Sievers <kay.sievers@vrfy.org>. |