Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753780AbdHXVHu (ORCPT ); Thu, 24 Aug 2017 17:07:50 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36598 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753428AbdHXVHt (ORCPT ); Thu, 24 Aug 2017 17:07:49 -0400 MIME-Version: 1.0 In-Reply-To: <874lswae8b.fsf@xmission.com> References: <20170816171211.4021-1-christian.brauner@ubuntu.com> <87pobvruzt.fsf@xmission.com> <87ziazqdfr.fsf@xmission.com> <20170824022436.44adb497@mir> <87378hhi3y.fsf@xmission.com> <87wp5tfynr.fsf@xmission.com> <20170824062432.1e05e6f8@mir> <874lsxezal.fsf@xmission.com> <87y3q8ermg.fsf@xmission.com> <874lswae8b.fsf@xmission.com> From: Linus Torvalds Date: Thu, 24 Aug 2017 14:07:46 -0700 X-Google-Sender-Auth: YC2YoCvXWgp3J9OgHAmXVDslEtg Message-ID: Subject: Re: [PATCH 0/1] devpts: use dynamic_dname() to generate proc name To: "Eric W. Biederman" Cc: Christian Brauner , Al Viro , Serge Hallyn , Stefan Lippers-Hollmann , Christian Brauner , Thorsten Leemhuis , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 973 Lines: 27 On Thu, Aug 24, 2017 at 1:43 PM, Eric W. Biederman wrote: > > There are just enough weird one off scripts like xen image builder (I > think that was the nasty test case that broke in debian) that I can't > imagine ever being able to responsibly remove the path based lookups in > /dev/ptmx. I do dream of it sometimes. Not going to happen. The fact is, /dev/ptmx is the simply the standard location. /dev/pts/ptmx simply is *not*. So pretty much every single user that ever uses pty's will use /dev/ptmx, it's just how it has always worked. Trying to change it to anything else is just stupid. There's no upside, there is only downsides - mainly the "we'll have to support the standard way anyway, that newfangled way doesn't add anything". Our "pts" lookup isn't expensive. So quite frankly, we should discourage people from using the non-standard place. It really has no real advantages, and it's simply not worth it. Linus