From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 15 May 2001 11:53:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 15 May 2001 11:52:52 -0400 Received: from m446-mp1-cvx1a.col.ntl.com ([213.104.69.190]:4481 "EHLO [213.104.69.190]") by vger.kernel.org with ESMTP id ; Tue, 15 May 2001 11:52:35 -0400 To: Linus Torvalds Cc: Linux Kernel Mailing List Subject: Re: LANANA: To Pending Device Number Registrants In-Reply-To: From: John Fremlin Date: 15 May 2001 16:51:58 +0100 In-Reply-To: (Linus Torvalds's message of "Mon, 14 May 2001 23:41:15 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (GTK) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: [...] > Nobody really uses it because it would require you to add a line or > two to your init scripts to pick up the major number from > /proc/devices, and that's obviously too hard. Much better to just > hardcode randome numbers, right? And thereby avoid using procfs. Hardcoding is the way the BSDs seem to be going. Clueless suggestion: I suppose you could allocate numbers on kernel build or something. [...] -- http://ape.n3.net