From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K5BgL-0003dj-LK for mharc-grub-devel@gnu.org; Sat, 07 Jun 2008 23:35:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5BgJ-0003cT-Rc for grub-devel@gnu.org; Sat, 07 Jun 2008 23:34:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5BgG-0003ZY-1R for grub-devel@gnu.org; Sat, 07 Jun 2008 23:34:57 -0400 Received: from [199.232.76.173] (port=57502 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5BgF-0003ZG-OW for grub-devel@gnu.org; Sat, 07 Jun 2008 23:34:55 -0400 Received: from c60.cesmail.net ([216.154.195.49]:7253) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1K5Bg2-0001Vs-UD for grub-devel@gnu.org; Sat, 07 Jun 2008 23:34:55 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 07 Jun 2008 23:34:41 -0400 Received: from [192.168.1.46] (pool-71-185-129-251.phlapa.east.verizon.net [71.185.129.251]) by relay.cesmail.net (Postfix) with ESMTP id 92050619058 for ; Sat, 7 Jun 2008 23:34:41 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <1470.88.146.1.38.1212817466.squirrel@drak.ucw.cz> References: <20080531101042.GF6619@thorin> <20080531113901.GA20946@thorin> <20080603210925.GA10712@thorin> <20080606164300.GA14910@thorin> <20080606233131.GA7956@thorin> <1470.88.146.1.38.1212817466.squirrel@drak.ucw.cz> Content-Type: text/plain; charset=iso-8859-2 Date: Sat, 07 Jun 2008 23:34:39 -0400 Message-Id: <1212896079.3071.45.camel@rd> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 (2.22.2-2.fc9) Content-Transfer-Encoding: 8bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] ntfs UUIDs (Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 03:35:00 -0000 On Sat, 2008-06-07 at 07:44 +0200, Tomáš Ebenlendr wrote: > Dne 7 Červen 2008, 01:31, Robert Millan napsal(a): > > This patch adds the 64-bit serial number as UUID. But I'm not sure what > > is the "standard" method to stringify this number. Apparently, Windows > > only prints half of it in the dir command. > > That seems to me as some backward (pronounce: awkward) compatibility of > M$ Volume ID. Volume ID in M$ windows is (as you say) 'xxxx-xxxx' two > 16 bit hexadecimal numbers. And all programs I tested report the number > this way. So if we want user to enter these numbers manually we should > ignore the remaining four bits. Alternatively we can provide utility that > prints out whole serial number. I suggest that you check udev sources: http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/ It calculates UUID for many filesystems (see extras/lib/volime_id/lib). It would be nice to stay compatible with udev. -- Regards, Pavel Roskin