Search code examples
linuxxen

Xen and Linux cannot create directory while root


This question is pretty straightforward. I've googled around and not seen any help.

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 :( #

.....Why? I want to copy files into this directory....that won't work either....


Solution

  • Pseudo-filesystems such as sysfs and procfs are managed by the kernel, and as such cannot be modified by userspace (with a few exceptions).

    Why do you want to modify the /sys/hypervisor directory?