Find the answer to your Linux question:
Results 1 to 2 of 2
hello, When I mount an usb device, I want to get the information contained in the structure usb_device. This information tally with the device which is being mounted now (dev_name). ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    1

    Identify an usb device

    hello,
    When I mount an usb device, I want to get the information contained in the structure usb_device. This information tally with the device which is being mounted now (dev_name).

    So I want to get, for example, the path where the device will be mounted (/dev/sda) before it is mounted naturally.

    I hope you will understand my question despite my average English level.

  2. #2
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Hi, i think what you're looking for is:
    udevadm monitor

    I hope can help you
    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...