Group: comp.os.linux.networking
From: Bill Marcum
Date: Tuesday, April 08, 2008 1:44 PM
Subject: Re: How to detect that a USB disk has been plugged?

On 2008-04-08, Ramon F Herrera wrote:
>
>
>
> My server is in a remote site and I have ssh access only. I had a
> colleague plug an USB disk into the server and would like to mount it.
>
> I was hoping that the insertion of the disk would generate some log
> message but that doesn't seem to be the case. I only looked in /var/
> log/messages, btw.
>
> My second approach was to reboot the server and take a look at the
> boot log in order to identify the device and mount the disk.
>
> Is it possible to identify the device without rebooting? Maybe I
> should look under the /proc filesystem?
>
Perhaps your server installation does not include udevd.

Safety Articles | Usenet Groups | Usenet News | Bluegrass