File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
sites/cheerpx/src/content/docs/12-reference/CheerpX.Linux Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ interface MountPointConfiguration {
4343 // Specifies the filesystem type
4444 // 'ext2' for Linux ext2
4545 // 'dir' for a hierarchical file system
46- // 'devs' for device files
47- // 'proc' for process info files.
46+ // 'devs' for device files (no device required)
47+ // 'proc' for process info files. (no device required)
4848 type: " ext2" | " dir" | " devs" | " proc" ;
4949
5050 // First mount must be "/" (root)
5151 path: string ;
52- // Can be one of: overlayDevice / webDevice / dataDevice / idbDevice
53- dev: CheerpX .Device ;
52+ // Required for 'ext2' and 'dir' types, but optional for 'devs' and 'proc'
53+ dev? : CheerpX .Device ;
5454}
5555```
5656
@@ -61,6 +61,8 @@ const cx = await CheerpX.Linux.create({
6161 mounts: [
6262 { type: " ext2" , path: " /" , dev: overlayDevice },
6363 { type: " dir" , path: " /app" , dev: webDevice },
64+ { type: " devs" , path: " /dev" }, // No dev required
65+ { type: " proc" , path: " /proc" }, // No dev required
6466 ],
6567});
6668```
You can’t perform that action at this time.
0 commit comments