Messages in this thread | | | Date | Tue, 11 May 1999 12:34:06 -0400 (EDT) | From | "Theodore Y. Ts'o" <> | Subject | Re: RAM disk question |
| |
Date: Tue, 11 May 1999 10:31:14 +0300 From: Constantine Gavrilov <const-g@Orbotech.COM>
I tried `modprobe rd rd_size=8192' and got:
/lib/modules/2.2.6/block/rd.o: invalid parameter rd_size
You ment changing the value of rd_size in drivers/block/rd.c, did you not? How difficult would it be making it a module parameter? Does not kernel/setup.c, kernel/head.S use this value?
That's funny. There's a MODULE_PARAM(rd_sizd, "1i") declaration the drivers/block/rd.c which should have allowed this to work, which is the answer to your question about how to make things a module parameter.
I have the ramdisk compiled into my kernel at the moment, so I can't test this, but it should work....
- Ted
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |