]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
rootfs-handoff: Milestone D - adapt /sbin/init and fstab for post-handoff
authorTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 03:40:43 +0000 (00:40 -0300)
committerTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 03:40:43 +0000 (00:40 -0300)
commit9ca642b82171ff74f193f3f2e4c1a39446ec83c0
tree27088886e58bd1ac07c397e8400fd16e569cb6a6
parentef509611e2be33acd353bfd3cfd91696992306f1
rootfs-handoff: Milestone D - adapt /sbin/init and fstab for post-handoff

- Updated /etc/fstab with documentation for post-handoff configuration
- Documented that root filesystem is already mounted by kernel on /newroot
- Documented that early /init performs pivot_root to make /newroot the new root
- Documented that virtual filesystems are moved by early /init
- Documented that /sbin/init runs after handoff and skips already-mounted filesystems
- /sbin/init already has is_mounted() check to avoid duplicate mounts
- No code changes needed in /sbin/init - already compatible with handoff

Test Results:
- Smoke test: 131/131 PASS
- Battery test: 157/157 PASS
- Analyzer: PASS
- Zero regressions
rootfs/etc/fstab