reinstall icon indicating copy to clipboard operation
reinstall copied to clipboard

dd 的 archlinux 没有 /etc/sysctl.conf 这个文件

Open hyird opened this issue 1 year ago • 5 comments

虽说自己touch一个就可以. 但是 这总归算是系统文件残缺?

hyird avatar Sep 19 '24 01:09 hyird

https://wiki.archlinuxcn.org/wiki/Sysctl#%E9%85%8D%E7%BD%AE

没有 /etc/sysctl.conf 才是正常的,因为它在 archlinux 上不会生效

bin456789 avatar Sep 19 '24 01:09 bin456789

那怎么 sysctl -p 还会报错

hyird avatar Sep 19 '24 02:09 hyird

我的意思是开机时 /etc/sysctl.conf 不会生效 手动 sysctl -p 那当我没说

bin456789 avatar Sep 19 '24 02:09 bin456789

哦哦 那现在的正确做法 应该是 创建一个 /etc/sysctl.conf 到 /etc/sysctl.d/99-sysctl.conf 的软链接

hyird avatar Sep 19 '24 08:09 hyird

哦哦 那现在的正确做法 应该是 创建一个 /etc/sysctl.conf 到 /etc/sysctl.d/99-sysctl.conf 的软链接

嗯,其他发行版就是这样做的

bin456789 avatar Sep 20 '24 16:09 bin456789