unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: 45974@debbugs.gnu.org
Subject: bug#45974: guix system vm-image ignores filesystem type
Date: Mon, 18 Jan 2021 20:12:04 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.21.2101181955250.2314@marsh.hcoop.net> (raw)

Hi Guix,

I believe that this is a feature request. I would like to create a Guix 
qcow2 image to run as a VM. Additionally, I would like the root file 
system to be btrfs. Therefore, I created an operating system definition 
with the following file-systems:

```
(file-systems (cons (file-system
                      (mount-point "/")
                      (device "/dev/vda1")
                      (type "btrfs")
                      (flags '(no-atime))
                      (options "compress=zstd"))
                     %base-file-systems))
```

I then ran `guix system vm-image --image-size=10G --volatile config.scm`. 
That successfully created a qcow2 image, but the root file system was ext4 
instead of btrfs.

Ideally, I would get an image with a btrfs filesystem. I expect supporting 
all combinations of filesystems and mapped devices might be challenging 
for the image creation process, but some more options might be 
interesting. At the very least, I think a warning or error when the 
requested configuration is not supported would be appropriate.

What do you think about this feature?

Best,
Jack




                 reply	other threads:[~2021-01-19  1:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.DEB.2.21.2101181955250.2314@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=45974@debbugs.gnu.org \
    /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).