1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-22 01:21:34 -05:00

Remove fmask and dmask settings on @boot

Turns out BTRFS has an issue where only the mount options for the first subvolume matters :/
This commit is contained in:
TommyTran732 2021-04-11 03:30:26 -04:00 committed by tommytran732
parent a792887672
commit 9a161bfe0b
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -101,8 +101,8 @@ umount /mnt
echo "Mounting the newly created subvolumes."
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@ $BTRFS /mnt
mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot,/boot/efi}
mount -o ssd,noatime,space_cache.fmask=0022,dmask=0022,compress=zstd,subvol=@boot $BTRFS /mnt/boot
mount -o ssd,noatime,space_cache.compress=zstd,subvol=@home $BTRFS /mnt/home
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@boot $BTRFS /mnt/boot
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@home $BTRFS /mnt/home
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
mount -o ssd,noatime,space_cache,nodatacow,subvol=@var_log $BTRFS /mnt/var/log
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap