spockfs
spockfs copied to clipboard
Union/Stacked support in the reference server (or as an external project ?)
The 9spock project server implements union/stacked support. We can port this code to SpockFS uWSGI plugin.
The rule to follow is that the last item in the chain is the writable one:
---spockfs-union-mount /foo,/bar,/writeme
will build a union of /foo, /bar and /writeme with every write redirected to /writeme (in copy on write mode).
Maybe it is better to have spockfs-union as an external plugin and leave the official one as simple/tiny ?
I think it's better to don't add that extra functionality, you can be able already to use an OverlayFS to combine several directories in a single mountpoint, and later use SpockFS to serve its content.