Hacker News new | past | comments | ask | show | jobs | submit login

Mac OS X already has that, but I still would not like to see the filesystem hidden from me. It's just too valuable idea for it to go away and it takes us further away from general computing to turning our computers into appliances owned by our OS vendor.



I think the idea of the parent poster is that there would be no file system (at least not in the sense of a tree hierarchy of directories), just a large database with some SQL like language exposed through the GUI.


All manner of people have suggested and planned ways of doing this, but as yet, none of them are really any good.

See: http://nascent.freeshell.org/programming/TagFS/ https://secure.wikimedia.org/wikipedia/en/wiki/WinFS

and many more.


Even though Mac OS X filesystem is not a relational database, it does support a query language that allows you to search for built in or user defined attributes and their values.

This search functionality is available system wide (Spotlight search box), from any file open dialog or from the command line. For example things like this are possible:

Find me all pictures I tool this year and where I used flash, and aperture f4:

kind:image fnumber:4 date:"this year" flash:1

You type this in either spotlight or search box on open file dialog. You can do the same from the command line

mdfind -interpret "kind:image fnumber:4 date:"this year" flash:1"

The nice thing about the mdfind command is that you can restrict the search to a directory of your choice only.

Some people pay good money for photo organizers on Mac OS X, not knowing they already have this functionality built in. And finding what attributes are available is not that hard either:

mdimport -X

prints the entire metadata schema.


I wasn't necessarily heading in that direction, I just meant modifying how data is presented to users (and, in fact, the platform APIs too). I guess once you reach that abstraction, it doesn't really matter whether it's a filesystem or WinFS or whatever else.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: