logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: a63012ad5f278842886552c5882eac8602059010
parent dc2ce561190c97d7cc77d7c74f26884877878fa0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  6 Mar 2023 08:44:38 +0100

notes/unix-defects: Filesystem Queries (glob)

Diffstat:

Mnotes/unix-defects.xhtml7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/notes/unix-defects.xhtml b/notes/unix-defects.xhtml @@ -55,6 +55,13 @@ </p> <p>Even BSD sockets work better on this front (which is probably why <code>libnfs</code> exists).</p> + <h3 id="fs_query">Filesystem Queries</h3> + <p> + Most network protocols today have the ability to ask the server to search inside some database. Meanwhile Unix filesystems don't even integrate <code>glob</code>, instead this function is stuck to standard libraries. With people relying on third-party I/O-trashing central databases/indexes (again removable/network storage are a thing) from non-standard solutions like <code>locate</code> that are difficult to reuse in other programs.<br /> + Meaning that applications also often roll their own solution.<br /> + Compare this to Haiku + </p> + <h2>See Also</h2> <ul> <li><a href="https://utcc.utoronto.ca/~cks/space/blog/unix/CLibraryAPIRequiresC">The Unix C library API can only be reliably used from C</a></li>