how to find the right /dev file?
I keep hitting this problem, because I have no method dealing with it.
I have a USB memory key, which on my own PC comes up as /dev/sda1. I go another PC, load Knoppix, but sda1 is called an invalid block device. OK, I think, just try out the other "usual suspects", /dev/sda, /dev/sdb, etc. No luck.
dmesg tells me a USB mass storage device has been found, but no clues as to which file in /dev. Similarly lsmod tells me, it's there but nothng else.
And there are so many files to choose from in /dev! Which one could it be? IS there any sort of autmated method of sifting through them and finding which one? Or has it always got to be a manual trial and error thing?
|