Hello, Joshua Branson, le mer. 24 mai 2023 13:29:14 -0400, a ecrit: > Sergey Bugaev <buga...@gmail.com> writes: > > > On Mon, May 22, 2023 at 6:50 PM jbra...@dismail.de <jbra...@dismail.de> > > wrote: > >> +- Teach httpfs to check if the computer has an internet connection at > >> + startup and during operation. The translator causes 30 second > >> + pauses on commands like "ls", when the internet is down. It is > >> + probably better to teach libnetfs to test for internet connectivity. > > > > Why? > > > > libnetfs, despite its name, has nothing to do with the network. In > > fact, it is designed in such a way that is nice for writing > > "pseudo-filesystems", but not really suitable for *network* > > filesystems. A more appropriate name for libnetfs would be > > libpseudofs. It is possible to write network filesystems based on > > libnetfs (as httpfs demonstrates), but it's not optimized for that, > > and many issues start to pop up once you try to. Some day I will write > > a long email detailing why :) > > Other than it being a lot of work, would anyone be oppossed to re-naming > libnetfs to libdirfs? And then creating a libnetfs for network > filesystems?
Re-using names most often leads to a lot of confusion. Also, possibly the underlying issues that network filesystems meet with libnetfs might not actually be about being strictly about networks. Samuel