From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_12_24, INVALID_DATE,MAILING_LIST_MULTI,NO_RELAYS autolearn=no autolearn_force=no version=4.0.0 Received: from drobbins by cvs.gentoo.org with local (Exim 3.22 #1) id 14VbT7-0001zZ-00 for gentoo-dev@gentoo.org; Wed, 21 Feb 2001 08:46:17 -0700 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Installation Gotchas Message-ID: <20010221084617.F6876@cvs.gentoo.org> References: <00c601c09ba3$4a96df70$3201a8c0@coral> <3A935591.FF339AE2@gottinger.de> <3A93CA70.1050103@linux.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A93CA70.1050103@linux.nu>; from mog@linux.nu on Wed, Feb 21, 2001 at 03:02:24PM +0100 From: Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Wed Feb 21 08:47:01 2001 X-Original-Date: Wed, 21 Feb 2001 08:46:17 -0700 X-Archives-Salt: a5ae747c-9fc7-4811-bbc0-014136065e16 X-Archives-Hash: 7969b8486541a989e1d506e8dd66d433 On Wed, Feb 21, 2001 at 03:02:24PM +0100, Morgan Christiansson wrote: > You could let the user enable/disable it before booting, like this: > > grep no_dma /proc/cmdline>/dev/null || enable_dma() > > or the opposite > > grep no_dma /proc/cmdline >/dev/null && disable_dma() > > Some more advanced syntax could be added too, such as no_dma=hda,hdb but > that's problably overdoing it. Shouldn't there be a kernel option for > this in the first place anyway? I didn't know that you could parse kernel options like that. Thanks for the tip. :) -- Daniel Robbins President/CEO http://www.gentoo.org Gentoo Technologies, Inc.