Disable root mount waiting for USB

Robert Noland rnoland at FreeBSD.org
Tue Jul 28 13:52:36 UTC 2009


On Tue, 2009-07-28 at 08:40 -0500, Robert Noland wrote:
> On Tue, 2009-07-28 at 16:36 +0300, Andriy Gapon wrote:
> > on 28/07/2009 16:22 Hans Petter Selasky said the following:
> > > You are maybe right. I didn't check that. Please change it to what it should 
> > > be, patching against USB P4's usb_controller.c, and send the unified diff off 
> > > to Alfred so he can apply your patch on top of mine. He's currently 
> > > integrating for me.
> > 
> > Hans,
> > it's not that complex a change for me to go through the chores (sorry):
> > TUNABLE_INT("hw.usb.no_boot_wait", &usb_no_boot_wait);
> 
> Actually, I think all that needs to be done is to change the flags to
> CTLFLAG_RDTUN.

Ok, Apparently I'm incorrect here... The man page is misleading... It
seems that you do need to declare the TUNABLE_INT as well as change the
CTLFLAG_RW to CTLFLAG_RDTUN.

robert.

> robert.

-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD



More information about the freebsd-current mailing list