User Tools

Site Tools


ubuntu:usb:usb_driver:usb_driver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:usb:usb_driver:usb_driver [2020/03/20 12:48] peterubuntu:usb:usb_driver:usb_driver [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 14: Line 14:
   * USB hard disk   * USB hard disk
   * Other USB block storage   * Other USB block storage
 +
 +----
 +
 +===== Disable the usb_storage module =====
 +
 +To disable:
 +
 +<code bash>
 +sudo modprobe -r usb_storage
 +</code>
 +
 +To enable:
 +
 +<code bash>
 +sudo modprobe -i usb_storage
 +</code>
 +
 +----
 +
 +The easiest way to disable usb storage device in linux is create following file and add following line inside the file:
 +
 +<code bash>
 +sudo touch /etc/modprobe.d/no-usb
 +</code>
 +
 +and populate:
 +
 +<file bash /etc/modprobe.d/no-usb>
 +install usb-storage /bin/true
 +</file>
 +
 +----
  
ubuntu/usb/usb_driver/usb_driver.1584708531.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki