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:
/conf/base/root
/conf/base/tmp
/conf/base/var
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
http://www.jcornwall.me.uk/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"