List Info

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




Best Way to Mount a File-Backed Memory Disk at Boot-Time?
user name
2005-10-10 01:48:27
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-questionsfreebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
>To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Best Way to Mount a File-Backed Memory Disk at Boot-Time?
user name
2005-11-08 23:37:34
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 <glennantimatter.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-questionsfreebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> >To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )