Re: [SLUG] Which /dev/sd* device is which

From: Tommy E Ctraddock Jr (sigtom@sigtom.com)
Date: Thu Oct 08 2009 - 15:21:27 EDT


Try fdisk -l. Will list all drives connected. Or dmesg | grep /dev/sd

Tommy Craddock

Sent from my iPhone

On Oct 8, 2009, at 3:14 PM, Paul M Foster <paulf@quillandmouse.com>
wrote:

> Folks:
>
> You now how externally connected drives and such, connected by USB
> show
> up as /dev/sda, /dev/sdb, etc? Is there a program somewhere in Linux
> which maps out what devices end up as /dev/sdX? lsusb gives voluminous
> details, but doesn't appear to give me a clue whether a device will
> end
> up as /dev/sda or /dev/sdg or what. Currently, if I plug an external
> USB
> hard drive in, I have to attempt to mount each /dev/sdX device until I
> find the one I just mounted.
>
> Any bright ideas?
>
> Paul
>
> --
> Paul M. Foster
> ---
> --------------------------------------------------------------------
> This list is provided as an unmoderated internet service by Networked
> Knowledge Systems (NKS). Views and opinions expressed in messages
> posted are those of the author and do not necessarily reflect the
> official policy or position of NKS or any of its employees.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:46:36 EDT