Lines Matching refs:mount
10 - '-o newinstance' mount option is specified while mounting devpts
15 this referred to as the "legacy" mode. In this mode, the new mount options
20 'newinstance' option (as in current start-up scripts) the new mount binds
21 to the initial kernel mount of devpts. This mode is referred to as the
30 the mount is considered to be in the multi-instance mode and a new instance
35 bind-mount.
47 $ mount -t devpts -o newinstance lxcpts /dev/pts
52 the original mount of /dev/pts.
57 In multi-instance mode (i.e '-o newinstance' mount option is specified at least
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
75 $ mount -o bind /dev/pts/ptmx /dev/ptmx
85 - adding ptmxmode mount option to devpts entry in /etc/fstab, or
88 4. If multi-instance mode mount is needed for containers, but the system
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.
103 5. A multi-instance mount that is not accompanied by the /dev/ptmx to
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.
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
124 7. A mount of devpts without the 'newinstance' option results in binding to
125 initial kernel mount. This behavior while preserving legacy semantics,
131 including the mount in the root container, should use the newinstance