From mboxrd@z Thu Jan 1 00:00:00 1970 From: Serge Hallyn Subject: Re: [RFC] fix devpts mount behavior Date: Sat, 28 Jan 2012 13:51:03 -0600 Message-ID: <20120128195103.GA11299@sergelap> References: <20120124000517.GA28878@sergelap> <20120124002555.GA29534@sergelap> <20120124010758.GJ23916@ZenIV.linux.org.uk> <20120124220247.GA26353@hallyn.com> <20120124231601.GA4470@sergelap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Kay Sievers Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Dave Hansen , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Al Viro , "Eric W. Biederman" , Andy Whitcroft , sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, Linus Torvalds List-Id: containers.vger.kernel.org Quoting Kay Sievers (kay.sievers-tD+1rO4QERM@public.gmane.org): > We might also thing about changing /sys/class/tty/ptmx/, and have the > kernel create the symlink? The loops through userspace to setup > default kernel stuff are kind of crazy ... > > Kay Hi Kay, sorry, there is something I'm missing here. Without a target kobj to link to, how would we go about telling the kernel that /dev/ptmx should be a symlink to /dev/pts/ptmx? Is there a way to do that? thanks, -serge