Skip to main content
added 1 characters in body
Source Link
Gilles 'SO- stop being evil'
  • 837.9k
  • 198
  • 1.7k
  • 2.2k

You can do this easily by referencing /dev/diskinput/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device. These links are however created by udev which might not be present in your embedded environment.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device. These links are however created by udev which might not be present in your embedded environment.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

You can do this easily by referencing /dev/input/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device. These links are however created by udev which might not be present in your embedded environment.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

mentioning need for udev
Source Link
peterph
  • 31k
  • 2
  • 71
  • 76

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device. These links are however created by udev which might not be present in your embedded environment.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device. These links are however created by udev which might not be present in your embedded environment.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

quoting
Source Link
peterph
  • 31k
  • 2
  • 71
  • 76

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_serialnumber/dev/disk/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -ereadlink -e to determine the associated block device.

Or.. Look at the dmesgdmesg after connecting the USB device. It should give you the /dev/dev node.

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_serialnumber. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_*serialnumber*. These appear as symbolic links which you can dereference using readlink -e to determine the associated block device.

Or.. Look at the dmesg after connecting the USB device. It should give you the /dev node.

Source Link
Jeight
  • 2.6k
  • 3
  • 20
  • 28
Loading