]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man5/erofs.5
man*/: srcfix (Use .P instead of .PP or .LP)
[thirdparty/man-pages.git] / man5 / erofs.5
CommitLineData
eb1f4d07 1.\" Copyright (c) 2016 by Michael Kerrisk <mtk.manpages@gmail.com>
2.\"
3.\" SPDX-License-Identifier: Linux-man-pages-copyleft
4.\"
5.TH erofs 5 (date) "Linux man-pages (unreleased)"
6.SH NAME
7erofs \- the Enhanced Read-Only File System
8.SH DESCRIPTION
9.B erofs
10is a create-once read-only filesystem,
11with support for compression and a multi-device backing store.
c6d039a3 12.P
eb1f4d07 13There are two inode formats:
b4040f9f
AC
14.IP \[bu] 3
1532-byte compact with 16-bit UID/GID,
1632-bit file size,
17and no file times
18.PD 0
19.IP \[bu]
2064-byte extended with 32-bit UID/GID,
2164-bit file size,
eb1f4d07 22and a modification time
23.RI ( st_mtim ).
b4040f9f 24.PD
eb1f4d07 25.\" See fs/erofs/super.c:shmem_parse_options for options it supports.
26.SS Mount options
27.TP
28.B user_xattr
29.TQ
30.B nouser_xattr
31Controls whether
32.I user
33extended attributes are exposed.
34Defaults to yes.
35.TP
36.B acl
37.TQ
38.B noacl
39Controls whether POSIX
40.BR acl (5)s
41are exposed.
42Defaults to yes.
43.TP
44.BR cache_strategy = disabled | readahead | readaround
45Cache allocation for compressed files:
46never, if reading from start of file, regardless of position.
47Defaults to
48.BR readaround .
49.TP
503bbbfa 50.B dax
eb1f4d07 51.TQ
52.BR dax = always | never
53Direct Access control.
54If
55.B always
56and the source device supports DAX, uncompressed non-inlined files
57will be read directly, without going through the page cache.
58.B dax
59is a synonym for
60.BR always .
61Defaults to unset, which is equivalent to
62.BR never .
63.TP
64.BR device = \fIblobdev\fP
65Add extra device holding some of the data.
66Must be given as many times and in the same order as
67.B \-\-blobdev
68was to
69.BR mkfs.erofs (1).
70.\" Nominally there's a device_table feature and it somehow scans(?) for them,
71.\" cf. super.c:erofs_scan_devices(), but I haven't gotten it to work
72.TP
73.BR domain_id = \fIdid\fP
74.TQ
75.BR fsid = \fIid\fP
76Control CacheFiles on-demand read support.
77To be documented.
eb1f4d07 78.SH VERSIONS
79.B erofs
80images are versioned through the use of feature flags;
81these are listed in the
82.B \-E
83section of
84.BR mkfs.erofs (1),
85.SH CONFIGURATION
86Linux must be configured with the
87.B CONFIG_EROFS_FS
88option to mount EROFS filesystems.
89There are sub-configuration items that restrict the availability
90of some of the parameters above.
91.SH SEE ALSO
92.BR mkfs.erofs (1),
93.BR fsck.erofs (1),
94.BR dump.erofs (1)
c6d039a3 95.P
eb1f4d07 96.I Documentation/filesystems/erofs.txt
97in the Linux source.