[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set blksize of block device



On Mon, 01 Nov 2004 14:06:16 -0600, Lei Yang
<lya755@xxxxxxxxxxxxxxxxxxxx> wrote:

> I want to set the block size of ramdisk.

Why on earth do you want to do that though?

> However, I realized in rd.c, the hardsect is set to 512

You could change it but I don't know what the knock on effects will be
OTTOMH - I expect it'll work with any reasonable power of two (barring
the limits we discussed), but the best advice I can give is to try it
and see. I don't see how this benefits you though since whatever
you're running on top of that almost certainly will deal in much
larger block sizes.

Cheers,

Jon.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/