OpenVZ Forum


Home » General » Support » /dev/mem: Operation not permitted
Re: /dev/mem: Operation not permitted [message #35552 is a reply to message #35550] Fri, 03 April 2009 06:05 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

try the following commands
# vzctl set $VEID --devnodes mem:rw --save
# vzctl set $VEID --capability sys_rawio --save


Quote:


I also have a question about mknod, what's the difference when /dev is created from mknod and device being passed by vzctl set 2005 --devnodes?


mknod simply creates device file inside VE but vzctl says to kernel that the particular VE is going to have appropriate permissions.
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message icon12.gif
Previous Topic: OpenVZ + ALT Linux Sisyphus (20081222) + WebVZ
Next Topic: CPU-Limit not working?
Goto Forum:
  


Current Time: Mon Jul 29 00:23:03 GMT 2024

Total time taken to generate the page: 0.02749 seconds