革命者 发表于 2005-2-25 17:26:59

~一个小小的问题~

请问
/misc
/opt
/initrd
这些目录是干什么用的?公社的精华里面我没找到答案 :roll::roll: ~

革命者 发表于 2005-2-25 18:39:52

UP

革命者 发表于 2005-2-25 20:29:49

:oops:

革命者 发表于 2005-2-25 22:14:26

:arrow::arrow::arrow::arrow::evil::evil::evil::evil:

wanggang 发表于 2005-2-25 22:29:26

/misc   指定共享nfs目录的公共装载点
/opt    包括sun staroffice与corel wordperfect之类的第三方应用程序的标准位置
/initrd配置启动期间初始内存盘使用的空目录.
         但一定要记住不要删除,不然将无法启动rh9,会出现kernel panic的消息

革命者 发表于 2005-2-25 22:43:12

已经记下了!谢谢!

樱家冢 发表于 2005-2-25 22:44:26

/misc 是 autofs 的自动挂载目录
/opt 和/usr差不多,是放一些程序之类的东西的地方,不过其实这个在一般的linux里面并非默认存在的,看你喜欢了,没什么特别的,里面的东西一般不是特别重要的。
/initrd?这个应该不是磁盘上的东西,而是内存里面的?不太清楚。

革命者 发表于 2005-2-25 22:51:25

哦~我刚想问/opt和/usr有什么区别呢~谢谢!!

6692975 发表于 2005-2-26 00:25:22

FHS(Filesystem Hierarchy Standard)对/opt和/usr的解释
了解更多看这里:
http://www.pathname.com/fhs/pub/fhs-2.3.html


/opt : Add-on application software packages
Purpose

/opt is reserved for the installation of add-on application software packages.

A package to be installed in /opt must locate its static files in a separate /opt/<package> or /opt/<provider> directory tree, where <package> is a name that describes the software package and <provider> is the provider's LANANA registered name.



The /usr Hierarchy
Purpose

/usr is the second major section of the filesystem. /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to. Any information that is host-specific or varies with time is stored elsewhere.

Large software packages must not use a direct subdirectory under the /usr hierarchy.


有些程序放在/opt下容易管理。
例如QT就是推荐放在/opt下。
页: [1]
查看完整版本: ~一个小小的问题~