From owner-svn-src-user@FreeBSD.ORG Fri Mar 28 01:52:49 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BB7FA52; Fri, 28 Mar 2014 01:52:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28D99784; Fri, 28 Mar 2014 01:52:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2S1qnIC003825; Fri, 28 Mar 2014 01:52:49 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2S1qnEu003824; Fri, 28 Mar 2014 01:52:49 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201403280152.s2S1qnEu003824@svn.freebsd.org> From: Marcel Moolenaar Date: Fri, 28 Mar 2014 01:52:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r263856 - user/marcel/mkimg X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2014 01:52:49 -0000 Author: marcel Date: Fri Mar 28 01:52:48 2014 New Revision: 263856 URL: http://svnweb.freebsd.org/changeset/base/263856 Log: Partitions start on cylinder boundaries. Modified: user/marcel/mkimg/vtoc8.c Modified: user/marcel/mkimg/vtoc8.c ============================================================================== --- user/marcel/mkimg/vtoc8.c Fri Mar 28 01:51:45 2014 (r263855) +++ user/marcel/mkimg/vtoc8.c Fri Mar 28 01:52:48 2014 (r263856) @@ -53,7 +53,7 @@ vtoc8_metadata(u_int where) { u_int secs; - secs = (where == SCHEME_META_IMG_START) ? 1 : 0; + secs = (where == SCHEME_META_IMG_START) ? nsecs * nheads : 0; return (secs); }