linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: inconsistent renaming of devices
Date: Wed, 17 Dec 2003 18:13:46 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-107168576124057@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-107165372413670@msgid-missing>

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_id\x1278&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

  reply	other threads:[~2003-12-17 18:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17  9:33 inconsistent renaming of devices Martin Lorenz
2003-12-17 18:13 ` Greg KH [this message]
2004-02-05  6:40 ` Surekha.PC
2004-02-05  8:56 ` Greg KH
2004-02-05  9:56 ` Olaf Hering
2004-02-05 10:11 ` Surekha.PC
2004-02-05 23:49 ` Greg KH
2004-02-05 23:51 ` Greg KH
2004-02-06  0:18 ` Kay Sievers
2004-02-06  6:34 ` Surekha.PC
2004-02-06  9:18 ` 'Kay Sievers'
2004-02-06 11:29 ` Surekha.PC
2004-02-08 14:13 ` Olaf Hering
2004-02-09  5:51 ` Ananth N Mavinakayanahalli
2004-02-09  6:31 ` Olaf Hering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-107168576124057@msgid-missing \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).