Welcome to the Linux Foundation Forum!

Why is a USB drive listed as not being created under /dev?

Options

According to the knowledge check in chapter 26: Devices and udev, USB devices do not get a special file created under /dev when they're connected to the system, even though hard drives are. Both my intuition and my personal experience as a Linux administrator indicates this to be incorrect - what am I missing here?

Best Answer

  • coop
    coop Posts: 915
    Answer ✓
    Options

    In most cases, USB drives are recognized as SCSI so they show up as /dev/sdb /dev/sdc etc with partitions as /dev/sdd2 etc. If they are automatically mounted they will show up as /run/media/$USER/... or /media/... etc. You can see this by typing "df" and see where they show up.

Categories

Upcoming Training