mdconfig creating file based memory disk

Chad J. Milios milios at
Fri Sep 11 22:16:41 UTC 2015

> On Sep 10, 2015, at 6:02 PM, Erich Dollansky <erichsfreebsdlist at> wrote:
> If mdconfig would lock the file for
> exclusive access, this would not happen. I should have a lock at the
> sources when time permits this.
> Erich

That makes a lot of sense. If md were built today it probably would use similar locking semantics like we've come to expect from post-geom devices. I wonder if ggatel behaves closer to what you're describing. It is the geom-made equivalent to md with similar functionality.

More information about the freebsd-questions mailing list