|
|
在emerge *-*的时候,老是能够看见etc-update的相关信息,也就按照做了,可以老得都看一遍,然后选择u,去更新,有没有办法直接都更新,不用每次都手动?
在安装的过程中,还有env-update和rc-update,从字面理解,应该是rc-update负责更新rc.d里边的内容,可是env-update是更新什么的?能够起到什么作用,MAN了一下,发现更新的是三个地方,env-update reads the files in /etc/env.d and automatically generates /etc/profile.env and /etc/ld.so.conf. 这三个地方都不是很明白做什么的,麻烦大家解释一下。
env-update reads the files in /etc/env.d and automatically generates
/etc/profile.env and /etc/ld.so.conf. Then ldconfig(8) is run to
update /etc/ld.so.cache. env-update is run by emerge(1) automatically
after each package merge. Also, if you make changes to /etc/env.d, you
should run env-update yourself for changes to take effect immediately.
Note that this would only affect new processes. In order for the
changes to affect your active shell, you will probably have to run
source /etc/profile first.
而且里边说,env-update is run by emerge(1) automatically
after each package merge,是不是前边两个文件,不应该手动更改?因为更改后,只要emerge任何东西,都会被覆盖掉?不知道我的理解对不对?
谢谢 |
|