Date: Sun, 6 Mar 2016 13:15:38 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: mount bhyve image Message-ID: <56DC73CA.7080207@freebsd.org> In-Reply-To: <20160306145730.GA88508@potato.growveg.org> References: <20160306145730.GA88508@potato.growveg.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO Content-Type: multipart/mixed; boundary="pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH" From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Message-ID: <56DC73CA.7080207@freebsd.org> Subject: Re: mount bhyve image References: <20160306145730.GA88508@potato.growveg.org> In-Reply-To: <20160306145730.GA88508@potato.growveg.org> --pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-03-06 09:57, John wrote: > Hello list, >=20 > Can a bhyve image be mounted to the filesystem? Not an active image, I > mean, say one has a problem loading a bhyve instance. Is it possible > to mount the image as one would for example mount a cdrom image as per > md(8) ? If it is possible, what are the parameters please? >=20 > thanks, Yes, you mount it the same way as a cdrom image: mdconfig -a -t vnode -f /path/to/image then: mount -t <filesystem type> /dev/md0p1 /mnt note that depending on your partitioning scheme, the exact device name will different. md0p1 is the first GPT partition, it might be MBR instead, which would be md0s1, etc. --=20 Allan Jude --pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH-- --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJW3HPPAAoJEBmVNT4SmAt+KqIP/A0rTNYcOQaGLnJ5lSQ4G53y Qtji044nlmdFUg32KpV8Sn3x+QAlcPC2U+aBolLGUwwJUsYmdzcgMHH5KcsD+Em6 vn8bXc5YmdWQv/sI0qiFr885RoOGkSFDbceH/DLrhsf2+Y02QiKviwYCrB8i4IqG BoM0LFznmhhgnSV8b2NlmL9xuS42CbgKbcW6jWemy7aNUTIHqGiD6ZVcUTtZOEcz E5g0Pwtp1hlgJdrIInIUcZ1ORj7GB/+3WRmQG3oXZGYMz0cdri1uZ7yIyEPKxtl8 E4upQ0ee8Pd9UNmItsqNDthK/n/zg/sgXgct5uQaGQNtP+/LmeI3GoqN5dMR4nBb sn571R5HP8kfj8XoRMkAyCegVlVe3vOXifG+wL3YaCJaEXDb97BjlrgauWhhNi4r CuNRyoFSwxexJbcjdw6bCtfvK0xdAvZoApaaCAV2MKXYFqK1XUttwPQHk2Ldxqqb SON7L2PE7+IY/v46XYNWuUIU7ToGLaTPUD4qfgYiSd8dM1GMq8kaWlfNtZdw1YYM iER28kuzREg5O4Gq8lxxbjJORyJmwg9NzeeKPBHX1Y9LyIPtyqASGJKxpXDc5uFJ SkeZ51AEgszVFesOGyaBFYm4j4eAmfik3TwcrKH6BoRxATnnZW8cO1Lyr7GkQdyd jIcmdJC7r6V4GisTJ3Es =uKOO -----END PGP SIGNATURE----- --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56DC73CA.7080207>