Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D257C433F5 for ; Fri, 7 Oct 2022 02:33:04 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.96) (envelope-from ) id 1ogdAL-0005YN-2t; Thu, 06 Oct 2022 22:32:45 -0400 Received: from mscreen.etri.re.kr ([129.254.9.16]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (Exim 4.96) (envelope-from ) id 1ogdAI-0005YH-2N for kernelnewbies@kernelnewbies.org; Thu, 06 Oct 2022 22:32:43 -0400 Received: from unknown (HELO send002-relay.gov-dooray.com) (211.180.235.153) by 129.254.9.16 with ESMTP; 7 Oct 2022 11:32:39 +0900 X-Original-SENDERIP: 211.180.235.153 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: kernelnewbies@kernelnewbies.org Received: from [10.162.225.106] (HELO smtp001-imp.gov-dooray.com) ([10.162.225.106]) by send002-relay.gov-dooray.com with SMTP id 9e7b3cee633f8fc5; Fri, 07 Oct 2022 11:32:37 +0900 DKIM-Signature: a=rsa-sha256; b=I+quKm+YS5ahdxKFtP42KDf0LEBKGO7ScT9jZO2vJ34r+2eF7/k/QMipi2/DdCXHBxSpSUrxwa ufWjXoAQta1WrBxOOBR/fxy/A443KpRc8dZ25mAE14X7CM9JdUp3Td58ABlWfTusJW8Y1S0Stc8a RzyDYCEmlUAWXEqLgoJV35YZCNJSsGogjdRvhsEq1BWQ0dzC8Rc0Syz5FkXnKBSG9UcynPXLGqUS Az1Y+o8neAS4bdHKPKhV9X6DlN8NHbNZ6kqWioacD8Z2n6jtD80V2FFQTXrTzkE8wzQ+Y0OOg9Ho f4D/xgKKszLL3xh2NQfx0ZU3ezQs4SKhHbvZtunQ==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=5aMx7YNZfXdgEmjPKJXCe7245/M+Lqfp5bX/gbNawxU=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp001-imp.gov-dooray.com with SMTP id 50f24ea6633f8fc4; Fri, 07 Oct 2022 11:32:36 +0900 From: "Chan Kim" To: Subject: How is the size of init ram disk determined when initramfs is used? Date: Fri, 7 Oct 2022 11:32:35 +0900 Message-ID: <072001d8d9f5$0fb3dbd0$2f1b9370$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Content-Language: ko Thread-Index: AdjZ9Qn+woKDvPLzQ7uaHa7qWwChag== X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org 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