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

i18n mode, increasing available blocks and inodes



rootdisk.sh does

    info "i18n mode, increasing available blocks and inodes"
    blocks=$[$blocks+3200]
    inodes=$[$inodes+200]

While I can see we might need a bigger initrd for i18n, I don't think
this is the right way to handle it.  I just turned i18n on for hppa, and
ended up with a broken initrd.  hppa has root_bin_size := 6000 and the
kernels are built with CONFIG_BLK_DEV_RAM_SIZE=6144.  Result was that
rootdisk.sh built an initrd of 9200K, and the kernel could only see the
first 6144K.

I think the size of the initrd should be specified in $arch.vars, and if
an arch wants to make it bigger when they turn on i18n, they should do
so in $arch.vars.

Comments?

Richard



Reply to: