From owner-cvs-all@FreeBSD.ORG Sat May 3 22:13:18 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 E0A1837B401; Sat, 3 May 2003 22:13:18 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46E8C43FCB; Sat, 3 May 2003 22:13:18 -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 h445DI0U018959; Sat, 3 May 2003 22:13:18 -0700 (PDT) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h445DH3K018958; Sat, 3 May 2003 22:13:17 -0700 (PDT) Message-Id: <200305040513.h445DH3K018958@repoman.freebsd.org> From: Greg Lehey Date: Sat, 3 May 2003 22:13:17 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/vinum commands.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: Sun, 04 May 2003 05:13:19 -0000 grog 2003/05/03 22:13:17 PDT FreeBSD src repository Modified files: sbin/vinum commands.c Log: Rewrite of startup code: vinum_read: Accept 0 parameters, hand an empty string to the kernel if so. Use new ioctl VINUM_READCONFIG, not VINUM_CREATE, to read config. vinum_start: When passed 0 parameters, drop the devstat kludge and call vinum_read instead. It's no longer necessary to distinguish between "start" and "read" if no parameters are passed, and probably one of them should go away. Revision Changes Path 1.48 +13 -56 src/sbin/vinum/commands.c