cvs commit: src/sbin/geom/class/part geom_part.c

[ Available lists | Index of cvs-src-old | Month of Jun 2011 | Week of 2 Jun 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Andrey V. Elsukov <ae@FreeBSD.org>
Date
2 Jun 2011 21:59:30
Subject
cvs commit: src/sbin/geom/class/part geom_part.c
Message-ID
201106022159.p52LxULA092220@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.123 seconds