finding USB device /dev/sd?
Hi
Well I'm trying to find a command line way of finding out which sd? my USB stick is. It auto mounts fine but I can't find out which /dev/sd? it is. So I guess I need a command to list them all and identify them some how. I've been looking on wiki's, google, forums etc but im going round and round in circles. Please put me out my missery. Thanks in advance for your time |
What I typically do is
Code:
tail -f /var/log/messages |
Try the 'mount' command
|
I usually look at "/var/log/messages" or "fdisk -l" to differentiate between them.
|
make in a terminal "dmesg > dmesg_ini.txt"
put the usb in your pc make in a terminal "dmesg > dmesg_end.txt" The difference between the files ..ini and ..end give your usb name! And: you can label it (give a name like "love_usb"...;-) |
Brilliant Thanks everyone!
I found "thesnows" method of just typing Code:
mount Although Code:
tail -f /var/log/messages Thanks again. I learnt loads |
After you have your usb in your pc, start the programm "gparted" and give the label name "flopp_stgt"....;-)
|
I haven't installed Gparted. I was thinking of making a rescue USB with Gparted on though so I can keep it handy to fix problems (and mates machines that die running w!ndow$) ;)
|
All times are GMT -5. The time now is 08:37 PM. |