Date: Wed, 21 Jun 2017 18:20:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 220186] bhyveload zfs boot broken after zfs boot change Message-ID: <bug-220186-27103-7EpK8LlOwG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220186-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-220186-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220186 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Wed Jun 21 18:19:27 UTC 2017 New revision: 320195 URL: https://svnweb.freebsd.org/changeset/base/320195 Log: bhyveload: correctly query size of disks On FreeBSD fstat(2) works fine for querying sizes of plain files, but not so much for character devices. So, use DIOCGMEDIASIZE to try to get the correct size for disks and disk-like devices (e.g. zvols). PR: 220186 Reviewed by: tsoome, grehan MFC after: 1 week Changes: head/usr.sbin/bhyveload/bhyveload.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220186-27103-7EpK8LlOwG>