Creates or sets partitioned directories.
The pdmkdir subroutine creates a new partitioned directory or changes the type of the directory.
The process must be in real mode for the pdmkdir subroutine to succeed.
To run the pdmkdir subroutine, the PDMKDIR authorization is required to override the Discretionary Access Control (DAC), the Mandatory Access Control (MAC), and the Mandatory Integrity Control (MIC) restrictions. Otherwise, the pdmkdir function can be used by the non-PDMKDIR-authorized users subject to the DAC, MAC, and MIC restrictions.
The nested partitioned directory is not supported by this subroutine because there is no advantage of having nested partitioned directory.
Item | Description |
---|---|
Path | Specifies the name of the directory to be created or to be modified. |
Mode | Specified the mask for the read, write, and execute flags for owners, group, and others. The Mode parameter specifies directory permissions and attributes. |
Flag | Specifies the function to be performed by the pdmkdir subroutine.
The flag parameter can be one of the following
values:
|
Upon successful completion, the pdmkdir subroutine returns a value of zero. Otherwise, it returns a value of nonzero.
The sys/secconf.h file.