diff --git a/alpine.html b/alpine.html index 3c62e4c..ec8ddf7 100644 --- a/alpine.html +++ b/alpine.html @@ -275,7 +275,7 @@ __ __ _ __ ____ __ var overlayDevice = await CheerpX.OverlayDevice.create(blockDevice, await CheerpX.IDBDevice.create("block2")); var webDevice = await CheerpX.WebDevice.create(""); var dataDevice = await CheerpX.DataDevice.create(); - CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"tree",dev:webDevice,path:"/app"},{type:"tree",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback); + CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"dir",dev:webDevice,path:"/app"},{type:"dir",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback); } function initialMessage() { diff --git a/index.html b/index.html index 511d1d4..b80940d 100644 --- a/index.html +++ b/index.html @@ -360,7 +360,7 @@ __ __ _ __ ____ __ var overlayDevice = await CheerpX.OverlayDevice.create(blockDevice, await CheerpX.IDBDevice.create("block1")); var webDevice = await CheerpX.WebDevice.create(""); var dataDevice = await CheerpX.DataDevice.create(); - CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"tree",dev:webDevice,path:"/app"},{type:"tree",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback); + CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"dir",dev:webDevice,path:"/app"},{type:"dir",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback); } function initialMessage() {