From owner-freebsd-questions@FreeBSD.ORG Sun Nov 26 18:28:56 2006 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 8C8C216A4D1 for ; Sun, 26 Nov 2006 18:28:56 +0000 (UTC) (envelope-from ajm91qw@sbcglobal.net) Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by mx1.FreeBSD.org (Postfix) with SMTP id 756A743DA9 for ; Sun, 26 Nov 2006 18:25:42 +0000 (GMT) (envelope-from ajm91qw@sbcglobal.net) Received: (qmail 57253 invoked from network); 26 Nov 2006 18:26:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=5TSpMnI25Q7w0ExO97egIvjplujzzdV9HqprBLBp5+4Ei8i1pOoT8SyRxEpuSD2kLp5yyrUq4InFX5bq1ggtp+/BMnRKDuKglusx4dio5pgQKKK06DI2mlP0uGO8MdUqrhXZyeSK/D4zGodimkUacFCWHLllHGdmOLMJ8MwLuSY= ; Received: from unknown (HELO localhost) (ajm91qw@sbcglobal.net@70.238.71.202 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 26 Nov 2006 18:26:28 -0000 X-YMail-OSG: Club_moVM1mRCqQkBzde_U1S.VwMTIiGq6lZaYGP4HSvq2DOwdeIJRbCh9yob1yT_Asthfas8pvAUVMOxKc6zKv66xRCrJ0fl_tb2zJ0OBgIOxhwmyja8w-- Date: Sun, 26 Nov 2006 12:24:44 -0600 From: ajm To: freebsd-questions@freebsd.org Message-ID: <20061126182444.GA723@powerfull.bsd> References: <2fef08390611260458y60040904gb0fa5e05aefba5d9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2fef08390611260458y60040904gb0fa5e05aefba5d9@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Mini-Freebsd system on ram, to reduce noise? 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: Sun, 26 Nov 2006 18:28:56 -0000 On Sun, Nov 26, 2006 at 02:58:21PM +0200, Lars Udo wrote: > Hello, fellow FreeBSD-users. I'm planning to build MiniBSD (from freebsd) > with, these instructions: https://neon1.net/misc/minibsd.html > i'v red it few times and came to realize, that if i could get that > small FreeBSD why wouldnt i run it in RAM? > > I have Intel 333 Mhz / 256 sdram / 10Gb hd.. and few nics. > > i could boot up system and then move it into ram, lets say that i'd create > 128 Mb size of memorydisk in ram. > > All data will be wiped during reboot, but i'll keep the original image on > harddisk, which will shutdown until all system-files are moved into RAM.. > > Is this anyway possible? > > It would reduce noise-level here in my livingroom, so thats all i need, > beside NAT/Firewall :) > > all suggestions are considered, but monowall or picobsd are no options, > because i need to learn it myself rather than "go'n buy & setup" > > how do i create memorybased filesystem? > > ---------------------------------------- > mdconfig -t malloc -s 128m -u 5 > newfs -U /dev/md5 > mount /dev/md5 / > dd if=/mnt/ad0 of=/ > umount /mnt/ad0 > (drop the harddisk) > -------------------------------------- > > something like that? > > thanks, for reading :) > > Greetings > > Lars 1...Firewall Everything I have read tends to point to "roll your own" firewall as a better alternative. In other words, learn to use it. I know it's difficult, but it will be worth it. The "go'n buy & setup" sound like M$-plug-and-play. It would create a generic firewall. It may or may-not full protect your system. I would recommend reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html as well as reading the freebsd questions mail archives. 2...The following quote: "which will shutdown until all system-files are moved into RAM" maybe you ment to say move out of ram before shutdown. If you have a "UPS", then good, otherwise consider getting one. You could end up with a corrupt file system. 3...Do you have a cd-rom drive? You could run Freesbie: www.freesbie.org -- Alexander FreeBSD 6.0-RELEASE i386