Received: by 10.223.176.5 with SMTP id f5csp2261708wra; Wed, 31 Jan 2018 20:22:53 -0800 (PST) X-Google-Smtp-Source: AH8x226RsS2en/lNvjKhZnk71vNAPSXocEF1TfbJKuMWLgwrWaJ5yXDCLWe2bmvL+NKhCgjG9SYX X-Received: by 2002:a17:902:678b:: with SMTP id g11-v6mr29031903plk.13.1517458972964; Wed, 31 Jan 2018 20:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517458972; cv=none; d=google.com; s=arc-20160816; b=id8LGOdFVc0h/rDFRa9/7JSmRn3bYOy1SQ7bHDbbeBgSenT42BemRGnRFRevkjDbJC yXYsKlSinONYW9qOYYHrNftQWngAQi2C7u7ZF4dSDq4HDoAbGytYa3ShFNSUBMzvdHQ7 xgBfce7+0JsMiGzgWvmp3SKFZG+ji0zcrmOHxgIKsyYIyXR6I2hErVIB+dF/Jgvvrc5G 6ZvYkXkcD1Yzl/WVG/5EyUz2st6K+4YgJiZW+SOBrnUkPMKGrxw5G4fs9JRa+lx+s3GR YOIF+qU1K/x+HmYx7MciWCpJpbf//6VKIHePg+K1jBN6IDTtgixfqd5f3IrWPRg2QNBE QzWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject :arc-authentication-results; bh=iCVs87Dlhf9hIRMJaGfqcptCE6VlagRp0HRSosC6BvQ=; b=DMb6huD/oQlgdpT+mKtd5m/RpcjYyKeJ8r4gwYx1vCzo02COav8qFb2Ucmkid4g8zU aWqDuqEZcaWWmc39ySmu/IqlLFASB1e9jt2D6EJIhjUIV3cnudjWL/QJY4CwwtpgZW4v 7Z20R+QENvRvTSHsI6bv/5pYkHyWas/P59ZoFJXy4LvUXIusNFvcvU+aThvr4/7lMKfn ntpaWpuRQO5DZFme6wuWxzRSqJm48skQ/dvu3+w+1+7PYBfZaq6SS/wAFLeeOEWnaAIX 7v6loI+OBVA/RPKV0znIdUvXJBB9sPQITzqac7kBARnhpjIId2l6O8LYlQ/DsdB4NiFS uq9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10-v6si14367710plr.317.2018.01.31.20.22.37; Wed, 31 Jan 2018 20:22:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbeBAEWK (ORCPT + 99 others); Wed, 31 Jan 2018 23:22:10 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41980 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751190AbeBAEWJ (ORCPT ); Wed, 31 Jan 2018 23:22:09 -0500 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w114JDab115130 for ; Wed, 31 Jan 2018 23:22:08 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 2fur0wf0wr-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 31 Jan 2018 23:22:08 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 1 Feb 2018 04:22:06 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 1 Feb 2018 04:22:03 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w114M2Zg44826772; Thu, 1 Feb 2018 04:22:02 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95BB2A4055; Thu, 1 Feb 2018 04:15:34 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6702CA4053; Thu, 1 Feb 2018 04:15:33 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.104.35]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 1 Feb 2018 04:15:33 +0000 (GMT) Subject: Re: [RFC PATCH] rootfs: force mounting rootfs as tmpfs From: Mimi Zohar To: Arvind Sankar , Rob Landley Cc: initramfs , Taras Kondratiuk , Victor Kamensky , linux-security-module , Al Viro , linux-kernel Date: Wed, 31 Jan 2018 23:22:01 -0500 In-Reply-To: <20180201020331.GA3774@rani.riverdale> References: <1517348777.3469.5.camel@linux.vnet.ibm.com> <1814af5c-170d-39c0-58fd-02eb7216e008@landley.net> <1517436423.3469.237.camel@linux.vnet.ibm.com> <20180201020331.GA3774@rani.riverdale> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18020104-0040-0000-0000-0000040B28C6 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020104-0041-0000-0000-0000260EC69B Message-Id: <1517458921.3329.2.camel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-01_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802010053 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-01-31 at 21:03 -0500, Arvind Sankar wrote: > On Wed, Jan 31, 2018 at 05:48:20PM -0600, Rob Landley wrote: > > On 01/31/2018 04:07 PM, Mimi Zohar wrote: > > > On Wed, 2018-01-31 at 13:32 -0600, Rob Landley wrote:>> (The old "I configured in tmpfs and am using rootfs but I want that > > rootfs > > >> to be ramfs, not tmpfs" code doesn't seem to be a real-world concern, does > > >> it?) > > > > > > I must be missing something.  Which systems don't specify "root=" on > > > the boot command line. > > > > Any system using initrd or initramfs? > > > > Don't a lot of initramfs setups use root= to tell the initramfs which > actual root file system to switch to after early boot? With your patch and specifying "root=tmpfs", dracut is complaining: dracut: FATAL: Don't know how to handle 'root=tmpfs' dracut: refusing to continue Mimi