LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 780|回复: 1

与黑客历史学家交谈-采访:Eric Raymond 回归基础

[复制链接]
发表于 2003-6-27 09:33:04 | 显示全部楼层 |阅读模式
我认为最近已经解决的一个问题是文件属性现在已是 2.5 Linux 内核的一部分。我在这个问题上已经来回折腾了几年,但我现在认为我理解文件属性对于 GUI 环境是极其有用的。基本上,其原因是有一类特性 — 就象“这个应用程序在这个台式机的什么位置?”之类的特性,您希望能够将该台式机的数据与那些应用程序关联 — 正好对于文件属性具有正确的语意。也就是,它们在用户会话中是持久的,但它们并不是您想要保存到 tar 文件或通过连线导出的一些东西。而那往往正是文件属性应该具有的那种持久性。因此我认为那是一个问题。我想我们将能够通过新的文件属性特性做出一些事情,这些事情与 Macintosh 资源派生做的事情等价。


http://www-900.ibm.com/developer ... l-ivesr/index.shtml
发表于 2003-6-27 11:40:22 | 显示全部楼层
看看引用的这段话,真是难以理解
看英语原文就舒服多了

I think one gap that has been repaired quite recently is that file attributes are now part of the 2.5 Linux kernel. I went back and forth on this for years, but I now think that I understand that file attributes are extremely useful for a GUI environment. Basically, the reason is that there is a class of properties -- things like "where is this application located on this desktop?" for which you want to be able to associate data with those applications -- that have exactly the right semantics for file attributes. That is, they are persistent through user sessions, but not something you want to save in a tarball or export over the wire. And that's exactly the kind of persistence that file attributes tend to have. So I think that's one gap. I think we're going to be able to do things that are equivalent to what the Macintosh resource fork does through the new file attribute feature.

http://www-900.ibm.com/developer ... esr/index_eng.shtml
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表