From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +KiXDQPis1/MbgAA0tVLHw (envelope-from ) for ; Tue, 17 Nov 2020 14:45:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iKxsCQPis19EXgAA1q6Kng (envelope-from ) for ; Tue, 17 Nov 2020 14:45:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AA74094043A for ; Tue, 17 Nov 2020 14:45:22 +0000 (UTC) Received: from localhost ([::1]:46390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf2ET-0002Jv-LU for larch@yhetil.org; Tue, 17 Nov 2020 09:45:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf2EA-0002Ii-Ku for bug-guix@gnu.org; Tue, 17 Nov 2020 09:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kf2EA-0004rP-9e for bug-guix@gnu.org; Tue, 17 Nov 2020 09:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kf2EA-0006za-5a for bug-guix@gnu.org; Tue, 17 Nov 2020 09:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44353: [PATCH version-1.2.0 v2] guix: system: Add a new '--non-volatile' option for disk-image. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 17 Nov 2020 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44353 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Mathieu Othacehe Received: via spool by 44353-submit@debbugs.gnu.org id=B44353.160562429926852 (code B ref 44353); Tue, 17 Nov 2020 14:45:02 +0000 Received: (at 44353) by debbugs.gnu.org; 17 Nov 2020 14:44:59 +0000 Received: from localhost ([127.0.0.1]:58789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf2E7-0006z1-Cr for submit@debbugs.gnu.org; Tue, 17 Nov 2020 09:44:59 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:36562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf2E4-0006yl-9m for 44353@debbugs.gnu.org; Tue, 17 Nov 2020 09:44:58 -0500 Received: by mail-qt1-f182.google.com with SMTP id 3so15735068qtx.3 for <44353@debbugs.gnu.org>; Tue, 17 Nov 2020 06:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UJVcDKqktQjdrv4nrai+l9ncPBgjLuq7xDNileg6dqo=; b=D2nxhOUMi+mhASqBeZItO5jIVEpzrH5D/v9VXi447++6EUPv2UG4w/7LbIfGOoYcBP 0WBcAXlYAkaDk2FW4pQLT56wgbn6/v1WvFkDJPDe9CgjEOwKTTdd/VtKqpP/pQOpJMnK 0kCYD989FklGxP7Dea9Gm49ELuh/3EUgqfYyyefOYRT2V7LP0uOXunKwzk4TyiE9AU+m QJg9fmY2PE0gFLLS4TrwWHpdoFNsmHi9RiqXxWTcZHCjCSKycEQRbijaep6/Q9D6fBW9 +hwaBvIGjRdVaRbNnYIBLSDauQzb6/dfmoGus8qolOfeg+MGkcpIpENM7Wimu0q5So38 HzIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UJVcDKqktQjdrv4nrai+l9ncPBgjLuq7xDNileg6dqo=; b=K/ebiHW6S/ZadbhhGKAQUEKjjuLuaVkEKEph2C/6sWFGaCzDzEBl+Lm1hYK9HwzOPF JprCzfUO3n3AQsq+Bp0IP0JMtCPLJmWtjyrk6qrXErUTgZ1Dtr2Iti1rKXZr3oDrJml+ HIPEIFZaM+FsEIZU/OS9qvoevVsT/UHTaJz1/sUNwQPt8EIFC0JGk59K6fotzKn6tetp xeEqCpAVKQKi6xnj2WWN13GFSEuQgLj06vHfo+t7Dt5iOwRaWH7YsdbBMGUksqIV06GF yo2ktfPLPkdIRdQ+8IzcWj62xyVyJl5iDN3WlcPuGabJxAc0Gz56iSkZYAiFCYO1EIIs pWSw== X-Gm-Message-State: AOAM533aJNWVE/d9/i05WKgsCcqKfVh28qdQHzul3OjBkAQgUL2rtiJL Rb97koYXtFrMOnnKBiSNo6I= X-Google-Smtp-Source: ABdhPJyss8uyHADZ897AWFj5IbCyv522sLSA2+OXSzk0WePC2r2QwwCl5my3oX7mXoykf8xNYypdqw== X-Received: by 2002:ac8:1288:: with SMTP id y8mr19350789qti.177.1605624290368; Tue, 17 Nov 2020 06:44:50 -0800 (PST) Received: from hurd (dsl-205-236-230-198.b2b2c.ca. [205.236.230.198]) by smtp.gmail.com with ESMTPSA id n125sm10598757qkd.85.2020.11.17.06.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 06:44:49 -0800 (PST) From: Maxim Cournoyer References: <87h7q0cdns.fsf@gnu.org> <20201112070917.11794-1-maxim.cournoyer@gmail.com> <877dqrvums.fsf@gnu.org> <87h7pufwop.fsf@gmail.com> <87r1oyjyhx.fsf@gnu.org> Date: Tue, 17 Nov 2020 09:44:49 -0500 In-Reply-To: <87r1oyjyhx.fsf@gnu.org> (Mathieu Othacehe's message of "Thu, 12 Nov 2020 18:06:34 +0100") Message-ID: <87tutoavq6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44353@debbugs.gnu.org, Jesse Gibbons Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=D2nxhOUM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: g9Zg/M/dq/As Hello Mathieu, Mathieu Othacehe writes: [...] > When developing the image API, I hesitated keeping the default of using > volatile root file systems by default. > > In most cases, I think that the user may prefer to have non volatile > images. They already have to copy the image from the store and make it > writable so that QEMU can use it with "-hda" argument. > > Switching the default to non volatile could be an option I think. Doing > what you are proposing: setting volatile to false when image-size is > passed could also be a first step. Hi Mathieu! As I mentioned in a reply to Ludovic and based from your feedback I'll make the disk-image produced to be non-volatile by default, with the switch to make them volatile becoming "--volatile". Thanks! Maxim