OpenVZ Forum


Home » General » Support » Difference between --devnodes and --devices?
Re: Difference between --devnodes and --devices? [message #10673 is a reply to message #10638] Mon, 26 February 2007 12:00 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

I just want to add some interesting information. While playing with these options /proc/vz/devperms file is useful:

# cat /proc/vz/devperms
Version: 2.7
         0 b 016 *:*
         0 c 006 *:*
# vzctl set 201 --devnode hdb1:w --save
Setting devices
Saved parameters for VE 201
# cat /proc/vz/devperms
Version: 2.7
         0 b 016 *:*
         0 c 006 *:*
       201 b 002 3:65


The format is the following:
<veid> <block(b)/character(c) device> <permissions> <device major>:<device minor>

HTH,
Vasily
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* veth problem - unable to create
Next Topic: *SOLVED* /dev destroyed upon gnome install
Goto Forum:
  


Current Time: Tue Sep 17 03:13:11 GMT 2024

Total time taken to generate the page: 0.04814 seconds