OpenVZ Forum


Home » General » Support » Exporting device file
Exporting device file [message #39927] Thu, 24 June 2010 18:26
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Hi,

I have problems exporting a devicefile inside a container:

host # dir /dev/vboxdrv
crw------- 1 root vboxusers 10, 59 24. Jun 18:26 /dev/vboxdrv
host # vzctl set 200 --devices c:10:58:rw
host # vzctl enter 200
200 /# mknod /dev/vboxdrv c 10 58
200 /# chmod 666 /dev/vboxdrv
200 /# dir /dev/vboxdrv
crw-rw-rw- 1 root root 10, 58 24. Jun 20:15 /dev/vboxdrv


Should be fine; BUT:

200 /# cat /dev/vboxdrv
cat: /dev/vboxdrv: Operation not permitted
200 /# echo test > /dev/vboxdrv
bash: /dev/vboxdrv: Operation not permitted


The device itself is fine; on the host it works:

host # cat /dev/vboxdrv
cat: /dev/vboxdrv: Invalid argument


What's wrong? Do I miss something?

Regards,
divB

[Updated on: Thu, 24 June 2010 18:27]

Report message to a moderator

Previous Topic: How to let CT's(public IP) out ip show it's own
Next Topic: Migration with bridged tagged vlan interfaces?
Goto Forum:
  


Current Time: Mon Aug 12 02:53:49 GMT 2024

Total time taken to generate the page: 0.02844 seconds