1 |
On Wed, Feb 21, 2001 at 03:02:24PM +0100, Morgan Christiansson wrote: |
2 |
|
3 |
> You could let the user enable/disable it before booting, like this: |
4 |
> |
5 |
> grep no_dma /proc/cmdline>/dev/null || enable_dma() |
6 |
> |
7 |
> or the opposite |
8 |
> |
9 |
> grep no_dma /proc/cmdline >/dev/null && disable_dma() |
10 |
> |
11 |
> Some more advanced syntax could be added too, such as no_dma=hda,hdb but |
12 |
> that's problably overdoing it. Shouldn't there be a kernel option for |
13 |
> this in the first place anyway? |
14 |
|
15 |
I didn't know that you could parse kernel options like that. Thanks for |
16 |
the tip. :) |
17 |
|
18 |
-- |
19 |
Daniel Robbins <drobbins@g.o> |
20 |
President/CEO http://www.gentoo.org |
21 |
Gentoo Technologies, Inc. |