CLI reference / space / volume / unmount

stado space volume unmount

Invocation

stado space volume unmount [OPTIONS] --mount-point <MOUNT_POINT> <TARGET>

Purpose

Unmount the filesystem at a mount point and remove the fstab line `volume mount` wrote for it; the data on the disk is untouched. A busy filesystem is refused with umount's own error and fstab is left as it was. An fstab line stado did not write is refused by name. A mount point that is neither mounted nor declared is reported and nothing changes.

Required inputs and options

Input or optionContract
<TARGET>Positional input; required or optional as shown in the invocation.
--mount-point <MOUNT_POINT>The absolute directory the filesystem is mounted at
--jsonCommand option; required or optional as shown in the invocation.

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.