see newly attached devices

Matt Graham mhgraham at crow202.org
Tue Aug 5 12:52:21 MST 2014


On 2014-08-05 12:30, Michael Havens wrote:
> something on th hard drive I need though. I have an IDE to USB
> adapter. I connect everything together and open my file manager but 
> the
> new device isn't listed in the device menu. Could someone help me get
> into the device?

If you plug a USB device in and it's recognized, it will show up in the 
output from dmesg about 1 second after you plug it in as something like

sd 2:0:0:0: [sdc] Assuming drive cache: write through
  sdc: sdc1

"dmesg | tail -n 40 | grep sd" should give you something like that 
right after you've plugged it in.  In the example above, the first 
partition of the disk is visible at /dev/sdc1 , so I would then do 
"mount /dev/sdc1 /mnt/somewhere" to look at the files on it.

Or you can look at "ls -lt /dev/disk/by-id/" and pick out the most 
recently added partition.

If the filesystem or drive is damaged badly enough, then this might not 
work.

-- 
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.


More information about the PLUG-discuss mailing list