From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 15 Dec 2003 11:54:16 +0000 Subject: Re: udev - namedev configuration. 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 Sun, Dec 14, 2003 at 09:51:55PM -0700, reg@dwf.com wrote: > Ive probably missed something with the rapid evolution of udev, but > Im having a problem with the udev-008 that I just installed. > > I have the configuration line: > > # USB Disk. > LABEL, BUS="usb", vendor="IC25N020", NAME="usb_disk" Is there a file named "vendor" for your disc in /sys? If yes, what is in there? You are missing the number replacement, otherwise only your disk will be named and not the partitions: NAME="usb_disk%n" > in namedev.config. The disk in question has 4 partitions on it. There is no namedev.config in 008, it was renamed to udev.config in 005 and later to udev.rules. > I used to see usb_disk or usb_disk1, but now Im only seeing > > sda > sda1 > sda2 > sda3 > sda4 Thats the default, no rule is matching. Please make sure, as mentioned above if the kernel is exporting the file "vendor" what you are trying to match against. Please try: REPLACE, KERNEL="sda*", NAME="usb_disk%n" This works only for the first scsi-device, but we can see if udev is working. > What am I doing wrong? You can try "make DEBUG=true" an look at udev's debug in your syslog, while connecting the disc. thanks, Kay ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ 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