Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to disable all USB storage devices except a software Protection Dongle. How do I do it? I tried black listing the USB storage device, but that seems to block ALL usb devices including the dongle. Can udev be used for this? If yes, I can't figure out the command, I tried using a grep to determine disk size and then block all disks having size above 2MB. But in that case, how do I make it apply for USB storage devices in specific.

share|improve this question

Ran across it yesterday: right up your alley.. nifty-udev-examples

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.