Subject: Re: Read only filesystem support from FreeBSD
To: Adam Hoka <adam.hoka@gmail.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-embed
Date: 06/15/2007 00:01:17
On Wed, Jun 13, 2007 at 07:42:33PM +0200, Adam Hoka wrote:
> On Tue, 12 Jun 2007 19:26:51 +0200
> Adam Hoka <adam.hoka@gmail.com> wrote:
> 
> > Someone mentioned on the list earlier the out of the box support of read only filesystems, like FreeBSD has.
> > I have ported it to NetBSD. I don`t think it`s perfect, but it`s working for me.
> [...]
> Ok, here`s the updated version, with support of mfs, which is the default now to be able to work on older releases out of the box.
> But the fallback value is tmpfs if it`s not set properly. I don`t know which one should be the default. What do you think?
> You can use tmpmfs_type and varmfs_type in rc.conf to set it to tmpfs or mfs.
> 
> Please test and report any problems or success, so I can fill a change request if it`s ok. :)
> 
> Here`s the tarball:
> http://freeshells.ch/~replaced/ro_boot_2.tgz

Thanks, this looks really interesting.

We've replaced mfs with tmpfs for 4.0 and beyond.

Regards,
Alistair