From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 01:56:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6235816A403 for ; Sat, 10 Mar 2007 01:56:42 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from illusion.skoberne.net (illusion.skoberne.net [84.255.205.135]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF1013C491 for ; Sat, 10 Mar 2007 01:56:42 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (unknown [127.0.0.1]) by illusion.skoberne.net (Postfix) with ESMTP id 3E167B830 for ; Sat, 10 Mar 2007 02:56:43 +0100 (CET) Received: from illusion.skoberne.net ([127.0.0.1]) by localhost (illusion.skoberne.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53677-01 for ; Sat, 10 Mar 2007 02:56:42 +0100 (CET) Received: from [192.168.10.2] (unknown [192.168.10.2]) by illusion.skoberne.net (Postfix) with ESMTP id 9E956B82A for ; Sat, 10 Mar 2007 02:56:42 +0100 (CET) Message-ID: <45F2104F.7090304@skoberne.net> Date: Sat, 10 Mar 2007 02:56:31 +0100 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions References: <45F1BF10.7040109@skoberne.net> <45F1C2FC.4080201@skoberne.net> <20070309182513.V27680@wonkity.com> In-Reply-To: <20070309182513.V27680@wonkity.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 01:56:42 -0000 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