From owner-freebsd-questions Thu Aug 1 5:58:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FF4337B400 for ; Thu, 1 Aug 2002 05:58:20 -0700 (PDT) Received: from nelly.internal.irrelevant.org (81-86-164-179.dsl.pipex.com [81.86.164.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E219243E88 for ; Thu, 1 Aug 2002 05:58:19 -0700 (PDT) (envelope-from simond@irrelevant.org) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.36 #1) id 17aFX0-00023L-00 for freebsd-questions@FreeBSD.ORG; Thu, 01 Aug 2002 13:58:18 +0100 Date: Thu, 1 Aug 2002 13:58:18 +0100 From: Simon Dick To: freebsd-questions@FreeBSD.ORG Subject: Re: setting readonly hw.ata.atapi_dma Message-ID: <20020801125818.GK4074@irrelevant.org> References: <20020801142717.B460@gicco.cablecom.ch> <20020801122933.GJ4074@irrelevant.org> <20020801143936.A338@gicco.cablecom.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020801143936.A338@gicco.cablecom.ch> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 01, 2002 at 02:39:36PM +0200, Hanspeter Roth wrote: > On Aug 01 at 13:29, Simon Dick spoke: > > > On Thu, Aug 01, 2002 at 02:27:17PM +0200, Hanspeter Roth wrote: > > > Hello, > > > > > > I want to set hw.ata.atapi_dma to 1. But using sysctl it tells me > > > hw.ata.atapi_dma is read only. > > > How can I set it to 1? Is there a specific kernel configuration > > > option? > > > > Try setting it in /boot/loader.conf as > > hw.ata.atapi_dma="1" > > Aha. Indeed that works. > I'd thought this belongs into /etc/sysctl.conf. So did I at first, but that sysctl is read only once the kernel has been loaded, so it sort of makes sense that it can only be set by the loader :) -- Simon Dick simond@irrelevant.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message