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 Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This seems like a fine modernization. Probably should not be MFC'd due to POLA with custom kernels.