mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-08-16 22:21:02 +03:00
Merge pull request #15 from bitterhalt/main
fsck is not needed on btrfs
This commit is contained in:
commit
4302635e8f
@ -68,17 +68,17 @@ function initial_configuration {
|
|||||||
cat <<EOF >>/etc/fstab
|
cat <<EOF >>/etc/fstab
|
||||||
|
|
||||||
# Root subvolume
|
# Root subvolume
|
||||||
UUID=$ROOT_UUID / $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@ 0 1
|
UUID=$ROOT_UUID / $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@ 0 0
|
||||||
|
|
||||||
# Home subvolume
|
# Home subvolume
|
||||||
UUID=$ROOT_UUID /home $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@home 0 2
|
UUID=$ROOT_UUID /home $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@home 0 0
|
||||||
|
|
||||||
# Snapshots subvolume, uncomment the following line after creating a config for root [/] in snapper
|
# Snapshots subvolume, uncomment the following line after creating a config for root [/] in snapper
|
||||||
#UUID=$ROOT_UUID /.snapshots $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@snapshots 0 2
|
#UUID=$ROOT_UUID /.snapshots $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@snapshots 0 0
|
||||||
|
|
||||||
# Some applications don't like to have /var/log folders as read only.
|
# Some applications don't like to have /var/log folders as read only.
|
||||||
# Log folders, to allow booting snapshots with rd.live.overlay.overlayfs=1
|
# Log folders, to allow booting snapshots with rd.live.overlay.overlayfs=1
|
||||||
UUID=$ROOT_UUID /var/log $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@/var/log 0 2
|
UUID=$ROOT_UUID /var/log $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@/var/log 0 0
|
||||||
|
|
||||||
# TMPfs
|
# TMPfs
|
||||||
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
|
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
|
||||||
|
8
vli.sh
8
vli.sh
@ -198,17 +198,17 @@ function initial_configuration {
|
|||||||
cat <<EOF >>/etc/fstab
|
cat <<EOF >>/etc/fstab
|
||||||
|
|
||||||
# Root subvolume
|
# Root subvolume
|
||||||
UUID=$ROOT_UUID / $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@ 0 1
|
UUID=$ROOT_UUID / $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@ 0 0
|
||||||
|
|
||||||
# Home subvolume
|
# Home subvolume
|
||||||
UUID=$ROOT_UUID /home $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@home 0 2
|
UUID=$ROOT_UUID /home $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@home 0 0
|
||||||
|
|
||||||
# Snapshots subvolume, uncomment the following line after creating a config for root [/] in snapper
|
# Snapshots subvolume, uncomment the following line after creating a config for root [/] in snapper
|
||||||
#UUID=$ROOT_UUID /.snapshots $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@snapshots 0 2
|
#UUID=$ROOT_UUID /.snapshots $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@snapshots 0 0
|
||||||
|
|
||||||
# Some applications don't like to have /var/log folders as read only.
|
# Some applications don't like to have /var/log folders as read only.
|
||||||
# Log folders, to allow booting snapshots with rd.live.overlay.overlayfs=1
|
# Log folders, to allow booting snapshots with rd.live.overlay.overlayfs=1
|
||||||
UUID=$ROOT_UUID /var/log $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@/var/log 0 2
|
UUID=$ROOT_UUID /var/log $(blkid --match-tag TYPE --output value "$final_drive") $BTRFS_OPT,subvol=@/var/log 0 0
|
||||||
|
|
||||||
# TMPfs
|
# TMPfs
|
||||||
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
|
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user