Which device assigned to removable media

g geleem at bellsouth.net
Mon May 3 04:36:57 UTC 2010

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?

 df|grep /dev/sd|sort
 mount|grep /dev/sd|sort

put either in a script and save typing.


peace out.



in a free world without fences, who needs gates.
help microsoft stamp out piracy - give linux to a friend today.
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100503/01f0224e/attachment.bin 

More information about the users mailing list