Check if tmpfs(5) is loaded in the kernel. If it is not, try to load it.
If tmpfs(5) is not available, use md(4) instead.
This is a follow-up to D11106 after some e-mail discussions with ngie.
Differential D11765
Fall back to md(4) in rc.initdiskless if tmpfs(5) is not available stevek on Jul 28 2017, 3:40 AM. Authored by Tags None Referenced Files
Subscribers
Details Check if tmpfs(5) is loaded in the kernel. If it is not, try to load it. This is a follow-up to D11106 after some e-mail discussions with ngie. Test on 3 variants of kernels (with md always compiled in):
All three work correctly.
Diff Detail
Event Timeline
Comment Actions I propose https://reviews.freebsd.org/D12301 as an alternate solution to this problem. I developed it back in 2014, but it was dismissed as unnecessary when I asked for comment on it, so I mothballed it. I've dusted it off and re-tested it, still seems to work fine. |