@@ -112,7 +112,7 @@ The runtime may supply them however it likes (with [mknod][mknod.2], by bind mou
112
112
113
113
The following parameters can be specified:
114
114
115
- * ** ` type ` ** * (char , required)* - type of device: ` c ` , ` b ` , ` u ` or ` p ` .
115
+ * ** ` type ` ** * (string , required)* - type of device: ` c ` , ` b ` , ` u ` or ` p ` .
116
116
More info in [ mknod(1)] [ mknod.1 ] .
117
117
* ** ` path ` ** * (string, required)* - full path to device inside container.
118
118
* ** ` major, minor ` ** * (int64, required unless ** ` type ` ** is ` p ` )* - [ major, minor numbers] [ devices ] for the device.
@@ -130,7 +130,7 @@ The following parameters can be specified:
130
130
"type" : " c" ,
131
131
"major" : 10 ,
132
132
"minor" : 229 ,
133
- "fileMode" : 0666 ,
133
+ "fileMode" : 438 ,
134
134
"uid" : 0 ,
135
135
"gid" : 0
136
136
},
@@ -139,7 +139,7 @@ The following parameters can be specified:
139
139
"type" : " b" ,
140
140
"major" : 8 ,
141
141
"minor" : 0 ,
142
- "fileMode" : 0660 ,
142
+ "fileMode" : 432 ,
143
143
"uid" : 0 ,
144
144
"gid" : 0
145
145
}
@@ -194,7 +194,7 @@ The runtime MUST apply entries in the listed order.
194
194
The following parameters can be specified:
195
195
196
196
* ** ` allow ` ** * (boolean, required)* - whether the entry is allowed or denied.
197
- * ** ` type ` ** * (char , optional)* - type of device: ` a ` (all), ` c ` (char), or ` b ` (block).
197
+ * ** ` type ` ** * (string , optional)* - type of device: ` a ` (all), ` c ` (char), or ` b ` (block).
198
198
` null ` or unset values mean "all", mapping to ` a ` .
199
199
* ** ` major, minor ` ** * (int64, optional)* - [ major, minor numbers] [ devices ] for the device.
200
200
` null ` or unset values mean "all", mapping to [ ` * ` in the filesystem API] [ cgroup-v1-devices ] .
0 commit comments