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>
This reminds me of that Lewis black bit, "If it weren't for my horse, I never would have spent that year in college".<p>I saw the words, but my brain couldn't process them, no matter how many times I tried.<p>If I die of an aneurysm, regex2fat will probably be the reason why
There's the first issue: "`regex2fat` is nine characters long" (<a href="https://github.com/8051Enthusiast/regex2fat/issues/1" rel="nofollow">https://github.com/8051Enthusiast/regex2fat/issues/1</a>) :)
Hey thanks for the project! I (thought I) know what regex is, and I (thought I) know what FAT32 is. But Bamm! putting the two together, the whole sentence makes no sense to me.<p>This is genius.
>Q: NOOOOOOOOOOO!!! YOU CAN'T TURN A DFA INTO A FAT32 FILE SYSTEM!!!! YOU CAN'T JUST HAVE A DIRECTORY WITH MULTIPLE PARENTS!!! YOU ARE BREAKING THE ASSUMPTION OF LACK OF LOOPERINOS NOOOOOOOOO<p>>A: Haha OS-driven regex engine go brrrrr<p>i absolutely love little toy things like this that probably shouldn't exist but do regardless, and even more so I love it when they close on a silly and playful note like this. this is a rather interesting concept and it reminds me a lot of the idea of glitterbombing from more occult/esoteric circles of the internet (performing acts of obscurity and aloof strangeness to degrade the meaning of consensual reality and expose people to a perspective of life they otherwise would not spend much time engaging in, sorta conceptually similar to Zen koans)
A while back I had a car stereo that would read USB drives in fat (fat32) format, but it had a terrible user interface, and searching/traversing was a chore.<p>I thought it would be a cool idea to hack the filesystem to allow you to have directories of albums or genres or artists all cross-linking to the same music files.<p>I now see my "big dreams" were actually limited in scope.
I think this could also be built out of symlinks in a Linux filesystem. This would be slightly more practical (though, of course, still not practical at all).
I read this first as "Turning your Registry into FAT32" and thought... oh, no. You do <i>not</i> want to do that.<p>Regex though... this is humorous.
This is a very stupid question and I apologize in advance, but could somebody explain to me (as if I were a five year old) what this does?<p>Like literally what does it do? I'm assuming there is a theoretical use case, even if as a toy project just for shits and giggles but I'm completely at a loss.
This is hilarious! I was excited hoping that it was a fuse file system that let you mount a view of another file system with regex though, something that would be a pretty useful tool.
I love these kinds of projects! Any description of it that has me cackling by the 2nd sentence is gonna be a gem. Good thing i brought my FAT32 driver.
James Cain did something similar on Windows using his user-space SMB2 server.<p><a href="https://www.youtube.com/watch?v=tDUL3wEs2ew" rel="nofollow">https://www.youtube.com/watch?v=tDUL3wEs2ew</a><p>You could also write a Samba VFS module that does the same thing with incoming filenames.
What is this? I'm so curious but nothing of this rings a bell with me. I mean I know what a regular expression is, and I've formatted several USBs to FAT32, but DFAs and everything in between have me Googling like crazy, still in the dark though.