From owner-cvs-all@FreeBSD.ORG Wed Apr 30 18:34:39 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FBF237B401; Wed, 30 Apr 2003 18:34:39 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B204243FBD; Wed, 30 Apr 2003 18:34:38 -0700 (PDT) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h411Yc0U074567; Wed, 30 Apr 2003 18:34:38 -0700 (PDT) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h411YcLC074564; Wed, 30 Apr 2003 18:34:38 -0700 (PDT) Message-Id: <200305010134.h411YcLC074564@repoman.freebsd.org> From: Greg Lehey Date: Wed, 30 Apr 2003 18:34:38 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/vinum vinumutil.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 01:34:39 -0000 grog 2003/04/30 18:34:38 PDT FreeBSD src repository Modified files: sys/dev/vinum vinumutil.c Log: For consistency's sake, on command failure, throw 1, not -1. Rewrite minor number decoding. Now we have only three types of object: subdisks, plexes and volumes. The encoding for plexes and subdisks no longer reflects the object to which they belong. The super devices are high-order volume numbers. This gives vastly more potential volumes (4 million instead of 256). Revision Changes Path 1.16 +36 -39 src/sys/dev/vinum/vinumutil.c