19 Commits

Author SHA1 Message Date
timmy b15bede430 Best practices 2026-07-12 14:12:15 -07:00
timmy 2febeb36fd btrfs 2026-07-12 14:12:15 -07:00
Bill Doyle 75df378463 Add support for parsing mount options 2024-07-21 09:44:55 +02:00
Bill Doyle 2e3ce410bf Log mount options if any are set 2024-07-21 09:44:55 +02:00
Michael Stapelberg 181f1a246f mount: implement locating device by UUID= 2024-07-19 18:44:13 +02:00
Michael Stapelberg 51607e0458 mountDevices: print which PARTUUIDs are not matched
This makes it easier to obtain the required PARTUUID:
just put anything and check the log for the correct one.

related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:18:12 +02:00
Michael Stapelberg 09d19e23fb mountDevices: retry every 5s after the first 10 attempts
This reduces log spam when the device to mount never appears.

related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:18:00 +02:00
Patrick Baxter dedadaf388 Support mounting bcachefs formatted partitions to /perm (#261) 2024-05-25 08:58:58 +02:00
Michael Stapelberg 08761c1403 boot: mount configured devices
related to https://github.com/gokrazy/gokrazy/issues/236
2024-05-10 19:01:37 +02:00
Michael Stapelberg ae40eb3636 boot: create /perm/var to make /var symlink work 2024-05-10 17:38:08 +02:00
Michael Stapelberg 80ce4065f6 mount cgroup2 on /sys/fs/cgroup
related to https://github.com/gokrazy/gokrazy/issues/124
2022-04-06 08:28:27 +02:00
Michael Stapelberg 6f134b4e77 mount tmpfs on /dev/shm and /run (if it exists)
related to https://github.com/gokrazy/gokrazy/issues/124
2022-04-03 23:11:01 +02:00
Michael Stapelberg 6e69425b27 tmpfs: remove explicit size limit (→ 50% of RAM) 2021-11-21 12:40:25 +01:00
Michael Stapelberg 5a84eb5921 fall back to mounting permanent storage as vfat if not ext4 2021-01-04 15:27:20 +01:00
Michael Stapelberg ffc8928d2e update to new rootdev API
related to https://github.com/gokrazy/gokrazy/issues/52
2020-04-07 09:00:10 +02:00
Michael Stapelberg 9770d4408f move root device finding function to internal/rootdev 2018-07-14 23:37:12 +02:00
Michael Stapelberg 4a126f13af init+dhcp changes for Squashfs root file systems
We can do away with a bunch of hacks now, but we’ll keep them around for a
little while to make updates easier (i.e. to boot with old and new gokr-packer
versions, just in case people don’t update both at the same time).
2018-06-21 23:21:51 +02:00
Michael Stapelberg 59b99bc704 remove hard-coded mmcblk0 from all places 2018-06-17 09:31:14 +02:00
Michael Stapelberg 38af7fd18d Initial commit 2017-03-04 11:22:48 +01:00