Question Locked

How to disable USB on linux for only mass storage.

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I wanted to disable USB on linux for only mass storage.

When I disable it through BIOS, I was unable to use usb keyboard and mouse.

So how to disable only mass storage.

Asger

2 replies

by peconet tietokoneet

modprobe -r usb_storage

from the command line.

To make this permanent you will have to blacklist the module, to prevent it from loading on reboot.

Though it depends on which kind of Linux flavour you have.
Is it:
Ubuntu?
Redhat?
Fedora?
Etc, etc.

This discussion is closed to new replies.