Usage

mknod NAME TYPE [MAJOR MINOR]

  • TYPE: b, c, p, u
  • MAJOR: major number
  • MINOR: minor number

Create a character device

mknod /dev/zero c 1 5