1.先删除/var/log
2.打开/etc/default/volatiles/00_core 注释下面代码
l root root 0755 /var/log /var/volatile/log
3.删除 /etc/volatile.cache
4.重新创建/var/log文件
然后重启后log就不会被软连接上了
1.先删除/var/log 2.打开/etc/default/volatiles/00_core 注释下面代码
l root root 0755 /var/log /var/volatile/log 3.删除 /etc/volatile.cache 4.重新创建/var/log文件 然后重启后log就不会被软连接上了 |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-22 10:18
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.