kmxz / overlayfs-tools

Maintenance tools for overlay-filesystem
Do What The F*ck You Want To Public License
124 stars 38 forks source link

Add option to always continue when mounted #24

Closed ecdye closed 4 months ago

ecdye commented 4 months ago

Signed-off-by: Ethan Dye mrtops03@gmail.com

UVV-gh commented 4 months ago

Thanks for the patch. The implementation looks good, but the options name is not really obvious. Shall we go for -i and --ignore-mounted instead?

What is your use case for that? I mean the results for mounted/unmouned fs could differ.

ecdye commented 4 months ago

Thanks for the patch. The implementation looks good, but the options name is not really obvious. Shall we go for -i and --ignore-mounted instead?

I like it, I'll make the change

What is your use case for that? I mean the results for mounted/unmouned fs could differ.

Occasionally I run into issues where the filesystem won't unmount because of broken open files (which yes is a bug in other programs) but I need it to at least try to sync down the changes before a reboot of a zram folder. I have an out of date implementation of this in ecdye/zram-config. I'm planning on updating it to use a submodule of this project instead now that it is actively being maintained again.

UVV-gh commented 4 months ago

Looks good. Please rebase leaving only one commit (no temporary fixes) and we can merge

ecdye commented 4 months ago

Done