From: Giovanni Biscuolo <g@xelera.eu>
To: Ian Eure <ian@retrospec.tv>
Cc: help-guix@gnu.org, guix-devel@gnu.org
Subject: Re: declarative partition and format with Guix (was Re: Guix System automated installation)
Date: Wed, 28 Feb 2024 10:53:14 +0100 [thread overview]
Message-ID: <87jzmo5305.fsf@xelera.eu> (raw)
In-Reply-To: <87v8693uw8.fsf@xelera.eu>
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
Giovanni Biscuolo <g@xelera.eu> writes:
[...]
>> but I think this is close to the right track. Either operating-system
>> should be extended to support things like disk partitioning,
the library for doing this with Guile is guile-parted (packaged in
Guix); it's used by the Guix Installer:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/installer/parted.scm
AFAIU this (parted.scm above) is the starting point (the Guix library)
that can be used to develop a program that automates the disk
partitioning and filesystem creation based on a gexp (disk-layout.scm ?)
declaration.
>> and effect those changes at reconfigure time (with suitable
>> safeguards to avoid wrecking existing installs),
>
> I would prefer not, such "reconfigurations" should be done "out of band"
> and not "in band", IMHO
Side note: there is a recent discussion on a "Resize Filesystem Service"
at this thread
id:ZR0P278MB0268910B4FE39A48112CE740C186A@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM
[1]
[...]
Happy hacking! Gio'
[1] https://yhetil.org/guix/ZR0P278MB0268910B4FE39A48112CE740C186A@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM/
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
prev parent reply other threads:[~2024-02-28 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87o7e3ff61.fsf@meson>
[not found] ` <86mstnf599.fsf@riseup.net>
2024-02-26 13:25 ` Guix System automated installation Giovanni Biscuolo
2024-02-27 20:37 ` Ian Eure
2024-02-28 7:33 ` declarative partition and format with Guix (was Re: Guix System automated installation) Giovanni Biscuolo
2024-02-28 9:53 ` Giovanni Biscuolo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzmo5305.fsf@xelera.eu \
--to=g@xelera.eu \
--cc=guix-devel@gnu.org \
--cc=help-guix@gnu.org \
--cc=ian@retrospec.tv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).