Thanks. But what if I put a new device. E.g. a webcam. The kernel can see it but how do I find out what device it's attached to. Like is it /dev/video0 /dev/usbvideo /dev/usb/ttyxx or whatever. Thanks, Steve. On Wednesday 24 October 2001 18:33, you wrote:
Hi everyone.
Is there anyway I can tell which device is connected to
which /dev file? Like
sometimes the cdwriter atteches to scd0 and other times
to sr0. The boot
messages don't give it any more it seems.
A very quick way, is to do the following:
(as root):
cd /dev ls -al | less
This will then show you symlinks of any device files, and also point you to the symlink in question.
thus:
blah blah blah /dev/cdrom --> /dev/hdd
is just one example (truncated).
HTH,
Thomas Adam
"This is Linux country. If you listen carefully, you can hear the sound of Windows rebooting....."