2021-10-18 13:24:34 +00:00
|
|
|
# SPDX-FileCopyrightText: no
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
#
|
2019-10-28 13:48:02 +00:00
|
|
|
# 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. The filesystems listed in
|
|
|
|
# *extraMountsEfi* are mounted in the target system **only** if
|
|
|
|
# the host machine uses UEFI.
|
|
|
|
---
|
|
|
|
# Extra filesystems to mount. The key's value is a list of entries; each
|
|
|
|
# entry has four keys:
|
|
|
|
# - device The device node to mount
|
2021-10-18 13:24:34 +00:00
|
|
|
# - fs (optional) The filesystem type to use
|
2019-10-28 13:48:02 +00:00
|
|
|
# - mountPoint Where to mount the filesystem
|
|
|
|
# - options (optional) Extra options to pass to mount(8)
|
|
|
|
#
|
2021-10-18 13:24:34 +00:00
|
|
|
# The device is not mounted if the mountPoint is unset or if the fs is
|
|
|
|
# set to unformatted.
|
|
|
|
#
|
2019-10-28 13:48:02 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
extraMountsEfi:
|
|
|
|
- device: efivarfs
|
|
|
|
fs: efivarfs
|
|
|
|
mountPoint: /sys/firmware/efi/efivars
|
2021-10-18 13:24:34 +00:00
|
|
|
|
|
|
|
# Btrfs subvolumes to create if root filesystem is on btrfs volume.
|
|
|
|
# If mountpoint is mounted already to another partition, it is ignored.
|
|
|
|
# Separate subvolume for swapfile is handled separately and automatically.
|
|
|
|
|
|
|
|
btrfsSubvolumes:
|
|
|
|
- mountPoint: /
|
|
|
|
subvolume: /@
|
|
|
|
- mountPoint: /home
|
|
|
|
subvolume: /@home
|
|
|
|
- mountPoint: /var/cache
|
|
|
|
subvolume: /@cache
|
|
|
|
- mountPoint: /var/log
|
|
|
|
subvolume: /@log
|