From owner-freebsd-current Mon May 8 12:29: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: from cypherpunks.ai (cypherpunks.ai [209.88.68.47]) by hub.freebsd.org (Postfix) with ESMTP id 77BA837BB99; Mon, 8 May 2000 12:28:59 -0700 (PDT) (envelope-from jeroen@vangelderen.org) Received: from vangelderen.org (grolsch.ai [209.88.68.214]) by cypherpunks.ai (Postfix) with ESMTP id 8460F49; Mon, 8 May 2000 15:28:57 -0400 (AST) Message-ID: <39171582.BD855B3E@vangelderen.org> Date: Mon, 08 May 2000 15:29:06 -0400 From: "Jeroen C. van Gelderen" X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: obrien@FreeBSD.ORG Cc: Jeroen Ruigrok van der Werven , current@FreeBSD.ORG, bde@freebsd.org Subject: Re: Small MAKEDEV bug References: <3913D862.960037A1@altavista.net> <20000507165946.F86113@lucifer.bart.nl> <20000507104224.D35845@dragon.nuxi.com> <3915C38B.1E8614AB@vangelderen.org> <20000508115806.C51478@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > On Sun, May 07, 2000 at 03:27:07PM -0400, Jeroen C. van Gelderen wrote: > > Or just settle for a more intuitive solution: > > MAKEDEV acd2 creates /dev/acd2 > > MAKEDEV 2 acd creates /dev/acd[01] > > which would allow for "MAKEDEV 64 da" and "MAKEDEV 256 pty" > > I agree with this syntax and after sending my message to you, was sitting > there thinking "MAKEDEV " would make a really > nice clear syntax. If you can get BDE's buy-in and other BSD > traditionalists I think this would be great. The good part of this solution is that it's backwards compatible. If the first argument is an integer and the second a device name without a suffix we do the new thing, if not we revert to the traditional behaviour. bde: what do you think? Cheers, Jeroen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message