Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2005 18:48:27 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        David Marshall <dmarshall@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Best Way to Mount a File-Backed Memory Disk at Boot-Time?
Message-ID:  <6.2.3.4.2.20051009184730.0607fa40@cobalt.antimatter.net>
In-Reply-To: <53f158630510091816j2b996040g53165046b9bf3fd@mail.gmail.com >
References:  <53f158630510091816j2b996040g53165046b9bf3fd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?6.2.3.4.2.20051009184730.0607fa40>