lkml.org 
[lkml]   [1999]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site