From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 20 Apr 2010 19:39:13 +0000 Subject: Re: Extracting system UUID... Message-Id: <20100420193913.GA7238@kroah.com> List-Id: References: <20100420185205.GA5138@mcpierce-desktop.usersys.redhat.com> In-Reply-To: <20100420185205.GA5138@mcpierce-desktop.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Apr 20, 2010 at 03:30:37PM -0400, Darryl L. Pierce wrote: > On Tue, Apr 20, 2010 at 12:11:42PM -0700, Greg KH wrote: > > On Tue, Apr 20, 2010 at 02:52:05PM -0400, Darryl L. Pierce wrote: > > > Does anything return the UUID for the host system? Such as what was > > > returned by hal with: > > > > > > (mcpierce@mcpierce-desktop:~)$ hal-get-property --udi \ > > > /org/freedesktop/Hal/devices/computer --key system.hardware.uuid > > > 00DD19E3-DD3A-DE11-90DA-812C97507C34 > > > > What piece of hardware on the host system would create such a "computer" > > uuid? > > I believe it comes from BIOS. Ah, as Lennart just pointed out, you really don't want to use that, it can't be trusted on a lot of platforms. Unless you don't mind having the same value for lots of different machines :) What do you want to use this value for? thanks, greg k-h