Best Way to Mount a File-Backed Memory Disk at Boot-Time?
dmarshall at gmail.com
Tue Nov 8 23:37:35 GMT 2005
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.
On 10/9/05, Glenn Dawson <glenn at antimatter.net> wrote:
> At 06:16 PM 10/9/2005, David Marshall wrote:
> >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
> >freebsd-questions at freebsd.org mailing list
> >To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions