Subject: bug#35175: Cannot reconfigure

From: Ludovic Courtès <[email-masked]>
Date: Mon, 08 Apr 2019 16:46:44 +0200

Danny Milosavljevic <[email-masked]> skribis:

> On Sat, 06 Apr 2019 20:44:45 +0000
> [email-masked] wrote:
>
>> This is not a bug, but your config is wrong here:
>> 
>>   (file-systems
>>    (cons
>>     (file-system (device "my-root")
>> 		 (mount-point "/")
>> 		 (type "ext4")
>> 		 (title 'label))
>>     %base-file-systems))
>> 
>> Delete string  `(title 'label)` and leave like this:
>> 
>>   (file-systems
>>    (cons
>>     (file-system (device "my-root")
>> 		 (mount-point "/")
>> 		 (type "ext4"))
>>     %base-file-systems))
>
> ... why?
>
> I use (title 'label) for more than a year and it works fine.

As a side note, ‘title’ has been deprecated for a year or so.  You
should now write:

  (file-system
    (device (file-system-label "my-root"))
    (mount-point "/")
    (type "ext4"))

See <https://gnu.org/s/guix/manual/en/html_node/File-Systems.html>.

Ludo’.