]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 273102:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Aug 2016 16:31:15 +0000 (16:31 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Aug 2016 16:31:15 +0000 (16:31 +0000)
commit94ed088f45167ddd62f098787a0d6142a350cff5
tree4417a33a592cbea70eb35a36e2b7d2ad7412df6a
parentc1165345d25dcc207fdd79df07f493b6a16697ad
MFC 273102:
Use '-e' to check if the virtio backing file has already been created.

The '-f' check works fine on a regular file but not if the backing file is
a device (e.g., /dev/md0). In this case it would print a misleading but
otherwise benign message about the backing file not being present.

PR: 210410

git-svn-id: svn://svn.freebsd.org/base/stable/10@303925 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/examples/bhyve/vmrun.sh