lkml.org 
[lkml]   [2006]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2006-01-26 21:16    [W:0.169 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site