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.
Thread beginning with comment 505441
To read all comments associated with this story, please click here.
We are stuck in the past.
by axilmar on Wed 1st Feb 2012 12:33 UTC
axilmar
Member since:
2006-03-20

Not only the Unix filesystem naming is ancient and stupid, the very concept of filesystem is also ancient and stupid.

Computers should have databases of information, not filesystems.

Reply Score: 2

RE: We are stuck in the past.
by JPollard on Wed 1st Feb 2012 13:44 in reply to "We are stuck in the past."
JPollard Member since:
2011-12-31

Not only the Unix filesystem naming is ancient and stupid, the very concept of filesystem is also ancient and stupid.

Computers should have databases of information, not filesystems.


Databases are slow.

And a filesystem is a database, optimized for data access in large units, many GBs in size.

Databases are optimized for data access in tiny units, such as strings, or single numbers. They aren't good at huge units in hundreds of Mbytes.

Reply Parent Score: 2

axilmar Member since:
2006-03-20

Databases are slow.


They are not.

And a filesystem is a database


It's not. Files are unstructured binary blobs. There is no way to query what's inside them.

optimized for data access in large units, many GBs in size.


So can databases handle TBs of data, not only GBs.

Databases are optimized for data access in tiny units, such as strings, or single numbers. They aren't good at huge units in hundreds of Mbytes.


They are.

Reply Parent Score: 2

RE: We are stuck in the past.
by jabjoe on Wed 1st Feb 2012 16:58 in reply to "We are stuck in the past."
jabjoe Member since:
2009-05-06

Filesystem is just an address system for different byte streams. Everything is a stream of bytes. It is very simple and very flexiable. Simple is good.

Reply Parent Score: 3

axilmar Member since:
2006-03-20

It's not simple. There is a huge hidden complexity behind it, evident in the huge amount of code dedicated to convert the byte streams to useful data inside a program.

Reply Parent Score: 2