linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Bug in udev 080-1: hda1 point to the same device as hdb1
Date: Mon, 16 Jan 2006 12:47:54 +0000	[thread overview]
Message-ID: <20060116124754.GA10620@vrfy.org> (raw)
In-Reply-To: <43CB666A.2080106@c-s.fr>

On Mon, Jan 16, 2006 at 10:24:58AM +0100, GUILLON Gabriel wrote:
> All is in the subject:
> root jarry:/usr/share/doc/udev# ls -al /udev/hdb1
> 0 lrwxrwxrwx 1 root root 32 2006-01-16 10:16 /udev/hdb1 -> 
> ide/host0/bus1/target1/lun0/part
> root jarry:/usr/share/doc/udev# ls -al /udev/hda1
> 0 lrwxrwxrwx 1 root root 32 2006-01-16 10:16 /udev/hda1 -> 
> ide/host0/bus1/target1/lun0/part

Yes, %b was broken with the udev preparation for a future sysfs
change. Asking udev for "the physical device" will not make sense
in the new sysfs layout, that just has parent devices and does not
distinct between "locigal" and "physical". I didn't know how to implemet
%b while replacing libsysfs in udev. Marco had a nice idea and we
hopefully found a good compromise to make it working again. udev
081, is expected to fix this.

Note: The devfs scheme is completey broken by concept and you should
definitely avoid it. The identification numbers of the disks, that the
devfs scheme assigns your devices is completely unpredictable in a
usual setup and pretty useless cause of this.

Switch to the /dev/disk scheme, that was designed to work reliable
in a modern environment and which solves all these problems.

Thanks,
Kay



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&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:[~2006-01-16 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16  9:24 Bug in udev 080-1: hda1 point to the same device as hdb1 GUILLON Gabriel
2006-01-16 12:47 ` Kay Sievers [this message]

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=20060116124754.GA10620@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --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).