From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [PATCH 0/4] devpts: fix devpts mount behavior Date: Sun, 23 Sep 2012 10:42:32 -0700 Message-ID: <87txuo3abb.fsf@xmission.com> References: <20120124000517.GA28878@sergelap> <20120124002555.GA29534@sergelap> <20120124010758.GJ23916@ZenIV.linux.org.uk> <20120124220247.GA26353@hallyn.com> <20120124231601.GA4470@sergelap> <20120128195103.GA11299@sergelap> <87txup763i.fsf_-_@xmission.com> <505F3D48.7080103@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <505F3D48.7080103-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org> (H. Peter Anvin's message of "Sun, 23 Sep 2012 09:48:08 -0700") 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: "H. Peter Anvin" Cc: Greg Kroah-Hartman , 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 , Alan Cox List-Id: containers.vger.kernel.org "H. Peter Anvin" writes: > On 09/22/2012 08:47 PM, Eric W. Biederman wrote: >> Making /dev/ptmx a symlink sounds simple, but in practice no one could >> actually figure out how to make it happen. > > This feels particularly ridiculous since udev now requires devtmpfs > (as in it will no longer work without it), which means this is all > done in the kernel, so we should just be able to fix this in the > kernel. Some versions of udev require devtmpfs. At best we could have something conditional in the kernel that does this. > Greg, Kay, any idea how to make ptmx show up in devtmpfs as a symlink > to pts/pmtx instead of as a device node? The conversation stalled in January with that very question. What I am proposing doesn't conflict with any effort like that. Eric