Development Linux

What does mknod do?

So the mknod command, what does that do?

/dev/random$ mknod -m 666 random c 1 8

I understand that -m specifies permissions, and that mknod overall create an inode in the filesystem which can be a file, directory, device, fifo, etc…but I really don’t understand what the last 3 arguments there do.

Leave a Reply

Your email address will not be published. Required fields are marked *