Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 13:58:18 +0100
From:      Simon Dick <simond@irrelevant.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: setting readonly hw.ata.atapi_dma
Message-ID:  <20020801125818.GK4074@irrelevant.org>
In-Reply-To: <20020801143936.A338@gicco.cablecom.ch>
References:  <20020801142717.B460@gicco.cablecom.ch> <20020801122933.GJ4074@irrelevant.org> <20020801143936.A338@gicco.cablecom.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020801125818.GK4074>