On Mon, Apr 27, 2015 at 11:18:55AM +0200, Martin Pieuchot wrote:
> On 22/04/15(Wed) 10:29, Dimitris Papastamos wrote:
> > [...] 
> > On a side note, What do you think of using a sysctl instead of an ioctl?
> > I guess an ioctl will do but it would make it easy for people to disable
> > this at boot time by simply adding the relevant knob in /etc/sysctl.conf.
> > Otherwise I imagine people adding usbdevs -p off in rc.local.
> 
> I think it makes sense.  Note that we're currently not using sysctls for
> USB so I wonder where the node should be placed.  hw.usb I guess.

OK, should I have a look at adding the top-level sysctl node and the knob
for controlling bus probing?  I can then re-work my patch on top of that.

Reply via email to