From owner-freebsd-fs@FreeBSD.ORG Wed Mar 5 05:19:17 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1F43567 for ; Wed, 5 Mar 2014 05:19:17 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 53A16142 for ; Wed, 5 Mar 2014 05:19:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s255JFce039260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Mar 2014 22:19:16 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s255JFli039257; Tue, 4 Mar 2014 22:19:15 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 4 Mar 2014 22:19:15 -0700 (MST) From: Warren Block To: aurfalien Subject: Re: mdconfig via rc.conf In-Reply-To: <80EE335C-E85A-433B-A4A2-287BA8BA1345@gmail.com> Message-ID: References: <80EE335C-E85A-433B-A4A2-287BA8BA1345@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 04 Mar 2014 22:19:16 -0700 (MST) Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 05:19:17 -0000 On Tue, 4 Mar 2014, aurfalien wrote: > Hi, > > Apology for the cross post as I asked in the general questions list and also if this is not an appropriate question. > > But are there any other parameters I would need to setup a ram disk at boot time? > > I have this in my rc.conf; > > mdconfig_md100=?-t malloc -s 12G? rc.conf is sourced, but not the place for code. > I?ve opted not to mount or format it for now. > > But upon boot, I do not see the md100 device. > > Is there anything I need in rc.conf to enable this? It depends on the version of FreeBSD. On FreeBSD 10, it's easy to do with an entry in /etc/fstab, see fstab(5). For earlier versions, I'm not sure of the best way. There's /etc/rc.local, but may be more automated ways in the other rc scripts.