mdconfig(8) argument parsing.
Edward Tomasz Napierała
trasz at FreeBSD.org
Wed Jan 25 11:42:58 UTC 2012
On Wed, Jan 25, 2012 at 11:52:02AM +0100, Damien Fleuriot wrote:
> On 1/25/12 11:44 AM, Edward Tomasz Napierała wrote:
> > Patch below changes the way mdconfig(8) parses its arguments:
> > it removes the ordering requirement and makes error messages
> > more descriptive; it also makes the code more readable by
> > getting rid of the 'cmdline' variable.
> >
> > Now, the mdconfig(8) syntax is somewhat weird, and I'm not sure
> > I tested all the ways people use it. Thus, testing is welcome.
> >
> > http://people.freebsd.org/~trasz/mdconfig-parsing.diff
> >
>
> Against what version is this patched ?
>
> We're running 8.2-RELEASE here at work, I've got private boxes with
> 8.2-STABLE, and 2 test ones with 9.0-RELEASE.
Against 10.0-CURRENT (i.e. HEAD), but it should work on other versions
as well.
--
If you cut off my head, what would I say? Me and my head, or me and my body?
More information about the freebsd-hackers
mailing list