diff --git a/arch.sh b/arch.sh index 743f90e..03c8197 100755 --- a/arch.sh +++ b/arch.sh @@ -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() {