MKNOD(1) General Commands Manual MKNOD(1)

mknodmake special files

mknod [-m mode] file b | c major minor

mknod [-m mode] file p

In the first synopsis form, mknod creates a device special file named file, with the indicated major and minor device numbers. In the second synopsis form, mknod creates a device special file named file.

The device special file type are the following:

A block device.
A character device.
A named pipe.

The mknod utility exits 0 on success, and >0 if an error occurs.

mkfifo(1)

March 15, 2020 EltaninOS