linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* partition unique identifiers
@ 2002-10-14 15:52 Gary_Lerhaupt
  2002-10-14 17:15 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Gary_Lerhaupt @ 2002-10-14 15:52 UTC (permalink / raw)
  To: linux-hotplug

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: partition unique identifiers
  2002-10-14 15:52 partition unique identifiers Gary_Lerhaupt
@ 2002-10-14 17:15 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-10-14 17:15 UTC (permalink / raw)
  To: linux-hotplug

On Mon, Oct 14, 2002 at 10:52:43AM -0500, Gary_Lerhaupt@Dell.com 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-14 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-14 15:52 partition unique identifiers Gary_Lerhaupt
2002-10-14 17:15 ` Greg KH

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).