Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2000 15:29:06 -0400
From:      "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
To:        obrien@FreeBSD.ORG
Cc:        Jeroen Ruigrok van der Werven <asmodai@FreeBSD.ORG>, current@FreeBSD.ORG, bde@freebsd.org
Subject:   Re: Small MAKEDEV bug
Message-ID:  <39171582.BD855B3E@vangelderen.org>
References:  <3913D862.960037A1@altavista.net> <Pine.BSF.4.21.0005070543520.8955-100000@besplex.bde.org> <20000507165946.F86113@lucifer.bart.nl> <20000507104224.D35845@dragon.nuxi.com> <3915C38B.1E8614AB@vangelderen.org> <20000508115806.C51478@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <num_of_devs> <dev_name>" 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39171582.BD855B3E>