OpenVZ Forum


Home » General » Support » /dev/pty always gone
Re: /dev/pty always gone [message #26193 is a reply to message #26191] Wed, 16 January 2008 23:55 Go to previous messageGo to previous message
Thomasd is currently offline  Thomasd
Messages: 39
Registered: December 2007
Member
I did this:

# mknod --mode 666 /vz/private/4010/lib/udev/devices/ptyp0 c 2 0

# ls -l /vz/private/4010/lib/udev/devices/ptyp0
crw-rw-rw- 1 root root 2, 0 Jan 16 15:48 /vz/private/4010/lib/udev/devices/ptyp0

# mknod --mode 666 /vz/private/4010/lib/udev/devices/ptmx c 5 2

# ls -l /vz/private/4010/lib/udev/devices/ptmx
crw-rw-rw- 1 root root 5, 2 Jan 16 15:51 /vz/private/4010/lib/udev/devices/ptmx


and now, it works: I can go in the VE, out, stop it, restart it and go back in. ptyp0 and ptmx are persistent.

I used to make it with MAKEDEV each time; What is it that made MAKEDEV create the devs in a non persistant way vs mknod? (I am not very knowledgeable in this area)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED!] OpenVZ Multicast Questions
Next Topic: disk quota
Goto Forum:
  


Current Time: Wed May 01 12:30:52 GMT 2024

Total time taken to generate the page: 0.01843 seconds