aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin J. Doering2024-05-25 17:26:56 -0400
committerCollin J. Doering2024-05-25 17:26:56 -0400
commit65f2fabe5594e6ca57f291bc5090659a52d960e5 (patch)
tree58c254086e89349fc66c568e1100effd5e9cadbc
parent36581d33cc1a49c97074cf49324ed4ac3b0ffdf9 (diff)
downloadguix-north-america-65f2fabe5594e6ca57f291bc5090659a52d960e5.tar.gz
README.org: Adjust how swapfile should be provisioned
-rw-r--r--README.org7
1 files changed, 1 insertions, 6 deletions
diff --git a/README.org b/README.org
index 296d70b..99c61a3 100644
--- a/README.org
+++ b/README.org
@@ -201,12 +201,7 @@ Create nested subvolumes for ~/gnu/store~ and ~/home~.
#+begin_src bash
mkdir /mnt/swap
mount -o subvol=@swap /dev/sda2 /mnt/swap
- chmod 600 /mnt/swap/swapfile
- touch /mnt/swap/swapfile
- chattr +C /mnt/swap/swapfile
- dd if=/dev/zero of=/mnt/swap/swapfile bs=1M count=32768
-
- mkswap /mnt/swap/swapfile
+ btrfs filesystem mkswapfile --size 32g --uuid clear /swap/swapfile
#+end_src
*** Prepare ~/mnt~ for Guix installation