From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 03 Jul 2008 09:02:46 +0000 Subject: Re: not all volume types export UUIDs (was: /dev/disk/by-id Message-Id: <1215075766.9721.51.camel@linux.site> List-Id: References: <20080702102820.GB16076@piper.oerlikon.madduck.net> In-Reply-To: <20080702102820.GB16076@piper.oerlikon.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, 2008-07-03 at 07:30 +0200, martin f krafft wrote: > also sprach Kay Sievers [2008.07.02.1806 +0200]: > > All are only unique per namespace/bus, and should better not be > > mixed. > > Well, but that's my point I suppose. Why do we have to treat the > same drive differently, whether it's on the ATA bus or the USB bus? > > My reason for bringing this up was that I was trying to boot off > a harddrive via USB and had to change all the links, rather than > just watching the system boot off the same disk it has always booted > from. So, what id's/symlinks is the same disk showing for ATA and USB in your case? Only advanced USB bridges read the number from the actual disk, I have a bunch of enclosures here, which show all different id's for the same disk inserted. Also usb-storage needs to encode the target and lun number in the id, for multi-slot devices, so I do not think that will work. Thanks, Kay