From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752894Ab2A1TvT (ORCPT ); Sat, 28 Jan 2012 14:51:19 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:34791 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761Ab2A1TvR (ORCPT ); Sat, 28 Jan 2012 14:51:17 -0500 Date: Sat, 28 Jan 2012 13:51:03 -0600 From: Serge Hallyn To: Kay Sievers Cc: "Serge E. Hallyn" , containers@lists.linux-foundation.org, Dave Hansen , linux-kernel@vger.kernel.org, "Eric W. Biederman" , Andy Whitcroft , sukadev@linux.vnet.ibm.com, Linus Torvalds , Al Viro Subject: Re: [RFC] fix devpts mount behavior 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Kay Sievers (kay.sievers@vrfy.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