project-machine / puzzlefs

A next-generation container filesystem
Apache License 2.0
393 stars 17 forks source link

implement `puzzlefs extract` code too? #12

Closed tych0 closed 1 year ago

tych0 commented 3 years ago

I'm not sure if this one is really that useful, but let's see.

It may be useful to have something that does actually extract a puzzlefs image onto a filesystem instead of just being able to mount it. Given that we can do fuse mounts as unprivileged users, people could always just mount the image, but maybe there's some case where it would be useful to extract things too (even if only for debugging).

We could implement this entirely in terms of operations on our fuse::Filesystem trait so we get it "for free" minus the traversal bits.

tych0 commented 3 years ago

This is in progress as part of #23

ariel-miculas commented 1 year ago

extended attributes are extracted in this PR: https://github.com/anuvu/puzzlefs/pull/38

ariel-miculas commented 1 year ago

permissions and ownership are implemented in https://github.com/anuvu/puzzlefs/pull/39

ariel-miculas commented 1 year ago

@hallyn can this issue be closed or is there anything else you'd like implemented?

hallyn commented 1 year ago

Thanks - let's close it, and open new issues if we find other shortcomings.