<div dir="ltr">Ta - just got a demo working and now have a very happy colleague.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Jun 2019 at 15:38, VM via Nottingham <<a href="mailto:nottingham@mailman.lug.org.uk">nottingham@mailman.lug.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">overlayfs is your friend :)<br>
<br>
On June 7, 2019 2:12:21 PM UTC, J J via Nottingham <<a href="mailto:nottingham@mailman.lug.org.uk" target="_blank">nottingham@mailman.lug.org.uk</a>> wrote:<br>
>I have some tests I'd like to run and in order to get them going the<br>
>first<br>
>thing I can to do is copy a large(ish) folder structure that can be<br>
>read/written by the tests. This copy is then discarded.<br>
>The copying is wasteful in terms of time and disc space, so I'd like to<br>
>avoid having to do that.<br>
>Clearly any changes could be record as a difference, so my question is:<br>
><br>
>With Ext4, is there some magic way I can create and ad hoc<br>
>"differencing<br>
>volume" that appear to be like a copy but isn't. The tests can do what<br>
>they<br>
>like and that the whole thing gets chucked.<br>
>i.e. avoiding the copy operation<br>
><br>
>I'm pretty sure if we had ZFS or something this would be possible, but<br>
>that's not the case here. Wondering if FUSE or something can be used to<br>
>fake it.<br>
><br>
>My current reading suggests the answer is "No", but I thought I'd ask<br>
>some<br>
>experts.<br>
><br>
>J.<br>
<br>
--<br>
<a href="mailto:vadim@mankevich.co.uk" target="_blank">vadim@mankevich.co.uk</a> PGP key fingerprint<br>
0xC046022A3A91455AF0C9BB2404BF882B1905C772<br>
Retrieve from <a href="https://keybase.io/vmankevich" rel="noreferrer" target="_blank">https://keybase.io/vmankevich</a><br>
<br>
"When we take away the right to figure out if something bad is going on in our computers, the inevitable consequence is that bad things will happen in our computers." (Cory Doctorow)<br>
<br>
<br>
-- <br>
Nottingham mailing list<br>
<a href="mailto:Nottingham@mailman.lug.org.uk" target="_blank">Nottingham@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/nottingham" rel="noreferrer" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a></blockquote></div>