Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 02:56:31 +0100
From:      =?ISO-8859-2?Q?Nejc_=A9koberne?= <nejc@skoberne.net>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD on IDE Flash disk drive
Message-ID:  <45F2104F.7090304@skoberne.net>
In-Reply-To: <20070309182513.V27680@wonkity.com>
References:  <45F1BF10.7040109@skoberne.net> <45F1C2FC.4080201@skoberne.net> <20070309182513.V27680@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> m0n0wall gets around this by running out of RAM after booting from flash 
> (or CD, or hard disk):

Yes, I know both m0n0wall and pfSense, but I prefer a custom FreeBSD installation
since I have developed some custom scripts which I would like to use.

This is what I am trying to do now - booting the system from flash IDE
drive, creating mfs filesystems for /tmp and /var (just enabling them in rc.conf)
and mounting all the partitions read-only. And of course I configured syslog to
log to some remote host. So when I need to make a configuration change (rc.conf,
dhcpd.conf), I just remount / or /usr read-write temporariliy, make the change and
then remount back to read-only. This way, I guess, there will be minimal writes
to the drive.

Now I plan to do some power outage testing. Will let you know.

Thanks to all of you,
Nejc



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