How customized can an mfsroot be?

Tim Judd tajudd at gmail.com
Tue Apr 6 00:44:24 UTC 2010


On 4/5/10, Peter Steele <psteele at maxiscale.com> wrote:
>> But ... why are you constricting yourself to use mfs_root?  I have many
>> times ran FreeBSD completely from CDrom, which
>>will give you all 700 (or a DVD, 4.3G) usable space.
>>
>>I'd be happy to help, if you have questions.  but please direct the
>> questions to the mailing list.
>
> The reason I was doing it this way was because I didn't know how to provide
> the CD-ROM environment a writeable file system for /tmp and /var. Obviously
> these have to be setup as some kind of ram based file system. What's the
> trick?
>
>


If FreeBSD cannot write to /tmp or /var on boot, it automatically
creates a MFS filesystems for those mountpoints and mounts them during
boot.  You don't need to do anything.

It works as the same readonly compactflash environments out there.


More information about the freebsd-questions mailing list