/[base]
ViewVC logotype

Revision 323739


Jump to revision: Previous Next
Author: avg
Date: Tue Sep 19 08:19:20 2017 UTC (6 years, 9 months ago)
Changed paths: 2
Log Message:
MFV r320195: 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


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/usr.sbin/bhyveload/bhyveload.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27