v86
v86 copied to clipboard
Mount zip as 9p filesystem
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.
It's possible, but low priority.
so what is the main priority? I'm just curious?
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)
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
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
Just thinking out loud, but isn't it now possible to run Linux apps on chrome os?
yes but i do not have access to crosh
I thought there was now an official way to do it? (Or is that crosh? I'm not well educated in chrome os)
its crosh it uses crostini im know more but im to tired to remenber
it uses the native crome os terminal emulator aka crosh