Command reference
ed machines unmount
Unmounts a machine's file system again. Aliased umount.
ed machines unmount <machine> [--json]Arguments
| Name | Type / values | Default | What it does |
|---|---|---|---|
<machine> |
string, required | none | Machine name, ssh alias, id or unambiguous prefix. |
Options
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emit JSON on stdout instead of the line. |
--help, -h |
flag | off | Print the help for this command on stdout and exit 0. |
$ ed machines unmount devboxunmounted /Users/you/Edith/devbox{ "machine": "Devbox", "mountPoint": "/Users/you/Edith/devbox", "readOnly": false, "remotePath": "/", "source": "devbox:/"}ed machines unmount devboxed machines umount devbox --jsonBehaviour notes
The document describes the mount that was released, so it is the same shape
mount printed when it went up.
Edith calls unmount(2) first and forces it second, which is what gets a mount
down when a shell is still sitting in it. The mount point is then
removed if it is empty and inside ~/Edith, so the folders do not pile up; a
mount point you chose with --at is left where it is.
A machine that is not mounted exits 4 rather than pretending to have done something:
$ ed machines unmount devboxerror: Devbox is not mounted.Where to go next
ed machines, the rest of this group- All
edcommands