Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34017917rwd; Sun, 9 Jul 2023 03:28:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEK9OSrebgIpdsopWG1+BgX7P9PC0bbbRUXSLAkni61ckS1cPbjEdTzhcKRYkXf/PQe8sMj X-Received: by 2002:a17:906:338e:b0:992:3ac7:a2d8 with SMTP id v14-20020a170906338e00b009923ac7a2d8mr7832877eja.37.1688898522042; Sun, 09 Jul 2023 03:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688898522; cv=none; d=google.com; s=arc-20160816; b=nDBcXbO47i7nVPlyaP2uS4y8iG+8XOVSIcrzuQ2xJMz5kOY9kwPDO9keTYH5A1+nhm qu3mTOcL8ZQiWRNYOW5/XyFziQYoVOWPA3HVDIQ3qWonN2RUZeIdF1JRfrHTSRtxwLUv J91WevtTrsPr0L20yY3XkeyCboryUwvGiV3sw9eXl3oFUDfvHMdI5O2YZqKUCtGmB2iY OsMfUjr0eqGitJ+JEfAG4N6vuBMNWihvf16zBb5Yp8ill8e/IDAjKgh708cVcDHzoOPl JRFLI0D8rBOTXVeZSd7sCIiwC7OHEhjlvIbCts2+3FdW8EenSrId2KA+Zhqy2tQcayiG AXpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=XtANtIGJkFEd0UwfCHgos1/wsKdIIH76zYIbIlYxO8g=; fh=mf+G/HmRcVzACEYVwkdH9Q7T8xjBuaVbzOjt69u9uGE=; b=Y+1sqHsT3NAc1173x6+Fn4Hmji4kldsVGzUVr8vipi2NyMbGeWKGLdKTlWxqun/Q54 B2+fWcJkf3KXyIw2KFiKb+fVAX7PGt2w2UoandsPIkVLjgQ/0wmLeRHZutok44Ci8koH BML8CcWJ6Q1FuVu2QvK2PA0Iq6c+HX6usRp2wqVRTPstobwfSyv68h1j4+ByW2lLcxU3 sg6EPN6T10ddacyUlriAJj1ed2yVJKnGYxHhWsfAuXciDFJYXKqvbFjlTq1SMf9sF24w NAfzfwM/I7udd6WN13Gqh7VzbeBCoxzKzOnJY/2Ho0PrQsIFFuq5V/HhCP1e5QFl2mEN Bl6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa1-20020a170906eda100b00991c8af7ba5si5772866ejb.473.2023.07.09.03.28.10; Sun, 09 Jul 2023 03:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbjGIJic (ORCPT + 99 others); Sun, 9 Jul 2023 05:38:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229777AbjGIJib (ORCPT ); Sun, 9 Jul 2023 05:38:31 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AC40D131; Sun, 9 Jul 2023 02:38:29 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 3699cLu5020669; Sun, 9 Jul 2023 11:38:21 +0200 Date: Sun, 9 Jul 2023 11:38:21 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, thomas@t-8ch.de, Thomas =?iso-8859-1?Q?Wei=DFschuh?= Subject: Re: [PATCH v4 13/18] selftests/nolibc: prepare /tmp for tmpfs or ramfs Message-ID: <20230709093821.GH9321@1wt.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zhangjin, On Sat, Jul 08, 2023 at 02:38:57AM +0800, Zhangjin Wu wrote: > create a /tmp directory and mount tmpfs there, if tmpfs is not > mountable, use ramfs as tmpfs. > > tmpfs will be used instead of procfs for some tests. Just curious, in which cases do you need this ? We're building an initramfs for the root that's already read-write, so without mounting anything you already have write access. I'm taking it anyway for now, but if you figure it's not needed we can later drop it (or just drop the mount part and keep mkdir). Willy