From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 27 Jun 2003 03:18:47 +0000 Subject: Re: Question about Hot device Identity Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Jun 27, 2003 at 10:00:55AM +0800, Guo, Min wrote: > So do you mean that I can set my DEVPATH to /sys/block/sr0/? > because there is a dev file in the directory. Yes. > But I wonder why the there are no dev file in directory > /sys/devices/pci0/0000:00:0f.2/usb1/1-1/1-1:0/host2/2:0:0:0/, Accoring > to Flemming's comments,the sysfs will not create a dev file for USB > CDROM, is that right? Correct, there is no dev file in that directory, as the device interacts with the user through the block layer, which is in /sys/block. udev only cares about classes, not devices. > I did set the DEBUG = true, but nothing is outputed. Sorry, don't know, it works for me :) thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ 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