How do I mount local container to RO folder with RW union?

What is the problem you are having with rclone?

Hello, on Windows, I'd like to :
1- mount a local archive (ZIP/7zip/ISO/...) to a local virtual folder
2- the local archive may be split into chunks (001, 002, ...) of say 50 MB
3- the local archive shall be mounted in RO mode to prevent modification
4- an union with a local RW folder shall store the attempts to write to the archive
5- the local RW folder have priority over the local RO archive
Is that possible ?

Basically :

D:\Archives\Test.zip : the local archive that should be mounted in RO mode

C:\Volumes\Test : the mount point as a local virtual folder (RO)

D:\Writes\Test : the union folder that is in RW mode

The writes in C:\Volumes\Test shall happen in D:\Writes\Test (regardless of the depth).

When reading from C:\Volumes\Test, if the file is as well in D:\Writes\Test, read it from there.

If deleting from C:\Volumes\Test, a “deleted” file shall be placed in D:\Writes\Test.

Virtually everything happening to C:\Volumes\Test shall be “cached” in D:\Writes\Test.

A kind of “diff” or “stage” that is NEVER “committed” to the local RO archive.

Of course several archives with their union folder might be mounted at the same time.

Run the command 'rclone version' and share the full output of the command.

rclone v1.71.1

  • os/version: Microsoft Windows 10 Pro 22H2 22H2 (64 bit)
  • os/kernel: 10.0.19045.6332 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.25.1
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

None, only local storage (disk and NAS)

Regards.

You need some tool which can mount such archives. rclone can NOT. At least not yet:)

Ok, I guess that is the correct answer. Thank you.

Can the other points be covered with rclone?

something like:

Do your Google search. It looks like there are quite few options.

Found it already, don’t worry for my “Google” skills. But there is no “unionFS”.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.