Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp616554rwi; Mon, 10 Oct 2022 05:11:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM60tDDyAy7V/LrkQKnfl19U5drpjl/YGySdwNLKtzuYRXwebYBCiDK8XPS2bvkSqjBL7bJL X-Received: by 2002:aa7:c642:0:b0:458:e065:105b with SMTP id z2-20020aa7c642000000b00458e065105bmr17630650edr.354.1665403906389; Mon, 10 Oct 2022 05:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665403906; cv=none; d=google.com; s=arc-20160816; b=BClG0ErHIrrmn239N+ClLzcx11krXFgyeyPtAN4T3JI0wMvrRqrU/E10ey8rwt7gOT kY9YpQsEdnxHXTJ2KSix33pruF20sqg/4RfLOMOYeX6i3q8htV3sHRtRYILRVHg7NQYQ OMTIBvMrv66vgx+5V3zvP7y1vQITa2Hb1wOHIKoBnGaTU0ZFCOuxmZyE/IOWSzxmLIVD b86G9nWFBZ80P8U0zoUZB+jp0akJ3qwpMjNc+BJH8nk5RrmfiFHbLhWC8hewGqDYj6CL Tirdh2husNDaVvobOwUl4pMbLiuxe/tPa5y+x/VSDUqJYbWOI3n8a9aJbUj1v2y8y/oT ng3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=9giZufS4y5/shKHrpokess7OrPrf6cZViJH9fhLHRYo=; b=zEC8k5/BuLORMg590NLe/lTiVOIRzA9fjd+pyuu1VlXHicwoE/SxkcVNeyWmsvvjR3 sqEMGKgEnEjQ2UsNzi/A4D2ldeYhhm0S9rNV4gkD9N7aq/ioGskzzbUEpbKNA7iU97Va I69QD/t1P5EqBVC8aXNbRam8fWPobNgoWgbj/vtWRXyisHg+P9l7uzLJWC60KjleczV/ DnknhXbGOBDfKul3wXK9QEhqc1fBIh3hrG5P1ZjHOAKS7BeLD06hoyIBm/LHpyFxDAiQ gHjFRweSYDsbcHncDiqNPWhCEn97Ukend5pG2yME+WYu5dQzQJ5ntAXrPgIHGOJXhM9E XJ6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="cZVy/fEQ"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020aa7d58c000000b0045941fa8e21si7661035edq.620.2022.10.10.05.11.08; Mon, 10 Oct 2022 05:11:46 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="cZVy/fEQ"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232067AbiJJLQm (ORCPT + 99 others); Mon, 10 Oct 2022 07:16:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232118AbiJJLQd (ORCPT ); Mon, 10 Oct 2022 07:16:33 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEBAC5E66B; Mon, 10 Oct 2022 04:16:31 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id n9so1069888wms.1; Mon, 10 Oct 2022 04:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9giZufS4y5/shKHrpokess7OrPrf6cZViJH9fhLHRYo=; b=cZVy/fEQmhoCZNL+hOCJRs8BQhYwfCrMjqXDoDWz54B23MA2dTMrHXKjaOtpEGWWVz BfvgQeNUB8plvHgywOnLpl+4f3pM4cBM0M/1tck+LXZxnDxjuj0EmQdC6rZUCZwojrQc jDiPdpGpNIW5Fe7/FbHUn4QIVY9bILYdoZFcC9ylAXZO8xvfBul3N67MksH+/VgCg7bx s5otZaKWbkQdv2IUTapERckff4DmZ9EaVlpZGasI39Yqk0rQQo//Pvw8vW2upCDCuK7C 7YnjVEjpfoCqaA26E8OirBZQbpARlcpYZlqe1CjUjVkQ7PQXEOxNrgjb74L3xeJvJjor MAEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9giZufS4y5/shKHrpokess7OrPrf6cZViJH9fhLHRYo=; b=jmhgHtKrySDU7Zb5h/zG6+g7rAdU3lyOi5VFPUPLy5xn6kObwswUJEjlHeFDInUlnC 2wf2eisoEjOxtXbXpbMdvJ+5SrWQO7jLk3YSzgs40+uoZqeSsJira1r/FJCXEE7LTCCX F9bTdOC5hoh8pwPMOrlPwvikooIyPzRpwrLYWouwLEAFKIOUI2CQ7BP5N0OkWtnQpEAj hxbnyg9122woAN5nwYp+T1I3kLrTmqFpAFz89fWSJLNbeNQviHDAtI9lrnqBUe9yMkGv QXt0KKLNKk4cXpemaCydflkFzlneYbsBngWhdn9tiIp1L0MilCI/kotxCqg+8kNLWiNe fabA== X-Gm-Message-State: ACrzQf1aWYM2GgI78lCka75WXMSFD8W5KsuZBGD6WW7jMC5U1fI1MmD1 1Amhxfe5ECmL6pjgzruwjAs= X-Received: by 2002:a05:600c:3b1f:b0:3b4:b1fc:4797 with SMTP id m31-20020a05600c3b1f00b003b4b1fc4797mr19493484wms.129.1665400590309; Mon, 10 Oct 2022 04:16:30 -0700 (PDT) Received: from [192.168.42.102] (sm4-84-91-228-85.netvisao.pt. [84.91.228.85]) by smtp.gmail.com with ESMTPSA id q67-20020a1c4346000000b003c6b67426b0sm2283795wma.12.2022.10.10.04.16.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 04:16:30 -0700 (PDT) Message-ID: Date: Mon, 10 Oct 2022 12:16:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: [PATCH v2 2/2] fs/ntfs3: document windows_names mount option Content-Language: pt-PT From: Daniel Pinto To: Konstantin Komarov , ntfs3@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <1b23684d-2cac-830e-88e3-1dc1c1567441@gmail.com> In-Reply-To: <1b23684d-2cac-830e-88e3-1dc1c1567441@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Add documentation for windows_names mount option. Signed-off-by: Daniel Pinto --- Documentation/filesystems/ntfs3.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/filesystems/ntfs3.rst b/Documentation/filesystems/ntfs3.rst index d67ccd22c63b..cda8e0e010d4 100644 --- a/Documentation/filesystems/ntfs3.rst +++ b/Documentation/filesystems/ntfs3.rst @@ -75,6 +75,14 @@ this table marked with no it means default is without **no**. - Files with the Windows-specific SYSTEM (FILE_ATTRIBUTE_SYSTEM) attribute will be marked as system immutable files. + * - windows_names + - Prevents the creation of files and directories with a name not allowed + by Windows, either because it contains some not allowed character (which + are the characters " * / : < > ? \\ | and those whose code is less than + 0x20), because the name (with or without extension) is a reserved file + name (CON, AUX, NUL, PRN, LPT1-9, COM1-9) or because the last character + is a space or a dot. Existing such files can still be read and renamed. + * - discard - Enable support of the TRIM command for improved performance on delete operations, which is recommended for use with the solid-state drives