Invokes a command in the virtual or real partitioned, directory-access mode.
pdmode [ [ -r ] command [ arg ... ] ]
The pdmode command allows you to invoke a command that you specify using the command parameter in the virtual or real partitioned directory access mode. When invoked without any argument, the pdmode command returns the partitioned directory access mode of the process which invoked this command.
If you run the pdmode command followed by the command parameter without any flag, the command is run in the virtual mode. A user can run a command in the real partitioned directory access mode by using the -r flag.
Item | Description |
---|---|
-r command [ arg… ] | Sets the new process's partitioned directory access mode to
the real mode. In this mode, partitioned directories are not transparent,
and you must be aware of partitioned directories to navigate the subtree
at a partitioned directory.
To successfully run the command with this option, users need the aix.mls.pdir.mode authorization. |
All users can run the pdmode command. To successfully perform specific functions, you need the following authorization:
Item | Description |
---|---|
aix.mls.pdir.mode | Required to use the pdmode command with the -r flag. |
The pdmode command returns the following exit values:
Item | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
pdmode
pdmode ls -l
pdmode –r ls -l
Item | Description |
---|---|
/usr/sbin/pdmode | Contains the pdmode command. |