Re: not all volume types export UUIDs (was: /dev/disk/by-id symlinks should not include bus) type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-07-02 at 17:49 +0200, martin f krafft wrote:
> also sprach Kay Sievers <kay.sievers@xxxxxxxx> [2008.07.02.1619 +0200]:
> > What kind of id's do you have in mind, which would be the same across
> > buses?
> 
> I don't. I am trying to understand why the bus type is an integral
> part of the /dev/disk/by-id/* links.

Because it's the USB-serial-number, the ATA-serial-string, the
SCSI-INQUIRY-serial-string, the FireWire-gid-number, the dm-name-string,
the md-name-string, the SD-flash-card serial, ..., and not a unique id
on its own. All are only unique per namespace/bus, and should better not
be mixed. 

The exception which would allow us moving the number around is ATA
devices using SCSI, because ATA synthesizes all SCSI data, but I think
we better just create two links in this case, instead of trying to move
all different id's into one namespace.

Thanks,
Kay

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux