Lines Matching refs:pts

26 is the presence of new, '/dev/pts/ptmx' node with permissions 0000, which
33 /dev/pts/ptmx node is present. To effectively use the multi-instance mode,
34 open of /dev/ptmx must be a redirected to '/dev/pts/ptmx' using a symlink or
39 $ chmod 0666 /dev/pts/ptmx
41 $ ln -s pts/ptmx /dev/ptmx
46 $ umount /dev/pts
47 $ mount -t devpts -o newinstance lxcpts /dev/pts
52 the original mount of /dev/pts.
60 1. If -o newinstance mount option is never used, /dev/pts/ptmx can be ignored
65 /dev/pts/ptmx using either a bind mount or symlink.
67 $ mount -t devpts -o newinstance devpts /dev/pts
72 $ ln -s pts/ptmx /dev/ptmx
73 $ chmod 666 /dev/pts/ptmx
75 $ mount -o bind /dev/pts/ptmx /dev/ptmx
77 3. The '/dev/ptmx -> pts/ptmx' symlink is the preferred method since it
82 /dev/pts/ptmx correctly (default mode is 0000). The scripts can set the
86 - using 'chmod 0666 /dev/pts/ptmx'
90 should bind mount /dev/ptmx to /dev/pts/ptmx to avoid breaking single-
95 mount -t devpts -o newinstance -o ptmxmode=0666 devpts /dev/pts
97 mount -o bind /dev/pts/ptmx /dev/ptmx
101 a symlink to pts/ptmx and the bind mount can be ignored.
104 /dev/pts/ptmx redirection would result in an unusable/unreachable pty.
106 mount -t devpts -o newinstance lxcpts /dev/pts
112 would create a pty, say /dev/pts/7, in the initial kernel mount.
113 But /dev/pts/7 would be invisible in the new mount.
115 6. The permissions for /dev/pts/ptmx node should be specified when mounting
116 /dev/pts, using the '-o ptmxmode=%o' mount option (default is 0000).
118 mount -t devpts -o newinstance -o ptmxmode=0644 devpts /dev/pts
122 chmod 666 /dev/pts/ptmx