From owner-cvs-src-old@FreeBSD.ORG Fri Dec 12 15:56:44 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9F510657BD for ; Fri, 12 Dec 2008 15:56:44 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 348098FC1D for ; Fri, 12 Dec 2008 15:56:44 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mBCFuiI3060546 for ; Fri, 12 Dec 2008 15:56:44 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mBCFuins060545 for cvs-src-old@freebsd.org; Fri, 12 Dec 2008 15:56:44 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <200812121556.mBCFuins060545@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Fri, 12 Dec 2008 15:56:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/newfs newfs.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 15:56:44 -0000 luigi 2008-12-12 15:56:38 UTC FreeBSD src repository Modified files: sbin/newfs newfs.c Log: SVN rev 185990 on 2008-12-12 15:56:38Z by luigi Move the check for the ending char in the partition name where it was before -- the check is only made when getdisklabel() returns valid info. On passing, use MAXPARTITIONS to identify the max partition number, instead of the hardwired 'h' MFC after: 4 weeks Revision Changes Path 1.87 +6 -5 src/sbin/newfs/newfs.c