[PATCH v3 6/6] docs/zh_CN: how-to: document case-sensitive APFS setup
#UpdatedFrom:Chen Miao <chenmiao.ku@gmail.com>
Date:
Message-ID:<20260812182327.53694-7-chenmiao.ku@gmail.com>
Patch:v3 · 6/6
Language:zh_CN
Patch-ID:71f05f86b2d4f2b7cf36ad44ade7037cc80fa29f
Files:
Documentation/translations/zh_CN/how-to.rstLinks:lore message ↗ · raw mail ↗
Patch content 1 changed file
The APFS volume used by macOS is case-insensitive by default, while thekernel tree contains file names that differ only in case. Document thediskutil commands needed to identify the APFS container and add acase-sensitive volume before cloning the tree. Signed-off-by: Chen Miao <chenmiao.ku@gmail.com>--- 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.rstindex 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 虚拟环境,即只需要执行:: -- 2.50.1 (Apple Git-155)