@@ -241,6 +241,28 @@ So 'mount -t tmpfs -o size=10G,nr_inodes=10k,mode=700 tmpfs /mytmpfs'
241
241
will give you tmpfs instance on /mytmpfs which can allocate 10GB
242
242
RAM/SWAP in 10240 inodes and it is only accessible by root.
243
243
244
+ tmpfs has the following mounting options for case-insensitive lookup support:
245
+
246
+ ================= ==============================================================
247
+ casefold Enable casefold support at this mount point using the given
248
+ argument as the encoding standard. Currently only UTF-8
249
+ encodings are supported. If no argument is used, it will load
250
+ the latest UTF-8 encoding available.
251
+ strict_encoding Enable strict encoding at this mount point (disabled by
252
+ default). In this mode, the filesystem refuses to create file
253
+ and directory with names containing invalid UTF-8 characters.
254
+ ================= ==============================================================
255
+
256
+ This option doesn't render the entire filesystem case-insensitive. One needs to
257
+ still set the casefold flag per directory, by flipping the +F attribute in an
258
+ empty directory. Nevertheless, new directories will inherit the attribute. The
259
+ mountpoint itself cannot be made case-insensitive.
260
+
261
+ Example::
262
+
263
+ $ mount -t tmpfs -o casefold=utf8-12.1.0,strict_encoding fs_name /mytmpfs
264
+ $ mount -t tmpfs -o casefold fs_name /mytmpfs
265
+
244
266
245
267
:Author:
246
268
Christoph Rohland <
[email protected] >, 1.12.01
@@ -250,3 +272,5 @@ RAM/SWAP in 10240 inodes and it is only accessible by root.
250
272
KOSAKI Motohiro, 16 Mar 2010
251
273
:Updated:
252
274
Chris Down, 13 July 2020
275
+ :Updated:
276
+ André Almeida, 23 Aug 2024
0 commit comments