Which /dev/ device is my piece of hardware associated with?

Hi,

I plugged in my USB camera the other day and on a hunch figured it would be associated with /dev/video0 (or something close to it). I got lucky. Is there a place I can go to to see a list of devices and associated so I don't have to be so lucky?

Thanks for the help.

Hi, Thanks for the reply. I

Hi,

Thanks for the reply. I think fstab is a file which is a table (or list) of filesystems associated with devices. I think this would show the devices like harddisks, cdroms, remote mounts etc that would store files and what kind of file system type (ext2/3, xfs, vfat etc) is on each partition.

I'm looking to find out about other things that are listed when using the lspci command. Let's say I see a wireless card, how do I know whether it will be associated with eth0 or wlan0 when the driver is loaded. Or maybe a webcam... video0 or video1. I'm thinking of the kind of device that may not have a filesystem but might send or receive information to an application.

Post new comment