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 DF57E1F03FB for ; Tue, 16 Sep 2025 01:48:53 +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=1757987336; cv=none; b=IK1yS0C4hlG7et59EYLPXm9QyVYo7JoGjQYNedFBP6xWqJiIS8NcyZON3EF7RYgaYM7cQ8MJJfd3cyyOpGFp3VhqQeR/VJDwB/fs+u/lkpfDuuG8jusAXTgGauy5IS4e8TwqYB+HsRcoeK6q2lqn7fhAmpgTaEqPlDTHUI/lybE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757987336; c=relaxed/simple; bh=ixp1vRoqVO/aQuZyYy6zFP7jfZFHYTqyHd5Z6tSU/S0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=m14N49hdnnf9VeUiboth/+IPUEMoqTRxBTIEioSTaJ4oT29+bo0CvbsS7urUr2AekAjLmSUtKMXc6McPMiIstg/ASZ0o+dnlDy6trIGeZ9xuCTVW01Cbg6fShTnSbiuvHm5z/Jp6wga1XqDZLsp4AWtMYE839XtVJdCRjS2WonM= 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-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-348-GPnhUqL4NRqQu4alH63ZTA-1; Mon, 15 Sep 2025 21:48:51 -0400 X-MC-Unique: GPnhUqL4NRqQu4alH63ZTA-1 X-Mimecast-MFC-AGG-ID: GPnhUqL4NRqQu4alH63ZTA_1757987330 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-55f742d8515so2850819e87.1 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=L71+Fymj3DmTn0cQIBS6ynGipfP/5Vv56jHVorS91iR9PESpgzhfCUkhH+AAJvhLDD 6+DJVr3faaDTiZhVBE/KgXzZOLfbJTwaqzliQaNzcv+1WOhuEvv6BnuhkctyMuR8Ro5N 6QTdA0oZrPpxKi//KuLSU2OVxxLjasbOiz7tCo/AivK9EJMOE0PtP028xAXt+A03HDLC R2j8LJC8wzGbL8lhRxf+8KNb9HndpQAmd16I0k7zUWf1yJWaeTqt1FxtKhhK+FRVZVWs rGatv7v07DMlYoRc7NGWWk2pgxCmKfmJ6QgPuWnteHBCUppKfZzR+3BZnEDT70U+Kp83 3FKw== X-Forwarded-Encrypted: i=1; AJvYcCUgUpIN2chUL7wF4+oEGI5jVYsRZZsqa7vckhxe9Q13Iibq8L7mbu1cCJBYRs2uvyoBKL6Sd4OSk2sk@vger.kernel.org X-Gm-Message-State: AOJu0Yz/R7zXr7J5bhf5HqOJTfb+Dr/A63ERLfj2tU7P24YLLlGS8e79 R5i0+q5JR8hp/AYcTGXwhbZlaeraljx15ZXp+GLImldxS0atBez3HJwdfP2qGHuChjfqV4Zu2vG DQBfc9+JLg0yAcH2Sm7s7cRQuHnpJFgjtxnVdisdhwskpVCF19mV9Q970eKrEgkvLbxnmKUSdS3 RqrqBla5yMXjpSxel170yMG22y+J50dF9S2XvOKA== X-Gm-Gg: ASbGncsNOiMNls2Z/SLePydQC8+r8U+qzTDnGhYx0ZEpUtUs+hJ0h/DbEjadzltuYB6 x8gnQ25/blxd1lEFScLs17zKMV5KjjfFRdxd5khWtmLTqUavSC/UrQJ6lZoNbTL5julhPmHqsn/ aCXBT2PBizsaYTBPld2PuVFA== X-Received: by 2002:a05:6512:3f21:b0:563:d896:2d14 with SMTP id 2adb3069b0e04-5704f7a3535mr4252931e87.36.1757987330030; 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: sparclinux@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