mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 15:43:02 +02:00
In the new model, we have three sources of storage:
- /mnt/var: Mountpoint for a disk with the label "var"
- /mnt/cfg: Mountpoint for a disk with the label "cfg"
- /mnt/tmp: Mountpoint for a ramdisk
These sources are used for the following overlays:
- **/cfg, /home, /root**: /mnt/cfg if available, else /mnt/tmp
- **/etc**: /mnt/cfg if available and the boot/etc finit condition is
set, else /mnt/tmp
- **/var**: /mnt/var if available, else /mnt/tmp
- **/var/lib**: /mnt/var if available, else /mnt/cfg if available,
else /mnt/tmp
See board/common/rootfs/lib/infix/mnt for more information.
26 lines
285 B
INI
26 lines
285 B
INI
image cfg.ext4 {
|
|
ext4 {
|
|
label = "cfg"
|
|
}
|
|
empty = true
|
|
size = 16M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type = 0x83
|
|
image = "rootfs.ext4"
|
|
}
|
|
|
|
partition cfg {
|
|
partition-type = 0x83
|
|
image = "cfg.ext4"
|
|
}
|
|
}
|
|
|
|
# Silence genimage warnings
|
|
config {}
|