[issue1279] vnconfig: unintuitive error message

Stathis Kamperis (via DragonFly issue tracker) sinknull at crater.dragonflybsd.org
Wed Feb 11 11:43:49 PST 2009


Stathis Kamperis <ekamperi at gmail.com> added the comment:

: Perhaps make vnconfig print an error:
: "Either specify a regular filename or the size of a swap backing store via   :
-S" ?

I omitted the -S flag to avoid ambiguity from the user point of view (ie, does
-S refer to swap size or filename also?) based on discussion at #dragonflybsd.
Also I switched printf() to warnx().

Patch in, as before:
http://stathisk.ath.cx/patches/dragonflybsd/vnconfig

Cheers,
Stathis

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1279>
_____________________________________________________





More information about the Bugs mailing list