Which device assigned to removable media

john wendel jwendel10 at comcast.net
Mon May 3 04:16:09 UTC 2010


On 05/02/2010 08:14 PM, Geoffrey Leach wrote:
> When I plug in an eSATA drive, it is assigned to sdb or sdd depending
> on whether other devices are installed. The device is reported by the
> kernel (/var/log/messages), but I'd like to be able to find this
> information without processing the log. Any pointers?
>
> Thanks.
>

Look at /dev/disks. Mounted disks show up here.  You can also just 
compare /dev before and after mounting. There's probably a gui, but I 
don't bother.

I also label the disk partitions and mount by label so I don't need to 
know the device name.

Regards,

John



More information about the users mailing list