Well this is the listing of dev in the container before I run the commands:
[root@localhost dev]# ls -al pt*
crw-rw-rw- 1 root root 5, 2 Mar 24 12:41 ptmc
crw-rw-rw- 1 root root 5, 2 Mar 24 19:35 ptmx
crw-rw-rw- 1 root tty 2, 176 Mar 24 20:05 ptya0
.
.
.
crw-rw-rw- 1 root tty 2, 191 Mar 24 20:05 ptyaf
crw-rw-rw- 1 root tty 2, 0 Mar 24 20:05 ptyp0
.
.
.
crw-rw-rw- 1 root tty 2, 15 Mar 24 20:05 ptypf
And in fact, I only have to run one of the commands in order to enter the container.
I either run
vzctl exec 101 /sbin/MAKEDEV ptmx
or I run
vzctl exec 101 /sbin/MAKEDEV ptyp0
I don't understand this to be honest. But I think something really strange is happening.
[Updated on: Wed, 25 March 2009 09:06]
Report message to a moderator