mkdir - create directory
mkdir creates the named directory. All intermediate components must already exist. If the named directory already exists, an error occurs.
mkdir uses the following syscalls:
As the mkdir system call is generally not part of the basic system calls assignment, mkdir will usually still not function after the basic system calls assignment is complete. This call is typically part of a later assignment, usually the file system assignment. You may also need to implement subdirectories in the file system. Consult your course materials for specific information.