]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use '-e' to check if the virtio backing file has already been created.
authorNeel Natu <neel@FreeBSD.org>
Tue, 14 Oct 2014 18:34:15 +0000 (18:34 +0000)
committerNeel Natu <neel@FreeBSD.org>
Tue, 14 Oct 2014 18:34:15 +0000 (18:34 +0000)
commite5db20c0c8c1d9db4e37f4800e5bb42673a63989
tree6642f26a30cce8e6d1b69588a0d03d8449936b7e
parente4cd478e9f1adab81e349179ac7e89b2f438423a
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.

Submitted by: Marcus Reid (marcus@blazingdot.com)
Discussed with: grehan
share/examples/bhyve/vmrun.sh