免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-21 13:06 |只看该作者 |倒序浏览
大家好,请教一下,如果没有/etc/system文件,系统是否能够正常启动???\r\n我在vmware中的s9中测试了一下,rm system后,还是能够启动到level 3。\r\n\r\n不知道是不是如果system文件没有做过修改,那么就算是删除它,也不会对启动造成影响???

论坛徽章:
0
2 [报告]
发表于 2007-12-21 13:15 |只看该作者
*ident  \"@(#)system     1.18    97/06/27 SMI\" /* SVR4 1.5 */\r\n*\r\n* SYSTEM SPECIFICATION FILE\r\n*\r\n\r\n* moddir:\r\n*\r\n*       Set the search path for modules.  This has a format similar to the\r\n*       csh path variable. If the module isn\'t found in the first directory\r\n*       it tries the second and so on. The default is /kernel /usr/kernel\r\n*\r\n*       Example:\r\n*               moddir: /kernel /usr/kernel /other/modules\r\n\r\n\r\n\r\n* root device and root filesystem configuration:\r\n*\r\n*       The following may be used to override the defaults provided by\r\n*       the boot program:\r\n*\r\n*       rootfs:         Set the filesystem type of the root.\r\n*\r\n*       rootdev:        Set the root device.  This should be a fully\r\n*                       expanded physical pathname.  The default is the\r\n*                       physical pathname of the device where the boot\r\n*                       program resides.  The physical pathname is\r\n*                       highly platform and configuration dependent.\r\n*\r\n*       Example:\r\n*               rootfs:ufs\r\n*               rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a\r\n*\r\n*       (Swap device configuration should be specified in /etc/vfstab.)\r\n\r\n\r\n\r\n* exclude:\r\n*\r\n*       Modules appearing in the moddir path which are NOT to be loaded,\r\n*       even if referenced. Note that `exclude\' accepts either a module name,\r\n*       or a filename which includes the directory.\r\n*\r\n*       Examples:\r\n*               exclude: win\r\n*               exclude: sys/shmsys\r\n\r\n\r\n\r\n* forceload:\r\n*\r\n*       Cause these modules to be loaded at boot time, (just before mounting\r\n*       the root filesystem) rather than at first reference. Note that\r\n*       forceload expects a filename which includes the directory. Also\r\n*       note that loading a module does not necessarily imply that it will\r\n*       be installed.\r\n*\r\n*       Example:\r\n*               forceload: drv/foo\r\n\r\n\r\n\r\n* set:\r\n*\r\n*       Set an integer variable in the kernel or a module to a new value.\r\n*       This facility should be used with caution.  See system(4).\r\n*\r\n*       Examples:\r\n*\r\n*       To set variables in \'unix\':\r\n*\r\n*               set nautopush=32\r\n*               set maxusers=40\r\n*\r\n*       To set a variable named \'debug\' in the module named \'test_module\'\r\n*\r\n*               set test_module:debug = 0x13\r\n\r\n\r\n新装solaris10的/etc/system 文件的内容 ,里面全部都是注释掉的,文件并不对系统产生任何影响

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

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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP