Date: Wed, 20 Jun 2001 18:36:09 -0700 (PDT) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mdconfig mdconfig.c Message-ID: <200106210136.f5L1a9G98318@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dd 2001/06/20 18:36:09 PDT Modified files: sbin/mdconfig mdconfig.c Log: Fail if -s isn't specified for an MD_MALLOC or MD_SWAP disk; the driver itself obviously won't configure such a disk, but the error returned (EDOM) is more cryptic to the average user than it should be. Also assert that the argument to -u is in fact a valid unit; don't just accept any string to mean 0. Approved by: phk Revision Changes Path 1.13 +8 -2 src/sbin/mdconfig/mdconfig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106210136.f5L1a9G98318>