From owner-freebsd-current@FreeBSD.ORG Mon Jun 13 06:11:44 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B57D1065670 for ; Mon, 13 Jun 2011 06:11:44 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D3F428FC12 for ; Mon, 13 Jun 2011 06:11:43 +0000 (UTC) Received: by bwz12 with SMTP id 12so5101879bwz.13 for ; Sun, 12 Jun 2011 23:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=j07MrZOaAS12vjb1saQn/ppg0wYGYUvFjWL9KLuH1yA=; b=YMRG6xGt6UpFGIBxSQE7h3MidLXuEmb6Tu4RAAon3QB5CuYogYYVHLaXUijv42dSqY U/UzNMiEvrYgBFFk/kr5wYLiUFwP14YqQWmo/4VPwg7b+TLxb0Yrp48uCCNCDZqgpI2Q c1zW+KuScGPJkYQjtSv7PKjHOokyhQyrTAk/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=X4iZ03Wo19mRciWa1O6ve1XnaWyJPhpmxzTGpODZftr4sLyVoWnaXUkuTN32gPaedb ruuD1slYNGRIwzfoMbwiAPZg2IBaKU2BkUrQDibwWS36oyqHIE6Bo7p6ojgvPgU27dK1 M3/sSXXyqGcfk810yDUFtZe8th61U/i6glI9Q= Received: by 10.204.83.129 with SMTP id f1mr4453976bkl.29.1307945502245; Sun, 12 Jun 2011 23:11:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.15.74 with HTTP; Sun, 12 Jun 2011 23:11:22 -0700 (PDT) In-Reply-To: <4DF3E98B.40108@FreeBSD.org> References: <4DF3E98B.40108@FreeBSD.org> From: Eir Nym Date: Mon, 13 Jun 2011 06:11:22 +0000 Message-ID: To: Doug Barton Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: rc.d script to load kernel modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2011 06:11:44 -0000 On 11 June 2011 22:17, Doug Barton wrote: > Howdy, > > Per discussion on -arch and the svn list about improving boot time and > stripping down the kernel to just that-which-cannot-be-modularized I crea= ted > the attached script to kldload modules that don't need to be in loader.co= nf. > It cut quite a bit of time off my boot, so hopefully it will be useful to > others as well. > > To use it just put everything that is being _load'ed in loader.conf into > kld_list in rc.conf[.local]. For example, mine has: > > kld_list=3D'umass coretemp ichwd linux nvidia if_wpi' > > If there is agreement that this is a good direction to go I'll be happy t= o > commit this along with the relevant /etc/defaults/rc.conf and rc.conf.5 > changes. > How do you would suggest set tunables, which are readonly or have no sysctl(8) equivalent after boot-time? AFAIK loader can't set tunable if module is not loaded at boot-time. > > hth, > > Doug > > -- > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Nothin' ever doesn't change, but nothin' chang= es much. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0-- OK Go > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Breadth of IT experience, and depth of knowled= ge in the DNS. > =C2=A0 =C2=A0 =C2=A0 =C2=A0Yours for the right price. =C2=A0:) =C2=A0http= ://SupersetSolutions.com/ > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >