QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 577|回复: 8

~一个小小的问题~

[复制链接]
发表于 2005-2-25 17:26:59 | 显示全部楼层 |阅读模式
请问
/misc
/opt
/initrd
这些目录是干什么用的?公社的精华里面我没找到答案    ~
 楼主| 发表于 2005-2-25 18:39:52 | 显示全部楼层
UP
回复

使用道具 举报

 楼主| 发表于 2005-2-25 20:29:49 | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 2005-2-25 22:14:26 | 显示全部楼层
              
回复

使用道具 举报

发表于 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有什么区别呢~谢谢!!
回复

使用道具 举报

发表于 2005-2-26 00:25:22 | 显示全部楼层
FHS(Filesystem Hierarchy Standard)对/opt和/usr的解释
了解更多看这里:
http://www.pathname.com/fhs/pub/fhs-2.3.html
[code:1]

/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.
[/code:1]

[code:1]
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.
[/code:1]

有些程序放在/opt下容易管理。
例如QT就是推荐放在/opt下。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-25 15:20 , Processed in 0.090943 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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