Subject: bug#40236: closed (Re: [bug#40236] [PATCH] doc: Suggest Btrfs with compression instead of ext4 for root partition.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 03 Jun 2020 20:02:02 +0000

Your bug report

#40236: [PATCH] doc: Suggest Btrfs with compression instead of ext4 for root partition.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40236: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40236
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#40236] [PATCH] doc: Suggest Btrfs with compression instead of ext4 for root partition.
From: Ludovic Courtès <[email-masked]>
To: Pierre Neidhardt <[email-masked]>
Cc: Jonathan Brielmaier <[email-masked]>, [email-masked], Efraim Flashner <[email-masked]>, Maxim Cournoyer <[email-masked]>
Date: Wed, 03 Jun 2020 22:00:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Pierre Neidhardt <[email-masked]> skribis:

>>   Some file systems, such as Btrfs, support compression, which is
>>   reported to nicely complement file deduplication that the daemon
>>   performs independently of the file system (@pxref{Invoking
>>   guix-daemon}).
>
> Looks good to me!  Do you want to proceed and add it then?

I pushed something in b6c445931e85c07286a79bc9c80fdc956d58b1e2.

I suggest we revisit the question of the default/recommended file system
in several months, a year or so.

Thanks,
Ludo’.

Subject: [PATCH] doc: Suggest Btrfs with compression instead of ext4 for root partition.
From: Pierre Neidhardt <[email-masked]>
To: [email-masked]
Date: Thu, 26 Mar 2020 09:35:24 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/system/examples/desktop.tmpl: Adjust root file-system to use Btrfs.
---
 gnu/system/examples/desktop.tmpl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 3931bad60d..e61e8064cd 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -34,7 +34,8 @@
                  (list (file-system
                          (device (file-system-label "my-root"))
                          (mount-point "/")
-                         (type "ext4")
+                         (type "btrfs")
+                         (options "subvol=rootfs,compress=zstd")
                          (dependencies mapped-devices))
                        (file-system
                          (device (uuid "1234-ABCD" 'fat))
-- 
2.25.1