Messages in this thread | | | Date | Thu, 26 Jan 2006 21:13:10 +0100 | From | Diego Calleja <> | Subject | Re: CD writing in future Linux (stirring up a hornets' nest) |
| |
El Thu, 26 Jan 2006 20:44:02 +0100, Olivier Galibert <galibert@pobox.com> escribió:
> Hmmm, since when? The most recent kernel with a cdrom attached I have > handy is a 2.6.14-rc2, and it does not give a "media" entry.
2.6.16-rc1 here
> Indeed, since the model is not given in sysfs, at least with > 2.6.14-rc2 or previous. There too, /proc/ide has it. I also have no > idea what that "GSA" thing is either.
Oops, I got the command wrong, it can tell you the block device *and* the sysfs path if you use the linux.sysfs_path key (which is non portable key I guess from the name).
But anyway, it just looked at udev and it can do the same:
root@estel 4/home/diego # udevinfo -q path -n /dev/cd-rw /block/hdc
(IOW: /sys/block/hdc)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |