Skip to contentSkip to conversation

partition unique identifiers

DISCUSSION [email protected] 2 participants 2 messages Oct 14, 2002

lore
Share & tools
lore
#0 lore raw

I just discovered that via the Intel Extensible Firmware Interface Specification, there are allowances for partition specific unique identifiers. Such a thing would be quite handy within devlabel and I was wondering if anybody knew of any user space programs which currently capture these identifiers? Something like my scsi_unique_id but for partitions.

Not only would this allow for the unique identification of MegaRAID partitions (which currently do not produced IDs), but it would also allow devlabel to handle inter-disk renaming events. So, in the event that /dev/sda6 was deleted and /dev/sda7 became /dev/sda6, the symlink pointing to /dev/sda7 could be rerouted to its new location.

Let me know if you have any insight. Assuming this code doesn't currently exist somewhere, I will be writing it myself. I've also made some bugfixes to devlabel and the latest rev will always be available at www.domsch.com/linux/devlabel.

Also, I'm looking to get some more concrete feedback on whether my simple hotplug patches will make their way into those scripts ( if [ -x /sbin/devlabel]; then /sbin/devlabel restart).

Gary Lerhaupt
Linux Development
Dell Computer Corporation

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 5 lines · On Mon, Oct 14, 2002 at 10:52:43AM -0500, [email protected] wrote:

I just discovered that via the Intel Extensible Firmware Interface Specification, there are allowances for partition specific unique identifiers. Such a thing would be quite handy within devlabel and I was wondering if anybody knew of any user space programs which currently capture these identifiers? Something like my scsi_unique_id but for partitions.

I think with the next round of partition cleanup code from Al Viro, partitions will correctly be exposed in driverfs, so adding these kinds of identifiers there would be quite easy. The patches are available on his ftp site, if you want to take a look.

thanks,

greg k-h

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel