v86 icon indicating copy to clipboard operation
v86 copied to clipboard

Mount zip as 9p filesystem

Open strikersix23 opened this issue 7 years ago • 11 comments

Allowing mount zips as virtual drives, is it possible? I would want this because I'm on chrome os. there is not a qemu version for chrome. nor do I have access to crosh.

strikersix23 avatar Nov 08 '18 14:11 strikersix23

It's possible, but low priority.

copy avatar Nov 11 '18 05:11 copy

so what is the main priority? I'm just curious?

strikersix23 avatar Nov 12 '18 14:11 strikersix23

How would that be handled? What would the behavior be? Looking in a zip file for a raw HDD image? Or something else? As a side note, how about compressed qcow2 images which are fairly standard and used by qemu (lots of images can be found in this format)

BelleNottelling avatar Nov 13 '18 07:11 BelleNottelling

it would be handled by emscripten compiled library as a virtual hard disk. part of which could include https://github.com/imaya/zlib.js

and the zip would be read like a hard disk but not a bootable one just as an external drive for loading files into an os that don't have 9p support like dos or freedos

or this for example which can read and edit zip files

https://github.com/Stuk/jszip it is implemented in javascript

strikersix23 avatar Nov 13 '18 19:11 strikersix23

or this library

https://gildas-lormeau.github.io/zip.js/

this included allows file write but not sure it allows to mount virtual disks not sure if it allows qcow2 https://github.com/streamich/memfs.git

strikersix23 avatar Nov 13 '18 19:11 strikersix23

Just thinking out loud, but isn't it now possible to run Linux apps on chrome os?

BelleNottelling avatar Dec 05 '18 16:12 BelleNottelling

yes but i do not have access to crosh

strikersix23 avatar Dec 05 '18 19:12 strikersix23

I thought there was now an official way to do it? (Or is that crosh? I'm not well educated in chrome os)

BelleNottelling avatar Dec 05 '18 19:12 BelleNottelling

its crosh it uses crostini im know more but im to tired to remenber

strikersix23 avatar Dec 05 '18 20:12 strikersix23

it uses the native crome os terminal emulator aka crosh

strikersix23 avatar Dec 05 '18 20:12 strikersix23