Subject: Re: vnconfig is broken
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 05/11/2005 11:19:51
On Wed, May 11, 2005 at 11:08:51AM +0200, Alan Barrett wrote:
> On Tue, 10 May 2005, Chris Ross wrote:
> > Steven M. Bellovin wrote:
> > >More to the point -- what is the namespace for the argument?  Are we 
> > >naming files or vnd devices? 
> > 
> >   That's really the problem.  It's both.
> 
> Could we say that, if you specify a string that doesn't contain "/",
> then it is interpreted as a device name, and if you specify a string
> that contains "/" then it is interpreted as a file name?  If you really
> want to specify "./vnd0", then just include the "./" at the beginning.

I like Alan's heuristic.  It's simple and I believe it will meet users'
expectations.  It meets mine: I did not know vnconfig didn't already
work this way.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933