2011/5/4 விக்னேஷ் நந்த குமார் (Vignesh Nandha Kumar) <[email protected]>

> Yes, but the built-in hard disks normally come first in the order of
> assigning device names, AFAIK (Please correct me if I'm wrong). So if you
> have 'n' built-in hard disks you can just ignore first 'n' rows of the
> result to get the list of usb devices.
>

What if he OP is trying to write script that does something with USB disks?
If it's his own system he can ignore n number of disks he has. But for
generic script it won't do. dmesg is the best bet.

-- 
அகிலன் (Akilan R)
[ blog.akilan.in ]
*I should have no use for a paradise in which I should be deprived of the
right to prefer hell.*
  --Jean Rostand
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to