非文件FileSystems? [英] Non-file FileSystems?

查看:124
本文介绍了非文件FileSystems?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在想这个问题已经有一段时间了(你知道,程序员往往会这么做),而且我一直在想,存储数据的方法是非常习惯的, ?回答这个问题的麻烦是,我真的没有什么可以比较的,因为这是我曾经使用过的唯一的东西。



我不是指文件系统的FAT或NTFS或特定的类型,我的意思是整个文件系统结构。我们只是习惯于文件夹内的文件,就像我们的硬盘是一个巨大的文件柜。这是一个很好的比喻,事实上,当我们这样想的时候,学习起来会容易很多,但它是描述程序及其各个部分的最好方法吗?

我想知道是否有人可以考虑(或了解)可能用于存储操作系统数据的数据存储技术,以便以不同方式组织数据部分。有什么东西...不同的东西甚至存在?

解决方案

电子邮件通常存储在文件夹中。但是自从我迁移到Gmail以来,我已经习惯于用标签对我的电子邮件进行分类。

我经常想知道我们是否可以这样管理整个文件系统:而不是将文件存储在文件夹中,您可以使用您喜欢的标签来标记文件。文件标识符不会像这样:

  /home/john/personal/contacts.txt 

但是更像这样:

 联系人[john,personal] 

呃...只是为了思考(也许这已经存在! )

I've been thinking on this for a while now (you know, that dangerous thing programmers tend to do) and I've been wondering, is the method of storing data that we're so accustomed to really all that efficient? The trouble with answering this question is that I really don't have anything to compare it to, since it's the only thing I've ever used.

I don't mean FAT or NTFS or a particular type of file system, I mean the filesystem structure as a whole. We are simply used to thinking of "files" inside "folders" like our hard drive was one giant filing cabinet. This is a great analogy and indeed, it makes it a lot easier to learn when we think of it this way, but is it really the best way to go about describing programs and their respective parts?

I'd like to know if anyone can think of (or knows about) a data storage technique that might be used to store data for an Operating System to use that would organize the parts of data in a different manner. Does anything... different even exist?

解决方案

Emails are often stored in folders. But ever since I have migrated to Gmail, I have become accustomed to classifying my emails with tags.

I often wondered if we could manage a whole file-system that way: instead of storing files in folders, you could tag files with the tags you like. A file identifier would not look like this:

/home/john/personal/contacts.txt

but more like this:

contacts[john,personal]

Well... just food for thought (maybe this already exists!)

这篇关于非文件FileSystems?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆