From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 17 Dec 2003 18:13:46 +0000 Subject: Re: inconsistent renaming of devices 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 Wed, Dec 17, 2003 at 10:33:51AM +0100, Martin Lorenz wrote: > maybe this one has been reported before... > I am not sure if I searched for the right keywords... > > I see the following behaviour in an unpatched udev-008 on kernel > 2.6.0-test11: > > when inserting my memory stick the rule I defined fires, but the devices > I get are somehow inconsistent. > > the rule: > LABEL, BUS="scsi", vendor="Prolific", NAME="stick%n" > > the result (one case) > # ll /udev/ > total 0 > brw-rw-rw- 1 root root 8, 0 Dec 17 08:32 sda > brw-rw-rw- 1 root root 8, 1 Dec 17 08:32 sda1 > brw-rw-rw- 1 root root 8, 2 Dec 17 08:32 sda2 > brw-rw-rw- 1 root root 8, 3 Dec 17 08:32 sda3 > brw-rw-rw- 1 root root 8, 4 Dec 17 08:32 stick4 > > another case: > # ll /udev/ > total 0 > brw-rw-rw- 1 root root 8, 0 Dec 17 08:32 sda > brw-rw-rw- 1 root root 8, 1 Dec 17 08:32 sda1 > brw-rw-rw- 1 root root 8, 2 Dec 17 08:32 sda2 > brw-rw-rw- 1 root root 8, 3 Dec 17 08:32 stick3 > brw-rw-rw- 1 root root 8, 4 Dec 17 08:32 stick4 > > see, what I mean? > > tell me if you need more input (logfiles, etc) Yeah, this is an issue of userspace beating the kernel. I'll be working on fixing this up in udev today. Sorry about that. greg k-h ------------------------------------------------------- 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