Update 'arch.sh'

This commit is contained in:
verita84 2022-12-01 18:56:44 +00:00
parent 556601231b
commit e20afd8a30

View File

@ -221,6 +221,7 @@ btrfs_filesytem() {
btrfs sub create $TARGET/@libvirt
btrfs sub create $TARGET/@home
btrfs sub create $TARGET/@root
btrfs sub create $TARGET/@postgresql
echo
echo "Binding BTRFS Root"
echo
@ -293,6 +294,7 @@ fstab() {
echo "tmpfs /var/cache/pacman/pkg tmpfs defaults 0 0" >>$TARGET/etc/fstab
echo "/dev/mapper/root /home btrfs noatime,nodiratime,autodefrag,compress,subvol=@home 0 1" >>$TARGET/etc/fstab
echo "/dev/mapper/root /root btrfs noatime,nodiratime,autodefrag,compress,subvol=@root 0 1" >>$TARGET/etc/fstab
echo "/dev/mapper/root /var/lib/postgresql btrfs noatime,nodiratime,autodefrag,compress,subvol=@postgresql 0 1" >>$TARGET/etc/fstab
}
accounts() {