mk90.commands

Command umount

Clear a volume’s mounted state.

Synopsis

umount mountpoint

Ordinary invocation: foreground child, PID 3; the shell waits. Not an allowed pipe producer.

Parameters

ParameterMeaning
mountpointThe root of a mounted volume, such as /mnt/smp1.

Description

Refuses to unmount a volume containing the current directory or an open file handle. Change to / first. Successful unmount does not delete data.

Writes are verified and committed by their owning operation; UMOUNT is not a delayed-write flush command. Before changing a physical cartridge, leave it, unmount it, and explicitly mount the replacement.

Examples

cd /
umount /mnt/smp1

Limits and side effects

  • No force option. Keep the boot ROM physically installed: the OS continues to load code and resources from it.

Status and diagnostics

Success is status 0. Relevant status codes: 3, 4, 8, 14, 15, 18. See the diagnostic reference.

See also

mount · cd · Shell syntax