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

Virtual filesystem #30

Closed
grimnight opened this issue Jan 14, 2023 · 2 comments
Closed

Virtual filesystem #30

grimnight opened this issue Jan 14, 2023 · 2 comments

Comments

@grimnight
Copy link

Being able to have a virtual filesystem view created from list of paths from stdin or from a script would have uses. It would make it possible to create a trash bin, with #29. Or create a virtual view from Export File Format used by ncdu. If implemented, it maybe necessary to be able to set a custom xfilesctl script.

I do not know if this is in line with what you have been planning for xfiles, but I thought i'd atleast ask.

@grimnight
Copy link
Author

ictree seems to do what i'm suggesting.

@phillbush
Copy link
Owner

That will not be implemented into XFiles.

First because it would break for xfilesctl the assumption that you're dealing with actual files on the file system.

Second because you can already use virtual filesystems with FUSE, as you can see in this video where I create a virtual filesystem ~/union containing the union of the directories ~/yellow and ~/blue, and the virtual filesystem ~/overboard containing the data in ~/overboard.zip.

fuse.mp4

NOTE: OpenBSD (the system I use) requires the FUSE to be mounted as root (with doas) that is not needed on Linux (you can do that as a regular user). Mounting with -o allow_other may also be not needed, idk.

@phillbush phillbush closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
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

2 participants