From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: GuixSD bootable ISO-9669 image Date: Tue, 2 May 2017 22:12:02 +0200 Message-ID: <20170502221202.59069d67@scratchpost.org> References: <20170418141719.llp77itz7vyq5rij@abyayala> <87k26hwxt0.fsf@gmail.com> <8760i0m7vg.fsf@gnu.org> <87pog3u3ms.fsf@gmail.com> <87k26afl07.fsf_-_@gmail.com> <20170427190840.79bcaa76@scratchpost.org> <20170427220009.1d0d4607@scratchpost.org> <20170428101844.540ce399@scratchpost.org> <87efw7igen.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5e9d-0001Jj-Np for guix-devel@gnu.org; Tue, 02 May 2017 16:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5e9Y-0001ql-Pa for guix-devel@gnu.org; Tue, 02 May 2017 16:12:13 -0400 In-Reply-To: <87efw7igen.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org > (define (iso9660-superblock-uuid sblock) > "Return the Volume ID of a iso9660 superblock SBLOCK as a 4-byte bytevector." > ;; Note: The field is the volume creation time. > ;; FIXME Use only certain parts (See grub). Grub drops the timezone. So do blkid and /dev/disk/by-uuid . > ;; FIXME treat "all 0" as invalid. The creation timestamp is actually optional in ISO-9660 (in case it's not given it's supposed to be 0) so it could be that the uuids on the system are not all that unique. I think this case should be caught in the generic uuid matcher too.