[Top][All Lists]

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

Re: Resize Filesystem Service

From: Wicki Gabriel (wicg)
Subject: Re: Resize Filesystem Service
Date: Thu, 7 Dec 2023 09:25:43 +0000


Thanks for the input, Felix.  I finally managed to get it to work (with 
additional input from ludo).  I attach the service to this mail.  If people 
think this might be a nice-to-have in upstream guix i'll happily craft a patch.

From: Felix Lechner <>
Sent: Monday, December 4, 2023 9:18 PM
To: Wicki Gabriel (wicg) <>; <>
Subject: Re: Resize Filesystem Service

Hi Gabriel,

On Mon, Dec 04 2023, Wicki Gabriel wrote:

> I crafted the service in the file attached but this doesn't work and i
> neither know where to look nor how to debug the issue.

Writing services is probably more complex than it should be, but it can
be done.

Please have a look at the cachefilesd-service [1] which I wrote together
with Bruno Victal (mirai) and which was accepted, or the Heimdal
Kerberos services that are still waiting for review. [2]

My most immediate suggestion is that I would use define-configuration
even when no serialization (which helps write configuration files) is
needed. Also, you have to think carefully about where to place the
G-Expressions, which can be tough to wrap your mind arround. Finally, I
would use "file-append" instead of string-append for some of the
configurable executable paths.

Kind regards


Attachment: resize-fs.scm
Description: resize-fs.scm

reply via email to

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