From owner-freebsd-questions@FreeBSD.ORG Tue Nov 8 23:37:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A259116A41F for ; Tue, 8 Nov 2005 23:37:35 +0000 (GMT) (envelope-from dmarshall@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3308C43D46 for ; Tue, 8 Nov 2005 23:37:35 +0000 (GMT) (envelope-from dmarshall@gmail.com) Received: by xproxy.gmail.com with SMTP id t10so59194wxc for ; Tue, 08 Nov 2005 15:37:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DNCdOQsCJVe90QndOFn11qAcH2zSZZJWukfFCjbbQDJJlQKniM7v9MOqw0xrOUMSTaDUqIxf6PM1qCx6DWGsBog7H//OiyoeKbEUiYdYkFWlYVCOyFt9ozqwu10av910Uh3zIBr4Zmu3v40xMiNU3ueto+DXExf8Dr3n92ZBgE4= Received: by 10.65.116.20 with SMTP id t20mr83664qbm; Tue, 08 Nov 2005 15:37:34 -0800 (PST) Received: by 10.65.98.1 with HTTP; Tue, 8 Nov 2005 15:37:34 -0800 (PST) Message-ID: <53f158630511081537p44067acch4ed37fbf65ed6eda@mail.gmail.com> Date: Tue, 8 Nov 2005 15:37:34 -0800 From: David Marshall To: freebsd-questions@freebsd.org In-Reply-To: <6.2.3.4.2.20051009184730.0607fa40@cobalt.antimatter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <53f158630510091816j2b996040g53165046b9bf3fd@mail.gmail.com> <6.2.3.4.2.20051009184730.0607fa40@cobalt.antimatter.net> Subject: Re: Best Way to Mount a File-Backed Memory Disk at Boot-Time? 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: Tue, 08 Nov 2005 23:37:35 -0000 FYI, it is a "convenient" property of mount_mfs that it will do a newfs on your file-backed memory store upon mounting it. I understand that a new parameter has been added in -CURRENT recently to have it preserve the contents of the file-backed memory disk. Caveat mounter! On 10/9/05, Glenn Dawson wrote: > At 06:16 PM 10/9/2005, David Marshall wrote: > >Hi, > > > >I've got a system with a file-backed memory disk that needs to be run > >through mdconfig and then mounted at boot-time? What's the best way > >to do this? > > > >Is putting a script into /usr/local/etc/rc.d the best? > > make an entry in fstab that looks something like: > > md /mount/point mfs rw,-F/path/to/backing/store 0 0 > > -Glenn > > > >TIA! > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" > >