* Two issues - cdrom_id and duplicate /sys entries
@ 2007-04-29 5:09 Robby Workman
2007-04-29 5:11 ` Robby Workman
0 siblings, 1 reply; 2+ messages in thread
From: Robby Workman @ 2007-04-29 5:09 UTC (permalink / raw)
To: linux-hotplug
First, it seems that /lib/udev/cdrom_id is not exporting correct
information about the capabilities of optical media drives.
This system contains a Lite-On combo cd writer / dvd reader and
an NEC dvd writer drive, but the cdrom_id binary returns this for
each of them:
root@isotope:/lib/udev# ./cdrom_id --export /dev/sr{0,1,2,3}
ID_CDROM=1
See http://rlworkman.net/attr-walk/ for the udevinfo attribute
walks on each of the devices.
Of course, this brings up the second issue: there are only two
optical drives in this box, and there are four devices created.
0 and 2 are essentially "mirrors" of one another, as are 1 and 3.
Interestingly enough, after dumping the udevinfo output to the
files linked above, sr1 and sr3 show different sizes, even though
they are the same drive. A diff of the respective files shows a
few more things that are different, but none as strange as the
size difference... :/
bash-3.2$ grep size sr?-attributes
sr0-attributes: ATTR{size}="2097151"
sr1-attributes: ATTR{size}="4"
sr2-attributes: ATTR{size}="2097151"
sr3-attributes: ATTR{size}="9143552"
Ideas? :)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Two issues - cdrom_id and duplicate /sys entries
2007-04-29 5:09 Two issues - cdrom_id and duplicate /sys entries Robby Workman
@ 2007-04-29 5:11 ` Robby Workman
0 siblings, 0 replies; 2+ messages in thread
From: Robby Workman @ 2007-04-29 5:11 UTC (permalink / raw)
To: linux-hotplug
This is on Slackware -current, but with 2.6.21 kernel and
udev-109. Sorry for omitting that the first time... :/
Robby Workman wrote:
> First, it seems that /lib/udev/cdrom_id is not exporting correct
> information about the capabilities of optical media drives.
> This system contains a Lite-On combo cd writer / dvd reader and
> an NEC dvd writer drive, but the cdrom_id binary returns this for
> each of them:
>
> root@isotope:/lib/udev# ./cdrom_id --export /dev/sr{0,1,2,3}
> ID_CDROM=1
>
> See http://rlworkman.net/attr-walk/ for the udevinfo attribute
> walks on each of the devices.
>
> Of course, this brings up the second issue: there are only two
> optical drives in this box, and there are four devices created.
> 0 and 2 are essentially "mirrors" of one another, as are 1 and 3.
> Interestingly enough, after dumping the udevinfo output to the
> files linked above, sr1 and sr3 show different sizes, even though
> they are the same drive. A diff of the respective files shows a
> few more things that are different, but none as strange as the
> size difference... :/
>
> bash-3.2$ grep size sr?-attributes
> sr0-attributes: ATTR{size}="2097151"
> sr1-attributes: ATTR{size}="4"
> sr2-attributes: ATTR{size}="2097151"
> sr3-attributes: ATTR{size}="9143552"
>
> Ideas? :)
--
http://rlworkman.net
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-29 5:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29 5:09 Two issues - cdrom_id and duplicate /sys entries Robby Workman
2007-04-29 5:11 ` Robby Workman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).