operating system services mkdir(path [mode]creates directory named path with numeric mode mode the default mode is on non-unix systemsthe mode setting may have no effect or be ignored mkfifo(path [mode]creates fifo ( named pipenamed path with numeric mode mode the default mode is (unixmknod(path [modedevice]creates device-special file path is the name of the filemode specifies the permissions and type of fileand device is the raw device number created using os makedev(the mode parameter accepts the same parameters as open(when setting the file' access permissions in additionthe flags stat s_ifregstat s_ifchrstat s_ifblkand stat s_ififo are added to mode to indicate file type (unixpathconf(pathnamereturns configurable system parameters related to the path name path name is string that specifies the name of the parameter and is the same as described for the fpathconf(function (unixreadlink(pathreturns string representing the path to which symbolic linkpathpoints (unixremove(pathremoves the file path this is identical to the unlink(function removedirs(pathrecursive directory-removal function works like rmdir(except thatif the leaf directory is successfully removeddirectories corresponding to the rightmost path segments will be pruned away until either the whole path is consumed or an error is raised (which is ignored because it generally means that parent directory isn' emptyraises an oserror exception if the leaf directory could not be removed successfully rename(srcdstrenames the file or directory src to dst renames(oldnewrecursive directory-renaming or file-renaming function works like rename(except it first attempts to create any intermediate directories needed to make the new path name after the renamedirectories corresponding to the rightmost path segments of the old name will be pruned away using removedirs(rmdir(pathremoves the directory path stat(pathperforms stat(system call on the given path to extract information about file the return value is an object whose attributes contain file information common attributes includef lib fl ff