Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

Block Devices and File Systems

Device Special Files

  • In Linux, everything is a File
  • /dev contains device files
  • mknod can be used to make a device file
    • Example: mknod mydevice b 1 1
  • udev manages devices, it creates the device files in the /dev directory