From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11AB5222566 for ; Tue, 16 Sep 2025 01:48:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757987337; cv=none; b=jP8Ea9+1jpuvoeCvlY5cnd36H9zUW5JYP52vopYTHf7tR5VQlLV343ElwEL/iF0a0bAFJSKKbhsJCZ3Ka0zIfzU8FdibDBZH8FMzf8Qfhb3mZHteE0kD4Kg1tk+urTSmuhFJRr2B7Maosdl7Up8r7v8komb6e/E1n5kCZgPpFHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757987337; c=relaxed/simple; bh=ixp1vRoqVO/aQuZyYy6zFP7jfZFHYTqyHd5Z6tSU/S0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=KdWDJiuy4aNUf7QGzrOxRcSOhvftyVTMvnbc1MSaJ24FXE6ir+9n34TwgMO95xJbAtK8gVSoldVtSQFpZIpDTr7N7glpFSlw+qvDQFLz8ZsWRmeFd1JTnLGQf9HXmYGGzZ84Psx0aDJH9fIgJeaG+zLyJWQWTmqi3BfXkr16lJg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=JGzWjT6J; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JGzWjT6J" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757987333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UM/63QbNRNL2CWSzKhJPtVEvJogEqqs3VcsifJT7nZg=; b=JGzWjT6JFY44F9HuG73zfC+XVXSpyEZnpQCAqiavnVJaex4OmR07wPNEUXLEBK3aPPNASb DTaTB1gZFE+DJer/o51vsb0HNic3DYvivGyJhMpU+pMvEA5BzK1/RIXnL5VmsY2pUK7A4X JJbm37DGkbr6iy5wEYEwqu+Km41BUrY= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-226-q7JR-AcGPpu-SrcrA81n6A-1; Mon, 15 Sep 2025 21:48:51 -0400 X-MC-Unique: q7JR-AcGPpu-SrcrA81n6A-1 X-Mimecast-MFC-AGG-ID: q7JR-AcGPpu-SrcrA81n6A_1757987330 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-5717bd64621so2091478e87.0 for ; Mon, 15 Sep 2025 18:48:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757987330; x=1758592130; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UM/63QbNRNL2CWSzKhJPtVEvJogEqqs3VcsifJT7nZg=; b=d5oOXEsFEDI9mdjEjwqaOtaO+0v+IxT9KbzeGG0P54cC/tSCdq2FQvnpg97F9idyFH DHj8qjdleP3CBHUbRmC2fXDu3g6YGcfrk1cfzj5M1iZ/cqtlt+L9EdPvZj3nnZGv1It8 OAAEDGYBmHEq+wz4XIHAKXg8wPGj/mgdNtfx/bGQgDz6J3nyA5Y5vgPmlh0nLpslXISG 7mUvF8tLv8bbohH3QMpXFM3+XVC31P6Pn1QKKf8v6ipItzgWii7NQ/Ygf3D5kq7EcVH7 gFnfIj5IDsAkb/GLkNaa94tc4hJd4g9BpcM6BiRm8P+PfgpberLkX0wrtsGCe/cbaSvq c0Dw== X-Forwarded-Encrypted: i=1; AJvYcCWEvrWajNYKFoybGFKdOpDi8xenMn3Xec4i++UNrXmdwRICqE2ozhnmz0PjL1/psPKCSexW+XHAcHXf@vger.kernel.org X-Gm-Message-State: AOJu0YySH3jKrt8wHTAqT5Vy9WUM+f6FqgZxG92pg9vnPpCio8uYTW92 wTKgrrxyJf9+r3STOWYDnugPNcy1kEi1l6GBb/fMotKKgcTV6Y+F4JonLe9beRkyqTM3xmwFFv+ npZ6M55tApyzenzocfVuDQpvsUqOjE/FuR5SvZxnlkFzb9SqobqoKPbB2QPnhGjqHG3V5LGl6S4 hy77Q+4mBsyvAOwDvjhEInUdXEb3hjH7LBTlK64A== X-Gm-Gg: ASbGnctoGaw10LFT0Y3/ifRPRHrWg9/duk9pkg2gqdgrA1+fqMhfCuk5itBXjWdqIBm 0gmYfYoNNvCgDw1+xv1Flpc1Q1WCTDYM1U455KOJeiXM9b/hb8AguoPjn93wZuvuN9esPU6zGbF RFJvKFsaIWJSsCSUpx2TUhEg== X-Received: by 2002:a05:6512:3f21:b0:563:d896:2d14 with SMTP id 2adb3069b0e04-5704f7a3535mr4252961e87.36.1757987330052; Mon, 15 Sep 2025 18:48:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGi0qyrJSXhatUAjAN5GaSbgChEfkulnz/zBRoEI09ayrVbCpTRhDlFRFU2ScIQdlOHU/dANXpgiKsiuT/Fm5k= X-Received: by 2002:a05:6512:3f21:b0:563:d896:2d14 with SMTP id 2adb3069b0e04-5704f7a3535mr4252904e87.36.1757987329545; Mon, 15 Sep 2025 18:48:49 -0700 (PDT) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20250912223937.3735076-1-safinaskar@zohomail.com> In-Reply-To: <20250912223937.3735076-1-safinaskar@zohomail.com> From: Dave Young Date: Tue, 16 Sep 2025 09:48:40 +0800 X-Gm-Features: AS18NWBkCHbtMZDfiuZiXnfW8KzozFHrUJlGejiASEzNumvZVB8NmHoE7UrrQwg Message-ID: Subject: Re: [PATCH 00/62] initrd: remove classic initrd support To: Askar Safin Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Greg Kroah-Hartman , Christian Brauner , Al Viro , Jan Kara , Christoph Hellwig , Jens Axboe , Andy Shevchenko , Aleksa Sarai , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Julian Stecklina , Gao Xiang , Art Nikpal , Andrew Morton , Eric Curtin , Alexander Graf , Rob Landley , Lennart Poettering , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, Ingo Molnar , linux-block@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-ext4@vger.kernel.org, "Theodore Y . Ts'o" , linux-acpi@vger.kernel.org, Michal Simek , devicetree@vger.kernel.org, Luis Chamberlain , Kees Cook , Thorsten Blum , Heiko Carstens , patches@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Hi, On Sat, 13 Sept 2025 at 06:42, Askar Safin wrote: > > Intro > ==== > This patchset removes classic initrd (initial RAM disk) support, > which was deprecated in 2020. > Initramfs still stays, and RAM disk itself (brd) still stays, too. There is one initrd use case in my mind, it can be extended to co-work with overlayfs as a kernel built-in solution for initrd(compressed fs image)+overlayfs. Currently we can use compressed fs images (squashfs or erofs) within initramfs, and kernel loop mount together with overlayfs, this works fine but extra pre-mount phase is needed. Thanks Dave