mk90.commands
Command mkdir
Create one directory on a mounted writable MKS2 volume.
Synopsis
mkdir pathOrdinary invocation: foreground child, PID 3; the shell waits. Not an allowed pipe producer.
Parameters
| Parameter | Meaning |
|---|---|
path | New directory path; its parent must already exist. |
Description
Allocates one of the volume’s 16 shared file/directory inodes and records its parent. Directories use metadata only, without a data extent. A successful commit makes the new name visible.
Examples
mkdir /mnt/smp1/work
mkdir /mnt/smp1/work/srcLimits and side effects
- No
-p, recursive creation or permission argument. Virtual directories and the boot ROM cannot be extended. An existing target is an error.
Status and diagnostics
Success is status 0. Relevant status codes: 3, 4, 5, 7, 8, 9, 11, 14, 15, 18. See the diagnostic reference.
See also
rmdir · ls · cd · Shell syntax