osmates vm volumes
List the volumes machines are on or can go to.
osmates vm volumes [--json]The startup volume holds the library in Application Support; any other APFS volume attached to this Mac holds one in its OSMates Machines folder once a machine is made on it or moved to it. A volume that isn't attached is listed with its machines, which are offline until it is back. A volume no machine can go to says why.
Arguments
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an array of objects with these fields.
JSON Schema: /schemas/0/cli/vm/volumes.json
canLeaveTheMacbooleanRequiredformatstringidstringRequiredisAttachedbooleanRequiredisStartupbooleanRequiredmachinesintegerRequirednamestringRequiredrefusalstringOne of
notAPFS,readOnly,notLocal,notAttached.
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |