USB Storage Devices
6-2
Express5800/
ftServer
: System Administrator’s Guide for the Linux Operating System
If a device is plugged into a USB hub, the name has two numbers. For example,
sd1.3usb
is the name of the device attached to port 3 of a hub connected to port 1 of
the root USB hub. If you add another hub to the chain, the device name would contain
a third number.
The
udevinfo
command translates the internal name into the name assigned by the
udev
command. For example, the following command and output show that the
udev
command has assigned the name sd1usb to the device with the internal name sde:
#
udevinfo -q name -p /sys/block/sde
sd1usb
The
ls
command displays the device node for this device:
#
ls -l /dev/sd1usb
brw-rw---- 1 root disk 8, 64 Oct 24 16:18 /dev/sd1usb
You can also translate the name assigned by the
udev
command into the internal
name. For example:
#
ls -l /dev/sd*usb
brw-rw---- 1 root disk 8, 64 Oct 24 16:18 /dev/sd1usb