# SPDX-FileCopyrightText: no # SPDX-License-Identifier: CC0-1.0 # # Mount filesystems in the target (generally, before treating the # target as a usable chroot / "live" system). Filesystems are # automatically mounted from the partitioning module. Filesystems # listed here are **extra**. The filesystems listed in *extraMounts* # are mounted in all target systems. --- # Extra filesystems to mount. The key's value is a list of entries; each # entry has five keys: # - device The device node to mount # - fs (optional) The filesystem type to use # - mountPoint Where to mount the filesystem # - options (optional) An array of options to pass to mount # - efi (optional) A boolean that when true is only mounted for UEFI installs # # The device is not mounted if the mountPoint is unset or if the fs is # set to unformatted. # extraMounts: - device: proc fs: proc mountPoint: /proc - device: sys fs: sysfs mountPoint: /sys - device: /dev mountPoint: /dev options: [ bind ] - device: tmpfs fs: tmpfs mountPoint: /run - device: /run/udev mountPoint: /run/udev options: [ bind ] - device: efivarfs fs: efivarfs mountPoint: /sys/firmware/efi/efivars efi: true - device: /run/systemd/resolve mountPoint: /run/systemd/resolve options: [ bind ] mountOptions: - filesystem: default options: [ defaults ] - filesystem: btrfs options: [ defaults, noatime, autodefrag ] ssdOptions: [ discard, compress=lzo ] - filesystem: f2fs ssdOptions: [ compress_algorithm=zstd:6, compress_chksum, atgc, gc_merge, lazytime ] - filesystem: ext4 ssdOptions: [ discard ] - filesystem: jfs ssdOptions: [ discard ] - filesystem: xfs ssdOptions: [ discard ] - filesystem: swap ssdOptions: [ discard ]