LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Which node? (https://www.linuxquestions.org/questions/linux-newbie-8/which-node-552693/)

ak-87 05-09-2007 04:19 PM

Which node?
 
How can I find out which node in /dev is created when I plug in some device like USB modem or stick? There is nothing in dmesg.

Matir 05-09-2007 04:57 PM

dmesg should show it. Are you using udev? (Most modern distros do)

You can also look and see how /proc/partitions changes.

ak-87 05-10-2007 01:59 AM

Yes, Arch uses udev. No there are no any information about node in dmesg, at least not for usb modem. For example, when I plug my usb modem I get next lines at the end of dmesg :

Code:

usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice

:confused:


All times are GMT -5. The time now is 11:52 PM.