Rey*_*rPM 3 filesystems fedora files root-filesystem
以下文件在我的 Linux (Fedora 25) 的根目录中的含义:
$ ls -la
total 70
...
-rw-r--r--. 1 root root 0 Nov 22 09:28 1
-rw-r--r-- 1 root root 0 Sep 27 09:53 .autorelabel
...
-rw-r--r-- 1 root root 0 Dec 9 14:30 null
Run Code Online (Sandbox Code Playgroud)
删除它们是否安全?前段时间我删除了一些文件(不记得名字了),我完全损坏了硬盘分区,我不想在这里一样。
有什么建议吗?
这是一个带有 SELinux 的系统,所以你当然应该保留.autorelabel
. 删除null
和1
。
.autorelabel
当从禁用(许可)SELinux 切换到启用(强制)SELinux 配置时,最常使用该文件。当错误不是 SELinux 配置的永久部分时,它还可以用来纠正 SELinux 所犯的错误。