From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Extracting system UUID...
Date: Tue, 20 Apr 2010 20:11:39 +0000 [thread overview]
Message-ID: <20100420201139.GA7844@kroah.com> (raw)
In-Reply-To: <20100420185205.GA5138@mcpierce-desktop.usersys.redhat.com>
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
next prev parent reply other threads:[~2010-04-20 20:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 18:52 Extracting system UUID Darryl L. Pierce
2010-04-20 19:10 ` Lennart Poettering
2010-04-20 19:11 ` Greg KH
2010-04-20 19:30 ` Darryl L. Pierce
2010-04-20 19:39 ` Greg KH
2010-04-20 19:49 ` Darryl L. Pierce
2010-04-20 20:11 ` Greg KH [this message]
2010-04-20 20:16 ` Lennart Poettering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100420201139.GA7844@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).