Re: "Johnny's first kernel hack"

Richard B. Johnson (root@chaos.analogic.com)
Sat, 5 Sep 1998 21:52:30 -0400 (EDT)


On Fri, 4 Sep 1998, RHS Linux User wrote:

>
> Hi linux-kernel. Congratulations to all of you. The Linux sourcecode, in
> addition to being Linux, is just a pleasure to look at.
>
> I made a 2.88 meg broot floppy for a PS2 2.88 meg floppy drive
> ( with the MCA patch of course). One snag along the way was the
> rd_size = 4096; in drivers/block/rd.c . I cavalierly changed this
> to 8192, and I don't think anything broke.
>
> This suggests that the 4096 is kinda arbitrary, and perhaps a bit small
> for 1998. I would suggest also adding the word "maximum" or something to
> the related printk.

I wonder how many PAGES were allocated to handle that read?? Be careful
when you do things like that.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.118 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
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/faq.html