|
|
|
|
|
by duped
783 days ago
|
|
Really what you'd like to see is a way to write the mount command for each file type (do one thing well) and another command to detect the file type and dispatch accordingly (probably similar to the `file` command), all in user space. The only thing standing in the way of this today is that MacOS doesn't expose a user space file system API. You can do this on Linux, Windows, and BSDs today. (No, file provider extensions don't cut it, Apple devs who read this, please give us a FUSE equivalent, we know it exists). |
|
You could cd into zip files, they would act as directories and files at the same time.
I seem to remember Linus saying a file could act like a directory in Linux a long time ago too.
Though I don't think Linux has filters for the filesystem like Windows does so implementation might be more tricky.