Replace md(4) usage in diskless(8) script rc.initdiskless with tmpfs(5).
Need to multiply the size of the disk passed to mount_md by 512 as mdmfs expects number of 512-byte blocks while tmpfs size option wants number of bytes.
Details
Details
Booted a diskless image on Broadcom iProc ARM-based system and compared tmpfs(5) version with md(4) version to ensure correct operation.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9749 Build 10188: arc lint + arc unit
Event Timeline
Comment Actions
This seems like a fine modernization. Probably should not be MFC'd due to POLA with custom kernels.