Kernel Newbies archive mirror
 help / color / mirror / Atom feed
From: "Chan Kim" <ckim@etri.re.kr>
To: <kernelnewbies@kernelnewbies.org>
Subject: How is the size of init ram disk  determined when initramfs is used?
Date: Fri, 7 Oct 2022 11:32:35 +0900	[thread overview]
Message-ID: <072001d8d9f5$0fb3dbd0$2f1b9370$@etri.re.kr> (raw)

Hello all,

I'm using initramfs.cpio.gz for initial file system image.
I embed it in the kernel Image file.
After linux boots, when I'm in the shell, I can create files.
But I'm curious how much the file system can grow.
I remember somewhere reading that the initramdisk is made and the initramfs
archive is extracted in the ramdisk.
Then how is the ramdisk size determined? During the build usig Kconfig
variable, or does it dynamically grow?
Thanks in advance.

Chan Kim





_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2022-10-07  2:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-07  2:32 Chan Kim [this message]
2023-01-01 16:54 ` How is the size of init ram disk determined when initramfs is used? Richard
2023-01-01 17:32 ` Bernd Petrovitsch
2023-01-01 19:23   ` Nicholas Mc Guire
2023-01-02  2:37     ` Chan Kim

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='072001d8d9f5$0fb3dbd0$2f1b9370$@etri.re.kr' \
    --to=ckim@etri.re.kr \
    --cc=kernelnewbies@kernelnewbies.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).