Date: Sun, 15 May 2011 16:16:48 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/geom/class/part geom_part.c Message-ID: <201105151617.p4FGHAAw072561@repoman.freebsd.org>
index | next in thread | raw e-mail
ae 2011-05-15 16:16:48 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/part geom_part.c
Log:
SVN rev 221967 on 2011-05-15 16:16:48Z by ae
Some partitioning schemes want to have partitions that are aligned
with geometry. And they do recalculation of user specified parameters.
MBR, PC98, VTOC8, EBR schemes are doing that. For these schemes an
auto alignment feature (ie. gpart add -a alignment) would not work.
But it can work for GPT and BSD schemes. BSD scheme usualy is created
inside MBR, so we can use knowledge about offset of MBR partition to
calculate aligned values for BSD partitions.
Use "offset" attribute of the parent provider for better alignment.
MFC after: 2 weeks
Revision Changes Path
1.47 +14 -10 src/sbin/geom/class/part/geom_part.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105151617.p4FGHAAw072561>
