[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5561e50b-8f53-7d99-7981-2fbc77c38bde@collabora.com>
Date: Thu, 25 Mar 2021 11:27:44 -0300
From: André Almeida <andrealmeid@...labora.com>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: krisman@...labora.com, smcv@...labora.com, kernel@...labora.com,
linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Hugh Dickins <hughd@...gle.com>, linux-kernel@...r.kernel.org,
Daniel Rosenberg <drosen@...gle.com>,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [RFC PATCH 4/4] docs: tmpfs: Add casefold options
Às 18:58 de 23/03/21, Randy Dunlap escreveu:
> Hi--
>
> On 3/23/21 12:59 PM, André Almeida wrote:
>> Document mounting options to enable casefold support in tmpfs.
>>
>> Signed-off-by: André Almeida <andrealmeid@...labora.com>
>> ---
>> Documentation/filesystems/tmpfs.rst | 26 ++++++++++++++++++++++++++
>> 1 file changed, 26 insertions(+)
>>
>> diff --git a/Documentation/filesystems/tmpfs.rst b/Documentation/filesystems/tmpfs.rst
>> index 0408c245785e..84c87c309bd7 100644
>> --- a/Documentation/filesystems/tmpfs.rst
>> +++ b/Documentation/filesystems/tmpfs.rst
>> @@ -170,6 +170,32 @@ So 'mount -t tmpfs -o size=10G,nr_inodes=10k,mode=700 tmpfs /mytmpfs'
>> will give you tmpfs instance on /mytmpfs which can allocate 10GB
>> RAM/SWAP in 10240 inodes and it is only accessible by root.
>>
>> +tmpfs has the following mounting options for case-insesitive lookups support:
>> +
>> +========= ==============================================================
>> +casefold Enable casefold support at this mount point using the given
>> + argument as enconding. Currently only utf8 encondings are supported.
>
> encoding. encodings
>
>> +cf_strict Enable strict casefolding at this mouting point (disabled by
>
> mount
>
>> + default). This means that invalid strings should be reject by the
>
> rejected
>
>> + file system.
>> +========= ==============================================================
>> +
>> +Note that this option doesn't enable casefold by default, one needs to set
>
> default; one needs to set the
>
>> +casefold flag per directory, setting the +F attribute in an empty directory. New
>> +directories within a casefolded one will inherit the flag.
>
>
Thanks for the feedback Randy, all changes applied.
Powered by blists - more mailing lists