Re: Disable root mount waiting for USB

From: Robert Noland <rnoland_at_FreeBSD.org>
Date: Tue, 28 Jul 2009 08:52:25 -0500
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
Received on Tue Jul 28 2009 - 11:52:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC