免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3035 | 回复: 5
打印 上一主题 下一主题

/etc/system文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-21 13:06 |只看该作者 |倒序浏览
大家好,请教一下,如果没有/etc/system文件,系统是否能够正常启动???
我在vmware中的s9中测试了一下,rm system后,还是能够启动到level 3。

不知道是不是如果system文件没有做过修改,那么就算是删除它,也不会对启动造成影响???

论坛徽章:
0
2 [报告]
发表于 2007-12-21 13:15 |只看该作者
*ident  "@(#)system     1.18    97/06/27 SMI" /* SVR4 1.5 */
*
* SYSTEM SPECIFICATION FILE
*

* moddir:
*
*       Set the search path for modules.  This has a format similar to the
*       csh path variable. If the module isn't found in the first directory
*       it tries the second and so on. The default is /kernel /usr/kernel
*
*       Example:
*               moddir: /kernel /usr/kernel /other/modules



* root device and root filesystem configuration:
*
*       The following may be used to override the defaults provided by
*       the boot program:
*
*       rootfs:         Set the filesystem type of the root.
*
*       rootdev:        Set the root device.  This should be a fully
*                       expanded physical pathname.  The default is the
*                       physical pathname of the device where the boot
*                       program resides.  The physical pathname is
*                       highly platform and configuration dependent.
*
*       Example:
*               rootfs:ufs
*               rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
*
*       (Swap device configuration should be specified in /etc/vfstab.)



* exclude:
*
*       Modules appearing in the moddir path which are NOT to be loaded,
*       even if referenced. Note that `exclude' accepts either a module name,
*       or a filename which includes the directory.
*
*       Examples:
*               exclude: win
*               exclude: sys/shmsys



* forceload:
*
*       Cause these modules to be loaded at boot time, (just before mounting
*       the root filesystem) rather than at first reference. Note that
*       forceload expects a filename which includes the directory. Also
*       note that loading a module does not necessarily imply that it will
*       be installed.
*
*       Example:
*               forceload: drv/foo



* set:
*
*       Set an integer variable in the kernel or a module to a new value.
*       This facility should be used with caution.  See system(4).
*
*       Examples:
*
*       To set variables in 'unix':
*
*               set nautopush=32
*               set maxusers=40
*
*       To set a variable named 'debug' in the module named 'test_module'
*
*               set test_module:debug = 0x13


新装solaris10的/etc/system 文件的内容 ,里面全部都是注释掉的,文件并不对系统产生任何影响

论坛徽章:
0
3 [报告]
发表于 2007-12-21 13:18 |只看该作者
呵呵,举个例子,如果说安装过oracle,那么如果system文件损坏或丢失,是否会影响启动呢?比如在显示系统版本信息后停止不动

论坛徽章:
0
4 [报告]
发表于 2007-12-21 13:26 |只看该作者
有可能会有影响的,我没试验过,也没遇到类似情况
一般/etc下的文件,除非我知道自己在做什么,不然不会随便乱动的

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
5 [报告]
发表于 2007-12-21 13:42 |只看该作者
原帖由 kinney 于 2007-12-21 13:26 发表
有可能会有影响的,我没试验过,也没遇到类似情况
一般/etc下的文件,除非我知道自己在做什么,不然不会随便乱动的

明智之举,动是可以动,建议先cp一份

论坛徽章:
0
6 [报告]
发表于 2007-12-21 14:11 |只看该作者
呵呵!那这个问题想问问,正解是什么啊?http://bbs.chinaunix.net/viewthread.php?tid=379410  我遇到跟这个一样的!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP