All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Christian Brauner" <brauner@kernel.org>,
	linux-fsdevel@vger.kernel.org, "Jan Kara" <jack@suse.cz>,
	"Jeff Layton" <jlayton@kernel.org>,
	"Amir Goldstein" <amir73il@gmail.com>,
	"Lennart Poettering" <lennart@poettering.net>,
	"Zbigniew Jędrzejewski-Szmek" <zbyszek@in.waw.pl>,
	"Josef Bacik" <josef@toxicpanda.com>
Subject: Re: [PATCH 3/3] fs: add immutable rootfs
Date: Wed, 7 Jan 2026 10:55:00 +0800	[thread overview]
Message-ID: <d35e8a13-a7e8-4562-9e26-e340d8afe631@linux.alibaba.com> (raw)
In-Reply-To: <20260107024727.GM1712166@ZenIV>



On 2026/1/7 10:47, Al Viro wrote:
> On Wed, Jan 07, 2026 at 10:28:23AM +0800, Gao Xiang wrote:
> 
>> Just one random suggestion.  Regardless of Al's comments,
>> if we really would like to expose a new visible type to
>> userspace,   how about giving it a meaningful name like
>> emptyfs or nullfs (I know it could have other meanings
>> in other OSes) from its tree hierarchy to avoid the
>> ambiguous "rootfs" naming, especially if it may be
>> considered for mounting by users in future potential use
>> cases?
> 
> *boggle*
> 
> _what_ potential use cases?  "This here directory is empty and
> it'll stay empty and anyone trying to create stuff in it will
> get an error; oh, and we want it to be a mount boundary, for
> some reason"?
> 
> IDGI...

My concern is that "rootfs" naming is already (ab)used in various
ways, although kernel folks know what happens here by checking
the kernel code for example, but making it visible to users I'm
afraid that userspace folks already get various concepts out of
the word "root" (it's absolutely not "chroot" but for a mount
namespace?).

Thanks,
Gao Xiang

  reply	other threads:[~2026-01-07  2:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-02 14:36 [PATCH 0/3] fs: add immutable rootfs and support pivot_root() in the initramfs Christian Brauner
2026-01-02 14:36 ` [PATCH 1/3] fs: ensure that internal tmpfs mount gets mount id zero Christian Brauner
2026-01-02 14:36 ` [PATCH 2/3] fs: add init_pivot_root() Christian Brauner
2026-01-02 14:36 ` [PATCH 3/3] fs: add immutable rootfs Christian Brauner
2026-01-04  7:27   ` Al Viro
2026-01-04  7:41     ` Al Viro
2026-01-06 22:07       ` Christian Brauner
2026-01-06 22:59         ` Al Viro
2026-01-07 10:53           ` Christian Brauner
2026-01-07  2:28   ` Gao Xiang
2026-01-07  2:47     ` Al Viro
2026-01-07  2:55       ` Gao Xiang [this message]
2026-01-07 10:52       ` Christian Brauner
2026-01-07 16:33         ` Colin Walters
2026-01-08 11:02           ` Christian Brauner
2026-01-25 20:47             ` Askar Safin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d35e8a13-a7e8-4562-9e26-e340d8afe631@linux.alibaba.com \
    --to=hsiangkao@linux.alibaba.com \
    --cc=amir73il@gmail.com \
    --cc=brauner@kernel.org \
    --cc=jack@suse.cz \
    --cc=jlayton@kernel.org \
    --cc=josef@toxicpanda.com \
    --cc=lennart@poettering.net \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=zbyszek@in.waw.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.