From owner-svn-src-all@FreeBSD.ORG Wed Mar 3 22:22:18 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 315831065673; Wed, 3 Mar 2010 22:22:18 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mxf1.bahnhof.se (mxf1.bahnhof.se [213.80.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id D4DE98FC1E; Wed, 3 Mar 2010 22:22:16 +0000 (UTC) Received: from localhost (mxf1.local [127.0.0.1]) by mxf1-reinject (Postfix) with ESMTP id BEBC81E3120; Wed, 3 Mar 2010 23:22:16 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF1) X-Spam-Score: 4.245 X-Spam-Level: **** X-Spam-Status: No, score=4.245 tagged_above=-99 required=5 tests=[DNS_FROM_RFC_POST=1.44, RATWARE_GECKO_BUILD=1.426, SPF_NEUTRAL=1.379] Received: from mxf1.bahnhof.se ([127.0.0.1]) by localhost (mxf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id udhwWthtDgkq; Wed, 3 Mar 2010 23:22:13 +0100 (CET) Received: from [192.168.1.33] (h-90-99.A163.priv.bahnhof.se [79.136.90.99]) by mxf1.bahnhof.se (Postfix) with ESMTP id AB1481E3141; Wed, 3 Mar 2010 23:22:13 +0100 (CET) Received: from 127.0.0.1 (AVG SMTP 9.0.733 [271.1.1/2720]); Wed, 03 Mar 2010 23:22:11 +0100 Message-ID: <4B8EE113.4030004@gmail.com> Date: Wed, 03 Mar 2010 23:22:11 +0100 From: Niclas Zeising User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 MIME-Version: 1.0 To: Ulf Lilleengen References: <201003032127.o23LRsYC070496@svn.freebsd.org> In-Reply-To: <201003032127.o23LRsYC070496@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r204665 - head/sbin/gvinum X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 22:22:18 -0000 On 2010-03-03 22:27, Ulf Lilleengen wrote: > Author: lulf > Date: Wed Mar 3 21:27:54 2010 > New Revision: 204665 > URL: http://svn.freebsd.org/changeset/base/204665 > > Log: > - Make function of finding an available drive name a macro. > - Move check of /dev/ prefix and copy into a function to save code duplication. > This also fixes a bug where the /dev/ prefix could not be used when creating > volumes on the command line. > > Tested by: Niclas Zeising > Thank you! //Niclas