guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with a basic GuixSD installation


From: Evan Rowley
Subject: Re: Help with a basic GuixSD installation
Date: Sun, 5 Jul 2015 21:59:24 -0400

I like Ludovic's idea is going in the right direction.

On Sun, Jul 5, 2015 at 6:33 PM, Ludovic Courtès <address@hidden> wrote:
> Mark H Weaver <address@hidden> skribis:
>
>> address@hidden (Ludovic Courtès) writes:
>>
>>> "Claes Wallin (韋嘉誠)" <address@hidden> skribis:
>>>
>>>> So *that's* what the mysterious (title 'label) means!
>>>
>>> It’s 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.
>
> Yeah, it’s not satisfying, but I didn’t have any better idea.
>
>> 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/…" in 'swap-partitions', but the lack of
>> symmetry with 'file-system' grates on me.
>
> Right, that’s a problem.
>
>> Here's an idea: the values of device fields could be either strings or
>> lists of the form:
>>
>>   (uuid "6f8ab…")
>>   (label "foo")
>>
>> Thoughts?
>
> What about a <device> data type?
>
>   (device
>     (kind 'uuid)
>     (value "6f8ab…"))
>
> Ludo’.
>



-- 
 - EJR



reply via email to

[Prev in Thread] Current Thread [Next in Thread]