Linked by Thom Holwerda on Mon 30th Jan 2012 20:39 UTC
General Unix Finally something really interesting to talk about. If you've used UNIX or any of its derivatives, you've probably wondered why there's /bin, /sbin, /usr/bin, /usr/sbin in the file system. You may even have a rationalisation for the existence of each and every one of these directories. The thing is, though - all these rationalisations were thought up after these directories were created. As it turns out, the real reasoning is pretty damn straightforward.
Permalink for comment 505639
To read all comments associated with this story, please click here.
RE[4]: We are stuck in the past.
by axilmar on Thu 2nd Feb 2012 12:16 UTC in reply to "RE[3]: We are stuck in the past."
axilmar
Member since:
2006-03-20

What info exactly do you expect to be able to query from a jpeg or mp3?


Size. Author. Title. Date. Compression rate. Encoding rate. Decoding rate. Etc. There are many other attributes to query.

and yes, that sort of data, makes sense in a database and often is put there.


But it is put there by specialized software. Querying for metadata is not a standard feature of most filesystems, as is, let's say, the POSIX file interface.

You could view the filesystem as a database where the path system is the primary index.


But it is not relational.

Find and Grep can be used, with others, to query.


These tools fail to return structured data, especially from non-text formats.

The kernel need only provide the basics, the primary key and the data.


I never said anything about kernels.

It's the wrong tool for the job.


Nope, it's the right tool for the job. The various development problems we are having today are due to the lack of databases in a large degree.

Many database just aren't design for storing GBs in a column entry for a row. It's just not what they are for.


These GBs that you speak of would be broken down to their individual parts, if stored in a database, and they will be indexable, and queriable, discoverable by any program, they would support transactions, and they would allow programs to be notified of changes in the data store. All these capabilities are absent, more or less, from today's data storage systems.

Reply Parent Score: 2