[ubuntu-in] Disable USB port for Mass Storage
Arun Shrimali
arun.reso at gmail.com
Tue Jan 18 08:14:11 UTC 2011
On Tue, Jan 18, 2011 at 1:16 PM, निशांत / Nishant <nishantsharma.in@
gmail.com> wrote:
> > Pl give me the steps how can I do that.
> >
> > modprobe -r usb_storage
>
> Using above command will work until you reboot the machine.
>
> For a permanent solution edit /etc/modprobe.d/blacklist and add following
> line:
>
> blacklist usb_storage
>
> then save and reboot.
>
> regards,
> Nishant
>
> --
> ubuntu-in mailing list
> ubuntu-in at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
Thanks, its working
Step 1. #modprobe -r usb_storage
Step 2 (for permanent solution) edit /etc/modprobe.d/blacklist.conf
and add following line at the end:
blacklist usb_storage
To again start the USB port for mass storage
undo step 2
restart pc
Thanks to nishant and jkhatri
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-in/attachments/20110118/87b79539/attachment-0001.html>
More information about the ubuntu-in
mailing list