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.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.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.[1] https://github.com/qemu/qemu/blob/master/block/vvfat.c