Allow not mounting a root fs
Quoted 12 lines · Bodo Eggert
Quoted 7 lines · Jan Engelhardt
Quoted 4 lines · H. Peter Anvin
Quoted 1 line
BTW: Is it possible to mount a tmpfs on / before extracting the cpio?
Not in the stock kernel. There have been some patches floating around for that, I think.
What would it buy? rootfs is a tmpfs, is not it?
As far as I understand, it is a ramfs aka. non-swappable tmpfs without any limit and including a chance of DoSing the system.
Quoted 7 lines
Since I'm toying with root-on-initcpio, I'm looking for things that might make the task some easier.
Currently I'm thinking about changing the root=initramfs to root=tmpfs and additionally mounting a tmpfs on / before unpacking the cpios. OTOH, this seems to be a little bit messy. OTOH again, in _that_ boot code, nobody should complain :)
Try this "[PATCH] initramfs: Allow rootfs to use tmpfs instead of ramfs".
It's trivial and should be in mainline.
Thanks!
--
Al
Quoted 5 lines · Al Boldi
Try this "[PATCH] initramfs: Allow rootfs to use tmpfs instead of ramfs".
It's trivial and should be in mainline.
Simple, yes, trivial, no.
It should be pushed to -mm before mainline to give it some smokeout time.
-hpa
Quoted 9 lines · H. Peter Anvin
Quoted 4 lines · Al Boldi
Try this "[PATCH] initramfs: Allow rootfs to use tmpfs instead of ramfs".
It's trivial and should be in mainline.
Simple, yes, trivial, no.
It should be pushed to -mm before mainline to give it some smokeout time.
Great, maybe somebody can pick it up and adjust it for inclusion into -mm.
Thanks!
--
Al