16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exit Values<br />

Messages<br />

Portability<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v Missing mode after –m<br />

v Incorrect mode<br />

v Incorrect command-line option<br />

v Missing directory name<br />

v Inability to create the directory<br />

Possible error messages include:<br />

Related Information<br />

rm, rmdir, umask<br />

Path not found<br />

The preceding structure (parent directory) of the named directory does not<br />

exist.<br />

Access denied<br />

The requested directory already exists or is otherwise inaccessible.<br />

Cannot create directory<br />

Some other error occurred during creation of the directory.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

mkfifo — Make a FIFO special file<br />

Format<br />

Description<br />

Options<br />

mkfifo [–m mode] file [–p]<br />

mkfifo creates one or more FIFO special files with the given names.<br />

mkdir<br />

–m mode<br />

Lets you specify file permissions for the files. The mode argument can have<br />

the same value as the mode argument for chmod; see chmod for more<br />

details.<br />

–p Creates intermediate directory components that do not already exist. For<br />

example, if one of the file arguments is dir/subdir/file and if subdir does<br />

not exist already, this option creates it. Such intermediate directories are<br />

created with mode bits determined in the following way: Take a default<br />

mode setting 777 (a=rwx), apply the umask setting of the process to it, and<br />

then turn on user read, write, and user execute permissions (u+rwx).<br />

Chapter 2. Shell command descriptions 427

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!