From owner-cvs-all Wed Jun 20 18:36:13 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id 2B2B337B407; Wed, 20 Jun 2001 18:36:10 -0700 (PDT)
(envelope-from dd@FreeBSD.org)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.3/8.11.3) id f5L1a9G98318;
Wed, 20 Jun 2001 18:36:09 -0700 (PDT)
(envelope-from dd)
Message-Id: <200106210136.f5L1a9G98318@freefall.freebsd.org>
From: Dima Dorfman
Date: Wed, 20 Jun 2001 18:36:09 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sbin/mdconfig mdconfig.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
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