Regex2fat: Turn your favorite regex into FAT32
If you think this is crazy, check out the VVFAT driver in qemu[1].  At first sight it seems simple enough - turn a host directory into a virtual FAT filesystem which is presented to the guest.<p>The clever/insane thing is it supports writes.  It is able to "reverse" those block level operations from the guest to modify the source filesystem on the host.<p>It was written by the ever exceptional Fabrice Bellard. EDIT: No it wasn't, it was written by Johannes Schindelin, thanks for the clarification in replies.<p>[1] <a href="https://github.com/qemu/qemu/blob/master/block/vvfat.c" rel="nofollow">https://github.com/qemu/qemu/blob/master/block/vvfat.c</a>