From 6840e65f8107318ebbcf4da06794fa9987521938 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Mon, 21 Sep 2020 11:53:40 +0000
Subject: [PATCH] Use compressed btrfs partition as root

---
 arch-install.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch-install.sh b/arch-install.sh
index 101652f..d9f7688 100644
--- a/arch-install.sh
+++ b/arch-install.sh
@@ -12,10 +12,10 @@
 
 # Partition disk will create a new partition on the rest of the empty free space
 printf "n\np\n\n\n\nw\n" | fdisk $DISK
-mkfs.ext4 "$DISK$PARTNO"
+mkfs.btrfs "$DISK$PARTNO"
 
 # Mount and install
-mount "$DISK$PARTNO" /mnt
+mount -o compress=zstd "$DISK$PARTNO" /mnt
 pacstrap /mnt base linux linux-firmware grub dhcpcd vim qemu-guest-agent
 genfstab -U /mnt >> /mnt/etc/fstab
 

--
Gitblit v1.9.3