Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个问题很简单。我用谷歌搜索并没有看到任何帮助。
root@sdna-23 :) #pwd /sys/hypervisor root@sdna-23 :) #whoami root root@sdna-23 :) #mkdir test mkdir: cannot create directory `test': No such file or directory root@sdna-23 :( #
.....为什么?我想将文件复制到此目录中……那也行不通……
sysfs 和 procfs 等伪文件系统由内核管理,因此不能由用户空间修改(除了少数例外)。
为什么要修改/sys/hypervisor目录?
/sys/hypervisor
确保您现在所在的目录(/sys/hypervisor)没有被某人或某事删除。