From owner-freebsd-arch@FreeBSD.ORG Mon Mar 30 15:29:17 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 613B0106566C for ; Mon, 30 Mar 2009 15:29:16 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id ED4808FC12 for ; Mon, 30 Mar 2009 15:29:15 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id DE5641CE9A; Mon, 30 Mar 2009 17:29:14 +0200 (CEST) Date: Mon, 30 Mar 2009 17:29:14 +0200 From: Ed Schouten To: Rick Macklem Message-ID: <20090330152914.GW73108@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1gsfN/+pS0/2Ta7u" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: FreeBSD Arch Subject: Re: Unique machine identifier for nfsv4 client X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 15:29:17 -0000 --1gsfN/+pS0/2Ta7u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rick Macklem wrote: > An nfsv4 client needs a unique identifier that is persistent across > reboots. My code currently uses the MAC address of the first net > interface that it can find that has an Ethernet style MAC. Don't we generate a unique uuid on startup? It is stored in the kern.hostuuid sysctl. --=20 Ed Schouten WWW: http://80386.nl/ --1gsfN/+pS0/2Ta7u Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAknQ5UoACgkQ52SDGA2eCwUVQwCaA2LVsBYcWNAP8NFpSV+7EKpD p40An0eSPu+48lVyAAv3IJdJC/VZ0E9h =Ge1Z -----END PGP SIGNATURE----- --1gsfN/+pS0/2Ta7u--