From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GuixSD bootable ISO-9669 image Date: Tue, 02 May 2017 23:11:05 +0200 Message-ID: <871ss72cd2.fsf@gnu.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> <20170502220904.3f27ce9f@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5f4j-0000QM-Cz for guix-devel@gnu.org; Tue, 02 May 2017 17:11:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5f4e-0008SM-Kr for guix-devel@gnu.org; Tue, 02 May 2017 17:11:13 -0400 In-Reply-To: <20170502220904.3f27ce9f@scratchpost.org> (Danny Milosavljevic's message of "Tue, 2 May 2017 22:09:04 +0200") 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: Danny Milosavljevic Cc: guix-devel@gnu.org Heya, Danny Milosavljevic skribis: > On Tue, 02 May 2017 14:37:04 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Seems to work! > > Nice :) > >> Could you clarify the two =E2=80=9CSee grub=E2=80=9D in here: >>=20 >> --8<---------------cut here---------------start------------->8--- >> (define (iso9660-superblock-uuid sblock) >> "Return the Volume ID of a iso9660 superblock SBLOCK as a 4-byte bytev= ector." >> ;; Note: The field is the volume creation time. >> ;; FIXME Use only certain parts (See grub). >> ;; FIXME treat "all 0" as invalid. >> (sub-bytevector sblock 813 17)) > > Yeah. If you check out grub, /dev/disk/by-uuid or blkid, you can see tha= t for ISO9660 filesystems, it prints the "uuids" differently (because they = are not uuids, they are timestamps...). OK. Are these =E2=80=9CUUIDs=E2=80=9D 160-bit long like the =E2=80=9Creal= =E2=80=9D ones? If they are, I=E2=80=99d suggest ignoring the problem for now. >> Should =E2=80=98iso9660-uuid->string=E2=80=99 be different from =E2=80= =98uuid->string=E2=80=99? > > From a purity standpoint I'd say no. From a compatibility standpoint, ye= s. Makes sense. >> Anyway, I think we should polish and commit real soon. :-) Perhaps we >> can add a note about endianness and assume little endian for now. > > Turns out that for the parts that we need we don't care about the endiann= ess either way. So I dropped the endianness now. Cool. Thanks, Ludo=E2=80=99.