From owner-freebsd-fs@FreeBSD.ORG Wed Mar 5 05:30:44 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE05174F for ; Wed, 5 Mar 2014 05:30:44 +0000 (UTC) Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7C6C3289 for ; Wed, 5 Mar 2014 05:30:44 +0000 (UTC) Received: by mail-yk0-f173.google.com with SMTP id 10so1532116ykt.4 for ; Tue, 04 Mar 2014 21:30:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=96KgO9yhm4QOxzH8FMzf0jZ54ePiR9TM4Qr50K7EqPw=; b=y0zAKKXbEuJeXc+ywlrkdWnNq0XZWODl3WvenUG07GHj5oe6hkdS+/PrWFJfs2mfO+ O+bLPsnaC0IepSglx2hzsiOegCO/2yJPrJsQ1g1lNgnkqiJeVAFD1Z/PFxMTSmC0pUEn ogrmjLxDztzwVqs+V8T0qF6QJasmx1KFFN8Dw6zkcs/Je4UN8fGj5kCUsy8ovITIRi7s Cklj+OiNOj02lry46o+L5CvWJAAVbOrglUifWg8Krl4+41/xUs1/rlxDYcTZgGYqQlzG jjODEDYmrWyUI++lPxcHKU3T/oiTDlP1W6jHfJzW53Gnl8SDAHfxpyK3d1rP+M4Iqq0R ly0A== X-Received: by 10.236.24.196 with SMTP id x44mr4522248yhx.92.1393997443222; Tue, 04 Mar 2014 21:30:43 -0800 (PST) Received: from [192.168.1.76] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id m21sm4278853yhl.9.2014.03.04.21.30.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Mar 2014 21:30:42 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: mdconfig via rc.conf From: aurfalien In-Reply-To: Date: Tue, 4 Mar 2014 21:30:39 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <80EE335C-E85A-433B-A4A2-287BA8BA1345@gmail.com> To: Warren Block X-Mailer: Apple Mail (2.1874) 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:30:44 -0000 On Mar 4, 2014, at 9:19 PM, Warren Block wrote: > On Tue, 4 Mar 2014, aurfalien wrote: >=20 >> Hi, >>=20 >> Apology for the cross post as I asked in the general questions list = and also if this is not an appropriate question. >>=20 >> But are there any other parameters I would need to setup a ram disk = at boot time? >>=20 >> I have this in my rc.conf; >>=20 >> mdconfig_md100=3D?-t malloc -s 12G? >=20 > rc.conf is sourced, but not the place for code. >=20 >> I?ve opted not to mount or format it for now. >>=20 >> But upon boot, I do not see the md100 device. >>=20 >> Is there anything I need in rc.conf to enable this? >=20 > 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. Many thanks for the reply. What led me to rc.conf was this; http://ryanbowlby.com/2009/09/30/freebsd-ramdisk-mdconfig/ I=92m using FreebSD 9 and would need it to load very early on in the = boot process but not be mounted. I=92ll take a look at rc.local but if its anything like Linux, well = thats the last thing that loads. - aurf "Janitorial Services"