I am trying to unmount the usb device and make it mount only when root mount
it.

I am using Ubuntu 10.04

1. I disabled automounting using gconf-editor.
2. I made the /media drive with read permission even then the usb gets
mounted, but the drive is not visible.
3. I black listed the usbstorage module, then it is not even attempting to
find the device.

Here is my requirement,
I am developing an application that manages external drives.
When a user plugs any usb storage, it prompts the administrator ie the
server.
Only the administrator can mount the device either in read mode or in write
mode.

I was successfull in alerting the administrator but still fails in mounting.

By disabling automount and using the step 2. I can make the device cant be
seen but not mount.
The problem is that the device is getting mounted if i click the icon
present in places>8gb drive etc. so how can i prevent mounting device even
if it is clicked.

--
regards
Rajesh Kumar R.K
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to