Hmmm. I think that, as suggested, everything is done - at least for MBR partitioned disk, which is what most RPi disks are - in the initial RAM fs.
However, there is 'systemd-repart.service' and "resize2fs_once.service" that seem to be invoked. Both look like they are there, but (at least according to the doci) are only for root filesystems on GPT disks. I can't tell for sure, as what gets invoked are ELF files, not Bash scripts, and I've have yet to find the source. Life was much simpler pre-systemd.
However, there is 'systemd-repart.service' and "resize2fs_once.service" that seem to be invoked. Both look like they are there, but (at least according to the doci) are only for root filesystems on GPT disks. I can't tell for sure, as what gets invoked are ELF files, not Bash scripts, and I've have yet to find the source. Life was much simpler pre-systemd.
Statistics: Posted by tommylovell — Fri May 09, 2025 6:01 pm