Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 01:52:49 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r263856 - user/marcel/mkimg
Message-ID:  <201403280152.s2S1qnEu003824@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403280152.s2S1qnEu003824>