X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=IuKfZ0 RC+SXzQy3NgI7BXCh2OGpYf+55J//hvNDK7wAUIp7hcP2VzWkzAQE60kpJ92JV8X Lmtmb3tx39nueVaSublB9yXRPa9LjF5EhM5N2Vfjnn+ynmHiYiirnaRqboNMcGvk ezpPYqRSIq9kR5SOW/vA+p7l2A4slxIubjLQM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=yx/qZBwpagZ/ OUT2gDMfgVPD0w0=; b=NO1zavLav2zc6nOrF/Lr/oIoGFtHCNCxhgua5zxzhXPt LNH/TT8lRKKVnGMCODt9y8zhmB5ciM7MuGJrot0ZZaaxgM8dPjmD9u03B7YlGh/Y 4YklPHmPoZaREh7LPPXBRBUb8cnPg7nCk/iWOI+F4y3Yc4zEGqJpREz6FEhimJ0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <53F24A52.3010101@redhat.com> Date: Mon, 18 Aug 2014 12:47:46 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: missing read-only files uuid and boot_id References: <0cee33598b90b23ccb89e5df7b70ac5b AT physik DOT tu-berlin DOT de> In-Reply-To: <0cee33598b90b23ccb89e5df7b70ac5b@physik.tu-berlin.de> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BLkfurLAp9sG0XtfIQdXE5hXrbEWHIwhs" X-IsSubscribed: yes --BLkfurLAp9sG0XtfIQdXE5hXrbEWHIwhs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/18/2014 03:46 AM, Dr. Alexander Kleinsorge wrote: > Hi Cygwin team, >=20 > to be more compatible to Linux environment, cygwin should provide 2 more > virtual files: >=20 > The read-only files uuid and boot_id contain random strings like > 6fd5a44b-35f4-4ad4-a9b9-6b9be13e1fe9. > The former is generated afresh for each read, the latter was generated > once. >=20 > they could be easy provided and filled using /dev/urandom It's only random if the BIOS does not have a known string. In the case of Windows, I highly suspect that we are likely to be able to find a known UUID that we should use instead of a random number. Especially since on Linux, the uuid file matches what dmidecode says was reported by BIOS, and there has been a lot of care taken into providing persistent uuid information to virtual machines precisely because Windows is so picky about hardware validation (the machine uuid reported by BIOS is one of the pieces of information Windows uses to tell if it has been installed on new hardware). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --BLkfurLAp9sG0XtfIQdXE5hXrbEWHIwhs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJT8kpSAAoJEKeha0olJ0Nq+9MH/3jT23tBE7i2rhHZ0nCIseoK Z+TgY44GT75hRIqo5UKIGnh9fc4i8JpXUpRLpKIBiwgivr3Nbu2PE4z16W4vzVty 0xFZud+yoiTNmyToGcybuM/xJ2xWCodXZAoXfa1fI9S5PE4I+8g+N+aHGbk6+8Va FTUsbE9e5eKbm0HXmPu/8uia2bEcY5WYGswYupXia2ypqO6qfGERYxl7iwhSeQuS r1Mu0nHHFuqV/DO9qBdHEBoQstX+18GuttDmpAeN5AsWpsxas+cgMs6rRMp3feRJ Dt/bKCeRtMvpUe5mqPyb5+Pdur2ZKiOsIU8Uc+bxoBlR94ft9nX2qdDwGrZ7sNE= =3bh5 -----END PGP SIGNATURE----- --BLkfurLAp9sG0XtfIQdXE5hXrbEWHIwhs--