quick summary: he's mad.
"John P. Looney" burst across the net:
>On Thu, Jun 17, 1999 at 04:24:43PM +0100, kevin lyda mentioned:
> At first, I want a fsdb daemon would running from cron, doing something
>like locate. Say, every day. Then, you can do simple SQL style queries on
>the metadata, names, sizes, permissions (want to find all the setuid/gid
>progs on the system - takes 3 seconds on a system with 15,000 files).
but *why*?
>% mkdir wavs ; cd wavs
>% ln -s `dbquery --list name=\*.wav` .
>> And then, all your wav files would be in the current directory.
i see this, and that's why locate exists.
> Eventually, I want VFS hooks that update the SQL database every so often,
>telling it when new files are created & stuff. I'm kinda scared about doing
>stuff like this - I am stored atimes and mtimes - so this could slow things
>down a lot (though there shouldn't be a problem buffering it - after all,
>we don't mind if the fsdb is lost in a crash).
then you'd have to rebuild it. and how to you tell a filesystem to
cache - and where? is it a mount option, or something in /proc?
> With this, and the VFS to DB link there, I could add stuff like
>automounting a directory, based on SQL Views. "Make up a directory with all
>my C code in it, and mount it on ~/code/c" etc.
augh!
> You know the way that Win95 has a "recent documents" list - imagine if you
>had a directory of .txt files that were owned by you, and written to less
>than a day ago !
yeah, but it's not built into the os! this is a gnome or gtk level
thing. i'd rather have the open file widget recording each open
since it could also record what app did it, etc.
> I don't think it'll take much of a hit - apart from when it's doing the
>complete sync of the database. Though some kernel side stuff would scare
>me...
i don't want to rain on any parades. i still think writing an emacs
distribution would be fun - or even worse a linux distribution done
entirely with intercal (http://www.muppetlabs.com/~breadbox/intercal-man/)
- now that would be a cryptic os! but i really don't think this
would be received well on linux-kernel.
> Cool...now how the fuck to implement that logic...
the find source?
kevin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!