My Spry
VPS server did not have all of the devices actually set up. Here is how you can fix that oversight.
You will probably find something like this.
Code:
server> su -
server# cd /dev
server# ls
MAKEDEV kmem ptmx ptyp4 ram0 stdin ttyp2 ttyp7
core log ptyp0 ptyp5 ram1 stdout ttyp3 urandom
fd mem ptyp1 ptyp6 ramdisk tty ttyp4 vzfs
full null ptyp2 ptyp7 random ttyp0 ttyp5 zero
initctl port ptyp3 ram stderr ttyp1 ttyp6
Only 8 PTY/TTY pairs have actually been created. We want more!
You can let MAKEDEV create 256 devices. The ones above 32 will just be useless filesystem clutter though.
Code:
server# ./MAKEDEV pty && ./MAKEDEV tty
To avoid the clutter you can create only the devices you need.
Code:
server# ./MAKEDEV ptyp8 && ./MAKEDEV ttyp8
server# ./MAKEDEV ptyp9 && ./MAKEDEV ttyp9
server# ./MAKEDEV ptypa && ./MAKEDEV ttypa
server# ./MAKEDEV ptypb && ./MAKEDEV ttypb
server# ./MAKEDEV ptypc && ./MAKEDEV ttypc
server# ./MAKEDEV ptypd && ./MAKEDEV ttypd
server# ./MAKEDEV ptype && ./MAKEDEV ttype
server# ./MAKEDEV ptypf && ./MAKEDEV ttypf
server# ./MAKEDEV ptyq0 && ./MAKEDEV ttyq0
server# ./MAKEDEV ptyq1 && ./MAKEDEV ttyq1
server# ./MAKEDEV ptyq2 && ./MAKEDEV ttyq2
server# ./MAKEDEV ptyq3 && ./MAKEDEV ttyq3
server# ./MAKEDEV ptyq4 && ./MAKEDEV ttyq4
server# ./MAKEDEV ptyq5 && ./MAKEDEV ttyq5
server# ./MAKEDEV ptyq6 && ./MAKEDEV ttyq6
server# ./MAKEDEV ptyq7 && ./MAKEDEV ttyq7
server# ./MAKEDEV ptyq8 && ./MAKEDEV ttyq8
server# ./MAKEDEV ptyq9 && ./MAKEDEV ttyq9
server# ./MAKEDEV ptyqa && ./MAKEDEV ttyqa
server# ./MAKEDEV ptyqb && ./MAKEDEV ttyqb
server# ./MAKEDEV ptyqc && ./MAKEDEV ttyqc
server# ./MAKEDEV ptyqd && ./MAKEDEV ttyqd
server# ./MAKEDEV ptyqe && ./MAKEDEV ttyqe
server# ./MAKEDEV ptyqf && ./MAKEDEV ttyqf
And that's all there is to it.