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 -- If you cut off my head, what would I say? Me and my head, or me and my body? _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"