You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -115,9 +115,9 @@ Runtimes MUST/SHOULD/MAY implement the following option strings for Linux:
115
115
`nostrictatime` | MUST | [^1]
116
116
`nosuid` | MUST | [^1]
117
117
`nosymfollow` | SHOULD | [^1] (Introduced in kernel 5.10, util-linux 2.38)
118
-
`private` | MUST | [^2] (bind mounts)
118
+
`private` | MUST | Bind mount propagation [^2]
119
119
`ratime` | SHOULD | Recursive `atime`[^3]
120
-
`rbind` | MUST | [^2] (bind mounts)
120
+
`rbind` | MUST | Recursive bind mount [^2]
121
121
`rdev` | SHOULD | Recursive `dev`[^3]
122
122
`rdiratime` | SHOULD | Recursive `diratime`[^3]
123
123
`relatime` | MUST | [^1]
@@ -131,39 +131,40 @@ Runtimes MUST/SHOULD/MAY implement the following option strings for Linux:
131
131
`rnosuid` | SHOULD | Recursive `nosuid`[^3]
132
132
`rnosymfollow` | SHOULD | Recursive `nosymfollow`[^3]
133
133
`ro` | MUST | [^1]
134
-
`rprivate` | MUST | [^2] (bind mounts)
134
+
`rprivate` | MUST | Bind mount propagation [^2]
135
135
`rrelatime ` | SHOULD | Recursive `relatime`[^3]
136
136
`rro` | SHOULD | Recursive `ro`[^3]
137
137
`rrw` | SHOULD | Recursive `rw`[^3]
138
-
`rshared` | MUST | [^2] (bind mounts)
139
-
`rslave` | MUST | [^2] (bind mounts)
138
+
`rshared` | MUST | Bind mount propagation [^2]
139
+
`rslave` | MUST | Bind mount propagation [^2]
140
140
`rstrictatime` | SHOULD | Recursive `strictatime`[^3]
141
141
`rsuid` | SHOULD | Recursive `suid`[^3]
142
142
`rsymfollow` | SHOULD | Recursive `symfollow`[^3]
143
-
`runbindable` | MUST | [^2] (bind mounts)
143
+
`runbindable` | MUST | Bind mount propagation [^2]
144
144
`rw` | MUST | [^1]
145
145
`shared` | MUST | [^1]
146
146
`silent` | MUST | [^1]
147
-
`slave` | MUST | [^2] (bind mounts)
147
+
`slave` | MUST | Bind mount propagation [^2]
148
148
`strictatime` | MUST | [^1]
149
149
`suid` | MUST | [^1]
150
150
`symfollow` | SHOULD | Opposite of `nosymfollow`
151
151
`sync` | MUST | [^1]
152
152
`tmpcopyup` | MAY | copy up the contents to a tmpfs
153
-
`unbindable` | MUST | [^2] (bind mounts)
153
+
`unbindable` | MUST | Bind mount propagation [^2]
154
154
`idmap` | SHOULD | Indicates that the mount has `uidMappings` and `gidMappings` specified. This option SHOULD NOT be passed to the underlying [`mount(2)`][mount.2] call. If supported, the runtime MUST return an error if this option is provided and either of `uidMappings` or `gidMappings` are empty or not present.
155
155
`ridmap` | SHOULD | Indicates that the mount has `uidMappings` and `gidMappings` specified, and the mapping is applied recursively [^3]. This option SHOULD NOT be passed to the underlying [`mount(2)`][mount.2] call. If supported, the runtime MUST return an error if this option is provided and either of `uidMappings` or `gidMappings` are empty or not present.
156
156
157
157
[^1]: Corresponds to [`mount(8)` (filesystem-independent)][mount.8-filesystem-independent].
158
-
[^2]: Corresponds to [`mount(8)` (filesystem-specific)][mount.8-filesystem-specific].
158
+
[^2]: Corresponds to [bind mounts and shared subtrees][mount-bind].
159
159
[^3]: These `AT_RECURSIVE` options need kernel 5.12 or later. See [`mount_setattr(2)`][mount_setattr.2]
160
160
161
161
The "MUST" options correspond to [`mount(8)`][mount.8].
162
162
163
163
Runtimes MAY also implement custom option strings that are not listed in the table above.
164
164
If a custom option string is already recognized by [`mount(8)`][mount.8], the runtime SHOULD follow the behavior of [`mount(8)`][mount.8].
165
165
166
-
Runtimes SHOULD pass unknown options to [`mount(2)`][mount.2] via the fifth argument (`const void *data`).
166
+
Runtimes SHOULD treat unknown options as [filesystem-specific ones][mount.8-filesystem-specific])
167
+
and pass those as a comma-separated string to the fifth (`const void *data`) argument of [`mount(2)`][mount.2].
167
168
168
169
### Example (Windows)
169
170
@@ -1135,6 +1136,7 @@ Here is a full example `config.json` for reference.
0 commit comments