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

Mount an directory containing many types of compressed archives transparently into another directory #3

Closed
jkaberg opened this issue Oct 19, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jkaberg
Copy link

jkaberg commented Oct 19, 2021

Hi @andrew-grechkin, many thanks for creating this.

I was wondering if you have any thoughts on into supporting nested directories with compressed archives (more or less what rar2fs does)?

Eg (just an example of what could be)

ls directory/
notcompressed.txt 1.rar 2.rar subdir/3.rar subdir/tool.bin subdir/nested/4.rar 
fuse3-p7zip directory/ output/
ls output/
notcompressed.txt 1_content 2_content subdir/3_content subdir/tool.bin subdir/nested/4_content

So more or less transparently send not compressed files through, and "unpack" compressed files in real time as a folder/file structure in the (output) mount directory

Utilizing p7zip for this would support a wide range of files instead of just rar files like rar2fs does.

@andrew-grechkin andrew-grechkin added the enhancement New feature or request label Oct 22, 2021
@andrew-grechkin
Copy link
Owner

Hi @jkaberg,
I understand this feature request and maybe I will take a look at this later but I cannot say how soon I will have some free time for this

@andrew-grechkin
Copy link
Owner

After some consideration and thinking about it I see that this should be done by external tool (script).
Feeding a directory with archives should just walk through all of them and mount them one by one separately. No need to change existing tool to incorporate this behavior - this would contradict with the unix philosophy.

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

No branches or pull requests

2 participants