Enji Cooper 99429157e8 sys/fs/tmpfs/vnd_test: make md(4) allocation dynamic
The previous logic was flawed in the sense that it assumed that /dev/md3
was always available. This was a caveat I noted in r306038, that I hadn't
gotten around to solving before now.

Cache the device for the mountpoint after executing mdmfs, then use the
cached value in basic_cleanup(..) when unmounting/disconnecting the md(4)
device.

Apply sed expressions to use reuse logic in the NetBSD code that could
also be applied to FreeBSD, just with different tools.

Differential Revision:	D10766
MFC after:	1 week
Reviewed by:	bdrewery
Sponsored by:	Dell EMC Isilon
2017-05-19 17:14:29 +00:00
..
2016-11-14 00:33:03 +00:00
2017-05-10 22:45:05 +00:00
2016-07-01 05:48:45 +00:00
2016-11-07 15:54:47 +00:00
2016-04-20 17:58:13 +00:00
2017-03-02 01:14:48 +00:00
2017-05-05 14:33:39 +00:00
2016-07-30 01:16:06 +00:00
2017-02-19 17:37:16 +00:00
2017-02-19 17:46:37 +00:00
2017-02-06 08:49:57 +00:00
2017-03-23 22:06:06 +00:00
2017-03-16 21:32:05 +00:00
2017-05-05 13:31:25 +00:00
2017-01-30 16:32:53 +00:00
2017-02-28 23:42:47 +00:00
2016-08-24 12:32:24 +00:00
2017-03-25 14:14:11 +00:00
2017-02-28 23:42:47 +00:00
2017-03-27 21:00:49 +00:00
2016-09-29 18:24:29 +00:00
2017-01-06 07:54:53 +00:00
2017-01-17 05:55:47 +00:00
2017-05-06 10:26:40 +00:00