Re: Locking a file backed mdconfig into memory
- From: Clifton Royston <cliftonr@xxxxxxxx>
- Date: Thu, 27 May 2010 18:30:07 -1000
On Thu, May 27, 2010 at 04:48:42PM -0700, Dave Hayes wrote:
On FreeBSD 7.3-STABLE I'm mounting a DVD and doing something like
this:
mdconfig -a -t vnode -o reserve -o readonly -f /dvd/file
so that /dvd/file becomes the backing storage for my memory
disk.
It sounds like what you really want is to load the contents of the
specified file as a memory system? That's not part of mdconfig's
repertoire, to the best of my recollection.
If that's what you want, you need to use a different tool; the purpose
of mdconfig is to provide scratch disk. The backing store is to
specify a region its contents can be swapped out to if the system is
under memory pressure (which certainly won't work with a DVD)
-- Clifton
--
Clifton Royston -- cliftonr@xxxxxxxxxxxxxxxxxx / cliftonr@xxxxxxxx
President - I and I Computing * http://www.iandicomputing.com/
Custom programming, network design, systems and network consulting services
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Locking a file backed mdconfig into memory
- From: Dave Hayes
- Re: Locking a file backed mdconfig into memory
- References:
- Locking a file backed mdconfig into memory
- From: Dave Hayes
- Locking a file backed mdconfig into memory
- Prev by Date: Re: Locking a file backed mdconfig into memory
- Next by Date: PF + BRIDGE still causes system freezing
- Previous by thread: Re: Locking a file backed mdconfig into memory
- Next by thread: Re: Locking a file backed mdconfig into memory
- Index(es):
Relevant Pages
|