Best Way to Mount a File-Backed Memory Disk at Boot-Time?
David Marshall
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.
Caveat mounter!
On 10/9/05, Glenn Dawson <glenn at 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 at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list