coreutils: mkfifo invocation
1
1 12.4 ‘mkfifo’: Make FIFOs (named pipes)
1 =======================================
1
1 ‘mkfifo’ creates FIFOs (also called “named pipes”) with the specified
1 names. Synopsis:
1
1 mkfifo [OPTION] NAME...
1
1 A “FIFO” is a special file type that permits independent processes to
1 communicate. One process opens the FIFO file for writing, and another
1 for reading, after which data can flow as with the usual anonymous pipe
1 in shells or elsewhere.
1
11 The program accepts the following options. Also see ⇒Common
options.
1
1 ‘-m MODE’
1 ‘--mode=MODE’
1 Set the mode of created FIFOs to MODE, which is symbolic as in
1 ‘chmod’ and uses ‘a=rw’ (read and write allowed for everyone) for
1 the point of departure. MODE should specify only file permission
1 bits. ⇒File permissions.
1
1 ‘-Z’
1 ‘--context[=CONTEXT]’
1 Without a specified CONTEXT, adjust the SELinux security context
1 according to the system default type for destination files,
1 similarly to the ‘restorecon’ command. The long form of this
1 option with a specific context specified, will set the context for
1 newly created files only. With a specified context, if both
1 SELinux and SMACK are disabled, a warning is issued.
1
1 An exit status of zero indicates success, and a nonzero value
1 indicates failure.
1