From owner-freebsd-questions@FreeBSD.ORG Mon Feb 18 11:48:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACE6516A41B for ; Mon, 18 Feb 2008 11:48:36 +0000 (UTC) (envelope-from andrew@farnborough.darq.net) Received: from farnborough.darq.net (fab.darq.net [82.136.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id 760DE13C50A for ; Mon, 18 Feb 2008 11:48:36 +0000 (UTC) (envelope-from andrew@farnborough.darq.net) Received: from localhost (localhost [127.0.0.1]) by farnborough.darq.net (Postfix) with ESMTP id 2A1A21D084 for ; Mon, 18 Feb 2008 11:22:44 +0000 (GMT) X-Virus-Scanned: amavisd-new at darq.net Received: from farnborough.darq.net ([127.0.0.1]) by localhost (farnborough.darq.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qn-OGPRC50TS for ; Mon, 18 Feb 2008 11:22:40 +0000 (GMT) Received: by farnborough.darq.net (Postfix, from userid 1057) id 37E5C1D061; Mon, 18 Feb 2008 11:22:40 +0000 (GMT) Date: Mon, 18 Feb 2008 11:22:40 +0000 From: Andrew Von Cid To: freebsd-questions@freebsd.org Message-ID: <20080218112239.GA85792@farnborough.darq.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: rc.diskless2 on FreeBSD 6.2 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: Mon, 18 Feb 2008 11:48:36 -0000 Hey, I'm currently setting up a system that runs off a compact flash disk. I'd like to have memory filesystems for /var, /tmp & /dev to minimise the amount of writes to the cf. I read an article[1] that recommends the use of /etc/rc.diskless2, however I don't have /etc/rc.diskless2 on 6.3 nor on 5.4, 6.1, 6.2 or 7.0. I guess it must have been removed somewhere around 5.x Is there an alternative script in newer versions of FreeBSD? I can create the mfs partitions in fstab and write a simple script that will populate them with the necessary files on boot. However this seems like more work than using something standard like rc.diskless2. Many thanks, Andrew. [1]http://www.feebsd.org/doc/en_US.ISO8859-1/articles/solid-state/ro-fs.html -- accidents happen...