This commit is contained in:
mitchell 2025-10-19 02:42:39 -04:00
parent 44780e9a9e
commit 846fc109ca
32 changed files with 719 additions and 1117 deletions

20
format_btrfs Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env fish
lsblk
echo
read -P 'Device (/dev/vda2):' -l device
if test -z "$device"
set device /dev/vda2
end
mkfs.btrfs $device
mount $device /mnt
btrfs subvolume create /mnt/root
btrfs subvolume create /mnt/home
umount /mnt
mount -o subvol=root,compress=zstd $device /mnt
mount -m -o subvol=home,compress=zstd $device /mnt/home
lsblk