From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [RFC] fix devpts mount behavior Date: Sat, 28 Jan 2012 12:52:00 -0800 Message-ID: References: <20120124000517.GA28878@sergelap> <20120124002555.GA29534@sergelap> <20120124010758.GJ23916@ZenIV.linux.org.uk> <20120124220247.GA26353@hallyn.com> <20120124231601.GA4470@sergelap> <20120128195103.GA11299@sergelap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120128195103.GA11299@sergelap> (Serge Hallyn's message of "Sat, 28 Jan 2012 13:51:03 -0600") 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: Serge Hallyn Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Kay Sievers , Dave Hansen , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Al Viro , Andy Whitcroft , sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, Linus Torvalds List-Id: containers.vger.kernel.org Serge Hallyn writes: > 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? There is precedent in the /dev/fd symlinks, so I expect you want to look and see where the configuration for that comes from. Eric