Memory disk "a la mfsroot"?
m.seaman at infracaninophile.co.uk
Thu Feb 11 15:12:28 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 11/02/2010 14:53, Pierre-Luc Drouin wrote:
> I would like to know if there is a mount command that allows to create a
> memory disk that can be initialized from a file. What I am looking for
> is something like mount_mfs -F, but that does not modify the actual
> file. I know what I could easily to this by copying the content of the
> file to the memory disk, but I am looking for a solution that can be
> configured via fstab.
Yes. See mdconfig(8) -- there are examples in there of exactly what you
want to do.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the freebsd-questions