Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1979906ybh; Tue, 14 Jul 2020 12:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8oa7wjaMd84EjWVdWCc7W2FFOkwyZMcMb3E/tDKQv8r7FTgFxCojspmaOcD8iVFXeVwea X-Received: by 2002:a17:906:d9c4:: with SMTP id qk4mr6323751ejb.100.1594753866553; Tue, 14 Jul 2020 12:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594753866; cv=none; d=google.com; s=arc-20160816; b=FdedBaa6t3YnKSEQJz7M1gXaeflfCvkPyXx/sUZ3w6Y78SbdKM7L6SVl0H6w5v+Wuz UAh51gyoU8lQuvdEPmiqW1YkqmjPvoqjk7ugIllgM9eHjsDzMjDJ11QevG5QSvPifj8r tlkxldLWqpp0KcEyDQIhFeAEeQTA/PvyfSGJOIrId0bhQY9YWB65jWoe7W4VmT/OJHEg 8U5zB7wBJxD0JE1PelsIyo2NqEBITzeU6tD0o2lNPe3YT5RjL4jO/7+zCbqPRJBuokmB eFBpLUWK5TKi9wvidLrMvu/F/zAQvjhqqZzvhY0EcBWaunGYflfm1XCVQwESLBegFigm GvjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=msP/oerZWqDMoBsujpLUb7YWzbnfB2HOPjogQBRZrOE=; b=Z2aCCURbqIKAPI6OnXZreOohcRc6LI0PCxns/V2ROQ3AxHsfvZrDUzJfOszqZOnxmw skeguQx4vFKk6oxC8stFERjqSLK2PYnDmR/WhWpHffwVVD1XuC2unWlf7jUd4goIYUiR zLudpsXbuyrMUkcD8+reG0r8k2ObHY6JayCjHFDuDJM0KZ+5+9F6vyzcm/mXmuHHy3eT LzY0kFEG5W/OUjje/peNZNrFWNThLQnze8f8EBd7ynWKpP74RM+MWzGvktdVKq8n5V/T bB2/6Rb2ZFIBP+6vN4Wt388Qby7uXzoLVg2rzqy7Muz7mFVZrSvdHyIed6SYvUIvOQyj VhTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=RmaqwAgH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si11629251edq.493.2020.07.14.12.10.43; Tue, 14 Jul 2020 12:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=RmaqwAgH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730510AbgGNTJ1 (ORCPT + 99 others); Tue, 14 Jul 2020 15:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731350AbgGNTJL (ORCPT ); Tue, 14 Jul 2020 15:09:11 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BE44C061755; Tue, 14 Jul 2020 12:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=msP/oerZWqDMoBsujpLUb7YWzbnfB2HOPjogQBRZrOE=; b=RmaqwAgHm0qPtuTRZicpjG4Zsl lgTA7GgRIY5gRhbJUkCYKb6au6lLw51ICuW4rj9m3wRjOmYlSDuZdHYdkF3qwYhFvsnxcrS4sQIpe 12lHMnhYSUZFzTYwUXddse2Aj2XC0e/UGWwICR+EdmMx18x1bRHBHcAf+R0bk52YrrRzwtaFBziqd TB9n/bqe1v83yBlPvdovDkF1efCd7GHLfHzZ0tFZmyHHBTPnYGrmSHdWPSlpZHPmP0nrDDZIsLh3e xejMlgd4tU+rwGdL3aPQgDm9V3q+9NWMjefko/xDMtZLfkvNJAQBDj/GK/4bTRPD+vk46y0EZZfIk L5qunhtg==; Received: from [2001:4bb8:188:5f50:f037:8cfe:627e:7028] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvQIf-0005sZ-36; Tue, 14 Jul 2020 19:09:09 +0000 From: Christoph Hellwig To: linux-kernel@vger.kernel.org Cc: "H. Peter Anvin" , Song Liu , Al Viro , Linus Torvalds , linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 14/23] initrd: mark initrd support as deprecated Date: Tue, 14 Jul 2020 21:04:18 +0200 Message-Id: <20200714190427.4332-15-hch@lst.de> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200714190427.4332-1-hch@lst.de> References: <20200714190427.4332-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The classic initial ramdisk has been replaced by the much more flexible and efficient initramfs a long time. Warn about it being removed soon. Signed-off-by: Christoph Hellwig --- init/do_mounts_initrd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 57ad5b2da8f5f5..e08669187d63be 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -75,6 +75,8 @@ static void __init handle_initrd(void) extern char *envp_init[]; int error; + pr_warn("using deprecated initrd support, will be removed in 2021.\n"); + real_root_dev = new_encode_dev(ROOT_DEV); create_dev("/dev/root.old", Root_RAM0); /* mount initrd on rootfs' /root */ -- 2.27.0