Jay L. T. Cornwall wrote:

All I need is:
  * / partition to work in read-only mode.
  * Volatile directories such as /root, /var and /tmp to be populated
    into a memory filesystem on boot.

OK, this turned out to be easier after I spent some time reading through the /etc/rc.initdiskless script.

All that was needed was to create:

And fill them with the files to be populated in a memory filesystem on reboot. A md_size file inside each dir tweaks the size of the memory disks according to the script.

Then touch /etc/diskless and the magic happens!

Jay L. T. Cornwall
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to