From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Help with a basic GuixSD installation Date: Sun, 05 Jul 2015 04:16:00 -0400 Message-ID: <87r3on3tq7.fsf@netris.org> References: <87mvzh2vkb.fsf@gnu.org> <87r3osw7t5.fsf@gnu.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]:39558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBf67-00046p-8F for guix-devel@gnu.org; Sun, 05 Jul 2015 04:16:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBf63-0004Lf-Vt for guix-devel@gnu.org; Sun, 05 Jul 2015 04:16:23 -0400 In-Reply-To: <87r3osw7t5.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 01 Jul 2015 11:23:02 +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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel , =?utf-8?B?Q2xhZXMgV2FsbGluICjpn4vlmInoqqAp?= ludo@gnu.org (Ludovic Court=C3=A8s) writes: > "Claes Wallin (=E9=9F=8B=E5=98=89=E8=AA=A0)" skribis: > >> So *that's* what the mysterious (title 'label) means! > > It=E2=80=99s not that mysterious: IMO, 'title' is a very confusing name for that field, because its value is not the title of anything, but rather determines how the value of the 'device' field will be interpreted. Unfortunately, I'm having trouble thinking of a concise name for that field that is also descriptive. 'mode' or 'lookup-mode' are the best ideas I have so far. However, to go a bit further: it would be great if all 'device' fields in the OS config used a consistent syntax for specifying devices by label or uuid. I prefer to reference my swap partition by label, so I use "/dev/disk/by-label/=E2=80=A6" in 'swap-partitions', but the lack of symmetry with 'file-system' grates on me. Here's an idea: the values of device fields could be either strings or lists of the form: (uuid "6f8ab=E2=80=A6") (label "foo") Thoughts? Mark