On Wed, May 4, 2011 at 1:51 PM, Akilan R <[email protected]> wrote:

> 2011/5/4 விக்னேஷ் நந்த குமார் (Vignesh Nandha Kumar) <
> [email protected]>
>
> >
> > $ ls /dev/ | grep sd[a-z]$
> > sda
> > sdb
>
>
> But this shows built-in hard disks too. :)
>

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.


-- 
நன்றிகளுடன்,
விக்னேஷ்.
http://krvignesh.wordpress.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to