Best Way to Mount a File-Backed Memory Disk at Boot-Time?

Glenn Dawson glenn at antimatter.net
Sun Oct 9 18:50:11 PDT 2005


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