[email protected]
[Top] [All Lists]

Bug#484512: marked as forwarded (disk/by-id should not include bus-type

Subject: Bug#484512: marked as forwarded disk/by-id should not include bus-type
From: Debian Bug Tracking System
Date: Tue, 01 Jul 2008 16:51:26 +0000
Your message dated Tue, 1 Jul 2008 18:47:11 +0200
with message-id <[email protected]>
has caused the   report #484512,
regarding disk/by-id should not include bus-type
to be marked as having been forwarded to the upstream software
author(s) linux hotplug developers <[email protected]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

484512: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484512
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: /dev/disk/by-id symlinks should not include bus type
From: martin f krafft
Date: Tue, 1 Jul 2008 18:47:11 +0200
Dear udev developers,

Entries in /dev/disk/by-id are prefixed with e.g. ata-* or scsi-* or
usb-* depending on the bus to which a disk is connected. This makes
it impossible to switch disks between busses (e.g. hook an ATA disk
to usbserial and just make it work). I can use by-uuid for
partitions holding filesystems, but swap partitions are not exposed
by-uuid, so those cannot be used across different bus-systems.

IDs are either never guaranteed to be unique (meaning that there
could be two disks with the same ID), in which case having the bus
type there won't help.

Or IDs are unique, then it'll be impossible for the same disk ever
to appear on two busses at the same time.

Therefore, the bus type doesn't need to be kept with the ID in order
to guarantee uniqueness.

I can't imagine a situation in which you'd want to access a disk
only when it's connected to a certain bus. I *can* imagine a use
case where you want to refer to a disk consistently, independent of
the bus type.

Maybe the solution would be to move /dev/disk/by-id to
/dev/disk/by-bus+id and create /dev/disk/by-id to contain what it
promises (and compatibility links for a while).


PS: please keep the Debian bug record on CC. More information
(though not a lot): http://bugs.debian.org/484512

martin | http://madduck.net/ | http://two.sentenc.es/
i'm currently out trying to find myself.
if i should get back before i return,
please keep me here.
spamtraps: [email protected]

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#484512: marked as forwarded (disk/by-id should not include bus-type), Debian Bug Tracking System <=