From owner-freebsd-current Mon May 8 12:34: 9 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 6CC6837BB99; Mon, 8 May 2000 12:34:04 -0700 (PDT) (envelope-from jeroen@vangelderen.org) Received: from vangelderen.org (grolsch.ai [209.88.68.214]) by cypherpunks.ai (Postfix) with ESMTP id 9C4D749; Mon, 8 May 2000 15:34:03 -0400 (AST) Message-ID: <391716B4.BE21A10B@vangelderen.org> Date: Mon, 08 May 2000 15:34:12 -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: Poul-Henning Kamp Cc: obrien@FreeBSD.ORG, Jeroen Ruigrok van der Werven , current@FreeBSD.ORG Subject: Re: Small MAKEDEV bug References: <19907.957812758@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > In message <20000508115806.C51478@dragon.nuxi.com>, "David O'Brien" writes: > >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. > > Make it > MAKEDEV - > and there will be no ambiguity. I'm confused, what ambiguity does it remove exactly? There are no device names that parse as a valid integer, are there? The problem I see with your solution is that it makes the count look optional while it isn't. If you really need to avoid ambuigity and accept the fact that a count can look optional, I'd use "-n " as the count in your suggestion looks like a negative number... Does that make sense? Cheers, Jeroen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message