hey,
thanks for the reply.
I am using Fedora Core 7.
when i tried to run "modprobe -r usb_storage" it said "FATAL: Module usb_storage is in use"
to solve this i unmounted the device "umount /dev/sdb" and the again issued "modprobe -r usb_storage" this time it worked.
but when i removed the device and inserted it back, it was mounted again.
after this i tried following:
1. Unmounted the device. "umount /dev/sdb"
2. removed the module. "modprobe -r usb_storage"
3. edited /etc.modprobe.d/blacklist and appended "blacklist usb_storage"
4. remove the device and inserted it back, but it was mounted again
Thinking that the blacklist is not refreshed, i rebooted the PC and plugged the device again, but this time also it was mounted.
How can i make this permanent.
elliott678:
"Are you just looking to turn off auto mounting, or do you want to totally disable the ability to use a USB drive?"
No, I don't want to turn off auto mounting, nor do i want to disable it permanently.
I just want to disable it for some time and then enable it back("without rebooting the PC")
Any suggestions/comments ???