MercuryWorkshop / anuraOS

A web "OS" and development environment with full linux emulation
https://anura.pro
GNU Affero General Public License v3.0
218 stars 280 forks source link

R/W on root linux filesystem #85

Closed mdoryammilwalrus closed 1 year ago

ProgrammerIn-wonderland commented 1 year ago

What

ProgrammerIn-wonderland commented 1 year ago

This is a terrible issue, there are no details and for all I know, you can read and write to the Linux fs fine

ProgrammerIn-wonderland commented 1 year ago

Don't just make issues with no description

mdoryammilwalrus commented 1 year ago

This is a terrible issue, there are no details and for all I know, you can read and write to the Linux fs fine

Did you not read the messages in TN #programmers?

ProgrammerIn-wonderland commented 1 year ago

Oh you're that guy, either way, you still provided no details on the issue itself so it's still a bad issue

ProgrammerIn-wonderland commented 1 year ago

Also I made it pretty clear that I, nor anyone else, was planning to impl this

ProgrammerIn-wonderland commented 1 year ago

For any outsiders, this issue was about implimenting read and write from anura's JS portion to x86's root. Currently the home directory (/root) is bridged, but the root itself isn't bridged and is a normal persistent ext4, because of performance issues that arised when we tried to have the full root on the bridge.

There is no reasonable way to retrofit access to that filesystem into anura, except for using serial to access the filesystem which would be really slow, and impractical, or making a /root/tmp folder and copying files on read, watching for changes, and then writing them back, which could have unforseen consequences (I don't believe filesystem watching is implimented anyways in the bridge? I'd have to check).

As a result, I denied implimenting this and made it clear, that this wasn't exactly planned for to the reasons above, mostly pertaining to practicality and performance.