Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2010 18:44:22 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How customized can an mfsroot be?
Message-ID:  <m2gade45ae91004051744pa4d4d86ax6a1e1f38195dc6a7@mail.gmail.com>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B6F7FAD@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B6F7D05@MBX03.exg5.exghost.com> <x2uade45ae91004051730j87d11987j47b3b945971c85d6@mail.gmail.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B6F7FAD@MBX03.exg5.exghost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/5/10, Peter Steele <psteele@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2gade45ae91004051744pa4d4d86ax6a1e1f38195dc6a7>