Re: How to use Udev to restrict USB access only to particular set of USB sticks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 22, 2011 at 4:38 PM, Greg KH <greg@xxxxxxxxx> wrote:
> Ok, what is the udev rule that you tried and did not work?

we tried to disable USB storage sticks with the following command:

SUBSYSTEMS=="usb" DRIVERS=="usb-storage" ÂOPTIONS:="ignore_device"

but we failed to make it work.

in general, I would say, that the sequence should be reversed - at
first ATTR(serial) to be checked for positives with ":=" (to terminate
the next checking), and at the end to place

SUBSYSTEMS=="usb" DRIVERS=="usb-storage" ÂOPTIONS:="ignore_device"

Any guidance is very appreciated.

--Vilius
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux