From: olivier.lahaye1-GANU6spQydw@public.gmane.org
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Most efficient way to compute initramfs.img memory needs once uncompressed?
Date: Thu, 23 Mar 2017 17:53:39 +0100 (CET) [thread overview]
Message-ID: <2035004172.8785478.1490288019461.JavaMail.root@spooler6-g27.priv.proxad.net> (raw)
In-Reply-To: <876275948.8764054.1490287670503.JavaMail.root-NPLbsSYf/7dsFmKuirFwRhh1pbbyJDp15NbjCUgZEJk@public.gmane.org>
I'm desperately trying to find a good way to compute the memory required in terms of ramfs?
This must work on all maintained distros that use dracut. (at least centos-6, fedora-25, ...)
In other words, is there a simple/common way to compute the following command line parametters given an initramfs.img file?
ramdisk_blocksize=1024 ramdisk_size=??????
- lsinitrd doesn't have this capacity
- informations stored in the initramfs doesn't have this info
- lsinitcpio has this capability but seems to be specific to archlinux.
Regards,
--
Olivier LAHAYE
parent reply other threads:[~2017-03-23 16:53 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <876275948.8764054.1490287670503.JavaMail.root-NPLbsSYf/7dsFmKuirFwRhh1pbbyJDp15NbjCUgZEJk@public.gmane.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2035004172.8785478.1490288019461.JavaMail.root@spooler6-g27.priv.proxad.net \
--to=olivier.lahaye1-ganu6spqydw@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).