Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753146Ab0K3Dho (ORCPT ); Mon, 29 Nov 2010 22:37:44 -0500 Received: from kroah.org ([198.145.64.141]:56739 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752725Ab0K3Dhn (ORCPT ); Mon, 29 Nov 2010 22:37:43 -0500 Date: Mon, 29 Nov 2010 19:29:15 -0800 From: Greg KH To: Timur Tabi Cc: Michael Ellerman , Greg KH , Scott Wood , Arnd Bergmann , Linux Kernel Mailing List , Stuart Yoder , devicetree-discuss@vger.kernel.org Subject: Re: How do I choose an arbitrary minor number for my tty device? Message-ID: <20101130032915.GA13386@kroah.com> References: <4CE5657D.8060105@freescale.com> <20101118121356.3491da72@udp111988uds.am.freescale.net> <1290594227.4446.12.camel@concordia> <20101124120818.7951bcb4@udp111988uds.am.freescale.net> <20101124182353.GA10589@suse.de> <1290638647.14502.10.camel@concordia> <20101129214439.GA9830@kroah.com> <4CF42053.8060801@freescale.com> <20101129223030.GA14663@kroah.com> <4CF42B02.1030009@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CF42B02.1030009@freescale.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 25 On Mon, Nov 29, 2010 at 04:36:50PM -0600, Timur Tabi wrote: > Greg KH wrote: > > I really don't want to get into it, but the networking code is the only > > thing that allows this due to the userspace "want" to rename devices > > because we can't create symlinks to network devices like we can for all > > other devices (as they use device nodes.) > > > > When this function is called, userspace had better know exactly what is > > going on as it can get confused due to the lack of uevents happening. > > Thanks for the explanation, but I'm just concerned that you'll add a comment > that says, "don't call this function". A quick grep will show that there are > users of this function, and we'll have this exact conversation all over again. Care to turn the above into a patch? I'll be glad to apply that as well :) thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/