Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe you misunderstand the scenario. An SQLite DB can have records where each record contains a path. This column can be used to emulate a hierarchical tree-type filesystem. There's a few different ways to represent the path information, and the parent-child connectivity among records.


Ok. Again, why? Why would you want to use a relational database as a filesystem rather than a file format explicitly designed for that, for mounting?


If you mean (for example) a zipfile, AFAICT there's not a whole lot of difference between them when used in this capacity.


No, you asked about mounting specifically. And I replied:

> On a Mac, you'd e.g. use and mount a disk image if you wanted to create a filesystem inside of a file. Windows has virtual hard drives, and you can do that kind of thing on Linux too.

So why wouldn't you use one of these if you need mounting? They're literally made for it.

I continue to not understand why you would want to mount a SQLite database instead of using one of these.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: