I am using tmpfs for /tmp and that made a significant difference in chromium as well as other apps that use it, but would essentially like to use it for /. The logical steps I can think of are:
1. create root image, optional compression
2. extract root image contents into memory backed device mounted
3. let the system mount other filesystems defined in /etc, import zpools etc.
Where would I start for #2? I came across:
I think all I need to do is write a simple enough script, but how do I get the system to run it without blowing up other things?
1. create root image, optional compression
2. extract root image contents into memory backed device mounted
3. let the system mount other filesystems defined in /etc, import zpools etc.
Where would I start for #2? I came across:
Chapter 15. The FreeBSD Booting Process
An introduction to the FreeBSD Booting Process, demonstrates how to customize the FreeBSD boot process, including everything that happens until the FreeBSD kernel has started, probed for devices, and started init
www.freebsd.org
I think all I need to do is write a simple enough script, but how do I get the system to run it without blowing up other things?