Post by M***@dastardlyhq.comOn Wed, 11 Sep 2024 02:43:05 +0200
Post by Janis PapanagnouPost by Johanne FairchildSuppose I have a series of text files stored in an sqlite3 table. Can I
somehow read these files as if they're files on a certain directory?
Would I have to write a kernel driver for this? It seems to me that I
would have to.
An interesting question. - Being curious I searched for "mount sqlite
on file system" and got a couple links; the first one was
https://adamobeng.com/wddbfs-mount-a-sqlite-database-as-a-filesystem/
Maybe it's of some use. (Or maybe some other links of that search.)
Don't see how you interact with it using any of the normal toolset unless you
map table -> directory and column -> file though it would be a very clunky
and inefficient way to use a relational DB.
I can't quite tell from your post whether or not you actually read the link
given above. I just did and (tl;dr) basically agree with you that it looks
clunky, but I suppose that a) It is intended as proof-of-concept and b)
It's the sort of thing that appeals to people who like "Everything is a web
app" kind of thinking. I'm guessing that neither you nor I fall into that
classification.
That said, it looks like it is a two-step process:
1) You run his little utility - which is, of course, a black box to
most of us. It looks like it is written in Python, so it would be,
in theory at least, readable/understandable as-is. I.e., don't
need to go looking around for the source.
2) Then you "mount" it ("it" being the output of the previous step)
somewhere on the filesystem, and then you get what you want.
The details of step 2 are not specified; you are expected to already know
all about how that stuff (mounting "WebDAV" thingies) works already.
So, all in all, probably not of much use to either you or I.
--
Treating the stock market indexes as general measures of the well-being of a
society is like treating your blood pressure as an indicator of health. The
higher, the better, right? In fact, a high stock market is good for the investor
class, but it means the rest of us are getting screwed better than ever.