[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find my usb storage device mount point



Can any body know how dmesg command and syslogd will fetch the information about usb storage device plugged into my system.

Regards,
Ravikumar.

shreeram wrote:


ravikumar wrote:
Please tell me how to find out to which device(say /dev/sda1 ) to my usb storage device is connected.

Regards,
Ravikumar.

"dmesg" should give you the details of the device

V.Ravikumar wrote:
I want implement following project: Detecting files transfered from/to
usb storage from/to my  system.
I can detect the plugged in usd storage device through
/proc/bus/usb/devices,but detectioon is not enough,i need to find what
are files transfered from/to usb storage device.(using usbmon i cant
find the file names that are transfered from/to usb storage device).

What i'm thinking is if i'm able to find out the mount point, then i
can use the inotify to monitor this mount point, so that i can detect
files transfers.

Please help me to implement my project.

Regards,
Ravikumar

On 9/11/08, ravikumar <ravikumar.vallabhu@xxxxxxxxx> wrote:
  
How to find out where is my usb storage device mounted on,I need to find
out using some program.
I knew ,usb devices will usually mount on some directory on root file
system with some directory name.
But need to identify it using some program.

Regards,
Ravikumar.


    

  


-- 

-_-
 .

Regards,
R.S.Shree Ram
GDA Technologies Ltd.