Poul-Henning Kamp wrote:
> 
> In message <[EMAIL PROTECTED]>, "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 <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.
> 
> Make it
>         MAKEDEV -<num_of_devs> <dev_name>
> 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 <num_of_devs>" as the count in your
suggestion looks like a negative number...

Does that make sense?

Cheers,
Jeroen


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to