]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
rootfs-handoff: Milestone E - add boot policy parameters
authorTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 03:34:38 +0000 (00:34 -0300)
committerTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 03:34:38 +0000 (00:34 -0300)
commit88cb3dd6419c5f69f7797e2dce9923dc18346d19
treec02d3b22200b4ce4ffd9dcbdffeccddc8b1f4df3
parent547b66b603c42a43275bffac161e72bf415b0dd5
rootfs-handoff: Milestone E - add boot policy parameters

- Add rootfstype= parameter to specify explicit filesystem type
- Add rootflags= parameter for comma-separated mount options (ro, nosuid, nodev, noexec)
- Add ro/rw flags to control read-only or read-write mount
- Add rootdelay=N parameter to wait N seconds before mounting
- Add rootwait flag (recognized but not yet implemented)
- Parse and apply mount flags to root filesystem
- Add process.h include for process_sleep()

Test Results:
- Smoke test: 131/131 PASS
- Battery test: 157/157 PASS
- Analyzer: PASS
- Zero regressions
src/kernel/cmdline.c
src/kernel/init.c