Hello Andrei ! On Thu, 21/04/2016 at 15.41 +0300, Andrei Borzenkov wrote: > > On Thu, 21/04/2016 Guido Trentalancia wrote: [...] > > > > Add support for localised messages from core packages > > > > (LC_MESSAGES). > > > > > > Do we really need this in the initramfs? > > > > It's a killer functionality !!! And it requires very little extra > > disk > > space compared to the actual initramfs. You know, we tend not to > > use > > the floppy disk anymore nowadays !... > > > > Hmm ... how do you determine which message catalogs need to be > included? It obviously depends on modules and there is no 1-to-1 > correspondence between programs and message catalogs. A variable first defines the core packages to include (the very minimum, such as e2fsprogs, coreutils and so on). Consider that's very important information and not everybody speaks English. So you don't really want to put at risk of corruption someone else filesystem or similar things. The above does not depend on installed modules, as core packages are always present. What do you mean exactly for 1-to-1 match between programs and message catalogs ? Of course, a dracut module doesn't install all programs from a given package, then you still need to install the message-based localisation for the whole package. But we are talking about kilobytes: e.g. 181522 /usr/share/locale/it/LC_MESSAGES/coreutils.mo > Do you have actual results how much space message catalogs for all > components in typical initrd consume? For the italian locale, I have the following figures: initramfs with full locale support: 32668248 initramfs with only the keyboard support (virtually useless to non- English speaking users): 29624027 The difference is 3 Megabytes. Nothing compared to today's removable mass storage capabilities. Regards, Guido -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html