From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 17 Oct 2003 18:19:23 +0000 Subject: Re: [ANNOUNCE] udev 003 release 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, Oct 17, 2003 at 11:57:16AM -0600, clemens@dwf.com wrote: > > The new udev is nice, and it 'works', but Im still having two problems: > (1) Although the messages file shows that it is reading my > /etc/udev/namedev.config file, the entries are being ignored. > Ive tried both: > LABEL, BUS="usb", serial="0B0201420527B284", NAME="usb_disk" > and > LABEL, BUS="usb", vendor="DMI", NAME="usb_disk" > > and all I get are /udev/ sda, sdb, sdc, sdd, ... as I plug and unplug. If you turn on debugging for the parser in namedev.c by uncommenting the comment at the top of the file: /* define this to enable parsing debugging */ /* #define DEBUG_PARSER */ to look like: /* define this to enable parsing debugging */ #define DEBUG_PARSER It will give you a lot of information about what the parser is reading, and trying to match up with your device. If you could send me the system debug log from when you plug in your device with the DEBUG_PARSER define enabled, I'd be glad to look into it. > /udev, I now get just /udev/sda . Previously (0.2) I got both > sda and sda1 . Needless to say, a mount attempt on /udev/sda1 > now fails. [[ and if I tell it NAME="usb_disk" what should I > expect for the name of the first partition??? > > Am I missing something??? No, I think I broke the partition logic somewhere. I think the name of the first partition in this case should be "usb_disk1". Yeah, it's a hack for now, hopefully some new libsysfs changes in regards to the block sysfs tree will help out with this (it's really hard to determine the partition is different from the main block device right now in udev.) Ah, yeah, udev seg faults right now for partitions. Let me try to track down the bug, give me a bit of time... thanks for letting me know, greg k-h ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ 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