From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 20 Apr 2010 20:11:39 +0000 Subject: Re: Extracting system UUID... Message-Id: <20100420201139.GA7844@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:49:28PM -0400, Darryl L. Pierce wrote: > On Tue, Apr 20, 2010 at 12:39:13PM -0700, Greg KH wrote: > > 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? > > It's going to be used to persistently and uniquely identify systems in a > network. The hostname can't be used since it's possible for a system to > come up with a different hostname within DHCP. Try using the dbus id like was pointed out. Otherwise you will have lots of problems if people with the same type of machine connect to a network (as is common in business settings.) good luck, greg k-h