Listing devices - quick question

Pongo A. Pan pongo_pan at charter.net
Sat Feb 19 20:01:07 UTC 2011


On Sat, 2011-02-19 at 11:42 -0800, Patton Echols wrote:
> I'm writing up my notes for someone who asked about data recovery and 
> I'm having a serious brain fade.  It's the part about discovering the 
> device that you just plugged in.  I know I can use
> $ fdisk -l to list devices or
> $ blkid to do the same and more.  But there is something that lists the 
> last system events, you run this command, then plug the usb device, then 
> run it again and see what got added to the end of the list.  Anyone want 
> to throw out the name for an idiot?

Minor brain fade isn't proof of idiocy.

Try "dmesg | tail -n40"

Gets the last 40 lines.


-- 
Pongo Pan, running Linux Mint 10 Julia, and Gnome 2.32.0
Glücklich der Mann, der den Hafen erreicht hat,
Und hinter sich ließ das Meer und die Stürme,
Und jetzo warm und ruhig sitzt
Im guten Ratskeller zu Bremen.






More information about the ubuntu-users mailing list