freebsd-dev/sbin/geom/class
Andrey V. Elsukov 6c7e04f0f3 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
2011-05-15 16:16:48 +00:00
..
cache Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
concat Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
eli Document the following sysctls: 2011-05-08 09:46:09 +00:00
journal Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
label Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
mirror Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
mountver Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
multipath Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
nop Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
part Some partitioning schemes want to have partitions that are aligned 2011-05-15 16:16:48 +00:00
raid MFgraid/head: 2011-03-24 21:31:32 +00:00
raid3 Fix formatting of cross-references. 2011-01-12 23:31:28 +00:00
sched Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:45:12 +00:00
shsec Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
stripe Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00
virstor Added a blurb about thin provisioning, fixed some formatting. 2011-01-24 14:24:10 +00:00
Makefile MFgraid/head: 2011-03-24 21:31:32 +00:00
Makefile.inc Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:24:34 +00:00