Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about 9p filesystem #334

Closed
jcubic opened this issue May 3, 2020 · 8 comments
Closed

Question about 9p filesystem #334

jcubic opened this issue May 3, 2020 · 8 comments

Comments

@jcubic
Copy link

jcubic commented May 3, 2020

I've created basic code to enable using p9 file system with BrowserFS using existing v86 API, service worker the serve the files from IndexedDB via BrowserFS and generate the JSON. Here is the link to repo https://github.com/jcubic/v86-demo

but I'm not able to mount the fs:

/mnt% mount -t 9p host9p /mnt/9p                                                
mount: mounting host9p on /mnt/9p failed: No such file or directory 

I've tried to create mnt directory because it was missing also create the p9 directory but it keep showing error that file don't exists.

@copy
Copy link
Owner

copy commented May 3, 2020

Are you using the Linux 3 image? Can you verify that the filesystem is not already mounted on /mnt/? (this is automatically done in /etc/profile).

Maybe the generated fs.json is broken?

@jcubic
Copy link
Author

jcubic commented May 3, 2020

I'm using linux.iso what's the difference between linux and linux 3? Why there are two linux images?

@jcubic
Copy link
Author

jcubic commented May 3, 2020

Ok, it's working with Linux 3 also had a bug in my Service worker, the names had slash at the beginning because I was not able to use path.basename.

@jcubic jcubic closed this as completed May 3, 2020
@lunu-bounir
Copy link

@jcubic

I've created basic code to enable using p9 file system with BrowserFS using existing v86 API

Can you share your code?

@jcubic
Copy link
Author

jcubic commented Jun 2, 2021

I think I've deleted the code from GitHub. Maybe I still have a copy.

@jcubic
Copy link
Author

jcubic commented Jun 3, 2021

@lunu-bounir sorry, it seems that I've deleted the code, I've didn't realized that I've had this BrowserFS p9 implementation that no one created before.

And I deleted it because I was getting a lot of PR from bots to that repo with vulnerability fixes, and it was annoying.

@lunu-bounir
Copy link

@jcubic no problem. Thanks anyway.

@farhan-ct
Copy link

the code deletion part was heartbreaking :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants