From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8FC53EC824 for ; Fri, 14 Aug 2026 21:44:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786743892; cv=none; b=KxKfpBe0mzqyTGAV2fvfLF0Q+TdAPQcnpaPPBhzL4Im5gOXa6MSUc3Wn027vdKm5SWnK/dD52+kMMu6ltq/JTryxF1n0YFa5qwT3DUgXO2N2qRI6ygJlieaFx7CBjour59uxQcswrlsQeQGRVeZZjwCbpuUtYAQ04xvv4X0g4X0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786743892; c=relaxed/simple; bh=enQ1phiqyNZfnRKkkwTpsu1ywn5VcWK5YpQmBDqD2ao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZU6cWbce+y9K7YFwt8o9w7f3A1ommLptDxOdTlwY/daD/fnOVDbXO4DLj743vIf9wYB+OQSAJTWVU2jyKWKnlW0HfZJp5YK2Dc7B8SRWboHZMmTQfbbJtcHgqbych26Br9wyU0i1e3u24fluj05LtblVUoang/C3iuRxAXOJGHI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cB3aN48o; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cB3aN48o" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2d049069377so16418815ad.0 for ; Fri, 14 Aug 2026 14:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786743885; x=1787348685; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=oEv+Se2gHn9GJtitJ1A6lizvRqVoiP8jcMPlwHRZirs=; b=cB3aN48ow6EvJ7B29ua3cHNA/a5Kr7zEyewrvdU+CgymqiXri0er7TN4dYCkcqQnFu rbGakpoZkAMxn929SftU1rk58vaMFiOhAxLsxs9Mc7mT4uVZYjnS3PPoc6Pg2PJCnSG2 WZ1ZltqzrludgW9TRE/rBJ+mCfhC0FKQ6WiskXnHrPGwfBXiRzqduSlgHsMEQVLdSGMZ ttxZpAwNBu7UuuBC57ZQiaQligfverSCGeC6/YSHN+2wDiYDenqsvucPVLrKLZJFsqB5 D5f3rYgJnZf0ZyIpR3TIK7o9NA3VwLr3NrawCEI91E6Qq2UzUFbLgG5rnKQD3vLlgu8M CrUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786743885; x=1787348685; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=oEv+Se2gHn9GJtitJ1A6lizvRqVoiP8jcMPlwHRZirs=; b=fFTVN0sHpHePIYquDa/5XE9T5xfnUpvHCBRkVbyMeAOkIM5OBf5hgSpq01/f1GxARg 2yOYLSQcBPXwiWDpZRzFp3PVfBqtX1mi15PAZ1se7qjd3/4xmISpAsXUGUr/mbuJtdGs NpRYoP/UbOkcMuQtMyg0B+OCO57mFlEDlrNCH8A+/bpniyKA0Ug7EI5JumtE4tgD06aE Zx55oiBQTAtcSjjbPkCaBBh9gOFpk0kPA4hq7nsAlgBKM8m0C9SuBRcBvcmpaMsaCPlG IwY6QAgyesVhrpB+5dsLTP2YC7GjBrR/oAbxobfsCs34rYghvEwDvBpPHi1fuDkJqn/+ +xQw== X-Forwarded-Encrypted: i=1; AHgh+RpoaEjcHg+ntfP/DDCEZe9FqNg5EPoD6RsV5/aWi6UTzaJmozKXxmV6XAboG3yncFKSYuMBxRfWFvCmCZw=@vger.kernel.org X-Gm-Message-State: AOJu0YzYEfWS2pyzvYzukqX+J/pOfDlLbBeKKbdlrR9xOqJ1IS4OahcM P0yajUaBiLJEmAqBLB2jYCKOKhoGIoY3MvGFMgsehA6E5yjqMyTw+9qiipIdexjHOePb5g== X-Gm-Gg: AR+sD10TqEF0NgqnFiY8UBOcvvBkTtfFtg8gc0m4CQ6KFZJXW6xhiaGndrSzrrORBKN wz1mYj2yXizc5ORKGMnaLf+/5JiLnXTUoDnEtHBTSPo+u6lcO4AimwAo6tXg/AnnW/544GzE/wC Y41jfQMM9WJAgbV9R+R6odPfZHvfg0U7RhELLQqhAyuq6G6fyweJne21ghR/GiSEROZ4tNMcJ2i btgcNOw3WdXioHe9ByOVeTZ7TtfHtgTGsN7lpdK+mK4zHE5P8wsrRROg2apoG74uMtBBXTaYgoI yDLieir5Qc7LCCfjLp9wrmBa1cP4N9Mg2AqdIdL+nOYAg5dRPPT9aVclomD9+SrWmYmD0ppjpTE K1GIxl/bEfo3on74rnEUDtqCF5euu9DjHZOzpq5cXbdANOIT78HbMdY60rDFe8cf59xTsGtohAl i5lBgZ+Yw5Ih8NlcTS8VpuTRsnnTE8T6trZAdEkbbOA8ewv9LNN6c5ERoLeFVIQYnGTqaV/HEnv eI= X-Received: by 2002:a05:6a21:10e:b0:3bf:7994:ddca with SMTP id adf61e73a8af0-3cc71d5074cmr10967453637.29.1786743884911; Fri, 14 Aug 2026 14:44:44 -0700 (PDT) Received: from localhost.localdomain ([64.186.250.142]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-320d5bd918fsm8083617eec.2.2026.08.14.14.44.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 14 Aug 2026 14:44:44 -0700 (PDT) From: Chen Miao To: corbet@lwn.net, alexs@kernel.org, si.yanteng@linux.dev, skhan@linuxfoundation.org, dzm91@hust.edu.cn, mchehab@kernel.org, wy@wyuan.org Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Miao Subject: [PATCH v4 6/6] docs/zh_CN: how-to: document case-sensitive APFS setup Date: Sat, 15 Aug 2026 05:44:18 +0800 Message-ID: <20260814214419.49925-7-chenmiao.ku@gmail.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260814214419.49925-1-chenmiao.ku@gmail.com> References: <20260814214419.49925-1-chenmiao.ku@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Weijie Yuan --- 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 虚拟环境,即只需要执行:: -- 2.50.1 (Apple Git-155)