Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 15:37:34 -0800
From:      David Marshall <dmarshall@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Best Way to Mount a File-Backed Memory Disk at Boot-Time?
Message-ID:  <53f158630511081537p44067acch4ed37fbf65ed6eda@mail.gmail.com>
In-Reply-To: <6.2.3.4.2.20051009184730.0607fa40@cobalt.antimatter.net>
References:  <53f158630510091816j2b996040g53165046b9bf3fd@mail.gmail.com> <6.2.3.4.2.20051009184730.0607fa40@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <glenn@antimatter.net> 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"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53f158630511081537p44067acch4ed37fbf65ed6eda>