All of lore.kernel.org
 help / color / mirror / Atom feed
From: Weijie Yuan <wy@wyuan.org>
To: Chen Miao <chenmiao.ku@gmail.com>
Cc: corbet@lwn.net, alexs@kernel.org, si.yanteng@linux.dev,
	skhan@linuxfoundation.org, dzm91@hust.edu.cn, mchehab@kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 6/6] docs/zh_CN: how-to: document case-sensitive APFS setup
Date: Fri, 14 Aug 2026 00:28:02 +0800	[thread overview]
Message-ID: <an3wkigzi4_vgCIN@wyuan.org> (raw)
In-Reply-To: <CAKxVwgcgS-ynf8Dsex_XA8Px85e8-cmMuMXABorQ_qWHmm+xRA@mail.gmail.com>

On Fri, Aug 14, 2026 at 12:23:46AM +0800, Chen Miao wrote:
> Weijie Yuan <wy@wyuan.org> 于2026年8月13日周四 23:46写道:
> >
> > On Thu, Aug 13, 2026 at 02:23:23AM +0800, Chen Miao wrote:
> > > The APFS volume used by macOS is case-insensitive by default, while the
> > > kernel tree contains file names that differ only in case. Document the
> > > diskutil commands needed to identify the APFS container and add a
> > > case-sensitive volume before cloning the tree.
> > >
> > > Signed-off-by: Chen Miao <chenmiao.ku@gmail.com>
> >
> > Acked-by: Weijie Yuan <wy@wyuan.org>
> >
> > > ---
> > >  Documentation/translations/zh_CN/how-to.rst | 8 ++++++++
> > >  1 file changed, 8 insertions(+)
> > >
> > > diff --git a/Documentation/translations/zh_CN/how-to.rst b/Documentation/translations/zh_CN/how-to.rst
> > > index 9ec2384e1..e1d3d2b8b 100644
> > > --- a/Documentation/translations/zh_CN/how-to.rst
> > > +++ b/Documentation/translations/zh_CN/how-to.rst
> > > @@ -102,6 +102,14 @@ Linux 发行版和简单地使用 Linux 命令行,那么可以迅速开始了
> > >  开头的命令。**请注意**,最新版本 Sphinx 的文档编译速度有极大提升,强烈建议
> > >  您通过 pip/pypi 安装最新版本 Sphinx。
> > >
> > > +macOS 默认使用不区分文件名大小写的 APFS 卷,而内核源码树中存在仅大小写
> > > +不同的文件。在执行 ``git clone`` 前,可在现有 APFS 容器中创建一个额外的大小写
> > > +敏感卷(先用 ``diskutil apfs list`` 找到容器标识符,并将下面的 ``diskX`` 替换为该标识符)::
> > > +
> > > +     diskutil apfs addVolume diskX APFSX Linux
> > > +
> > > +然后将内核源码克隆到新卷中。
> > > +
> > >  如果您处于一个多用户环境中,为了避免对其他人造成影响,建议您配置单用户
> > >  sphinx 虚拟环境,即只需要执行::
> >
> > Nit: In the subsequent content of this article, all commands use "make",
> > not "gmake". So, is it necessary to mention the content of the patch
> > [5/6] here? (Use gmake from Homebrew instead of make from Apple), like a
> > cross-reference, to lead the macOS users to get more detailed info.
> >
> > But I'm fine with currunt wordings. Because if you try to use 'make',
> > you'll get
> >
> >   Makefile:15: *** GNU Make >= 4.0 is required. Your Make version is 3.81.  Stop.
> >
> > then, you should realize that Homebrew had told you that you should run
> > 'gmake' instead of 'make'.
> >
> > Thanks.
> >
> I don't think an additional cross-reference is necessary here. If users
> run into Apple's older `make`, the error message clearly states that GNU
> Make >= 4.0 is required. In addition, Homebrew's `make` formula already
> explains that GNU Make is installed as `gmake`:
> 
>     $ brew install make
>     ==> Would reinstall 1 formula:
>     make
>     ...
>     GNU "make" has been installed as "gmake".
> 
> Users can then retry the command with `gmake`, so I think the current
> wording is sufficient.

Yes, so it's not a big deal.

Thanks.

      reply	other threads:[~2026-08-13 16:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-12 18:23 [PATCH v3 0/6] docs: sphinx-pre-install: improve dependency checks Chen Miao
2026-08-12 18:23 ` [PATCH v3 1/6] docs: kdoc: add GNU Make detection Chen Miao
2026-08-12 20:13   ` Mauro Carvalho Chehab
2026-08-13  9:27     ` Chen Miao
2026-08-12 18:23 ` [PATCH v3 2/6] docs: sphinx-pre-install: add macOS Homebrew support Chen Miao
2026-08-12 20:15   ` Mauro Carvalho Chehab
2026-08-12 18:23 ` [PATCH v3 3/6] docs: sphinx-pre-install: check GNU Make version Chen Miao
2026-08-12 20:17   ` Mauro Carvalho Chehab
2026-08-12 18:23 ` [PATCH v3 4/6] docs: sphinx-build-wrapper: prefer gmake Chen Miao
2026-08-12 20:23   ` Mauro Carvalho Chehab
2026-08-13  9:38     ` Chen Miao
2026-08-13 21:36       ` Mauro Carvalho Chehab
2026-08-12 18:23 ` [PATCH v3 5/6] docs/zh_CN: doc-guide: document macOS Sphinx setup Chen Miao
2026-08-13 15:36   ` Weijie Yuan
2026-08-13 16:04     ` Chen Miao
2026-08-13 16:07       ` Weijie Yuan
2026-08-12 18:23 ` [PATCH v3 6/6] docs/zh_CN: how-to: document case-sensitive APFS setup Chen Miao
2026-08-13 15:46   ` Weijie Yuan
2026-08-13 16:23     ` Chen Miao
2026-08-13 16:28       ` Weijie Yuan [this message]

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=an3wkigzi4_vgCIN@wyuan.org \
    --to=wy@wyuan.org \
    --cc=alexs@kernel.org \
    --cc=chenmiao.ku@gmail.com \
    --cc=corbet@lwn.net \
    --cc=dzm91@hust.edu.cn \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    /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.