Last active
February 11, 2025 19:16
-
-
Save jmarhee/608799572d0666d43be1b295e4a64155 to your computer and use it in GitHub Desktop.
Goes into $ELEM/os-files/etc/fstab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Default SLE Micro root filesystem | |
LABEL=ROOT / btrfs ro 0 0 | |
LABEL=ROOT /.snapshots btrfs defaults,subvol=@/.snapshots 0 0 | |
LABEL=ROOT /home btrfs defaults,subvol=@/home 0 0 | |
LABEL=ROOT /opt btrfs defaults,subvol=@/opt 0 0 | |
LABEL=ROOT /root btrfs defaults,subvol=@/root,x-initrd.mount 0 0 | |
LABEL=ROOT /srv btrfs defaults,subvol=@/srv 0 0 | |
LABEL=ROOT /var btrfs defaults,subvol=@/var,x-initrd.mount 0 0 | |
LABEL=EFI /boot/efi vfat defaults 0 0 | |
LABEL=ROOT /boot/writable btrfs defaults,subvol=@/boot/writable 0 0 | |
LABEL=ROOT /usr/local btrfs defaults,subvol=@/usr/local 0 0 | |
LABEL=ROOT /boot/grub2/i386-pc btrfs defaults,subvol=@/boot/grub2/i386-pc 0 0 | |
LABEL=ROOT /boot/grub2/x86_64-efi btrfs defaults,subvol=@/boot/grub2/x86_64-efi 0 0 | |
overlay /etc overlay defaults,lowerdir=/sysroot/var/lib/overlay/2/etc:/sysroot/etc,upperdir=/sysroot/var/lib/overlay/3/etc,workdir=/sysroot/var/lib/overlay/3/work-etc,x-systemd.requires-mounts-for=/var,x-systemd.requires-mounts-for=/sysroot/var,x-initrd.mount 0 0 | |
## Add LABEL-based mounts for secondary volume below here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment