Date: Thu, 2 Jun 2011 21:59:21 +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: <201106022159.p52LxULA092220@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ae 2011-06-02 21:59:21 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/part geom_part.c
Log:
SVN rev 222630 on 2011-06-02 21:59:21Z by ae
Use stripesize and stripeoffset in the automatic calculation of
partition offsets. If user requests specific alignment and
provider's stripesize is not zero, then use a least common multiple
from the stripesize and user specified value.
Also fix "gpart resize" implementation: do not try to align the partition
size, because the start offset may be not aligned. Instead align the
end offset and then calculate size. Also use stripesize and stripeoffset
for "gpart resize" command.
Revision Changes Path
1.51 +33 -18 src/sbin/geom/class/part/geom_part.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106022159.p52LxULA092220>
