geom_part_mbr vs user

Andriy Gapon avg at icyb.net.ua
Tue Nov 2 17:14:54 UTC 2010


It seems that geom_part_mbr:
1. uses CHS for some things
2. insists that various things be "CHS-aligned"

While 1 is quite acceptable (although perhaps useless), 2 seems to be unhelpful
(and even annoying).
E.g. I wanted to create a partition that starts at sector 64, but that was
auto-magically and silently converted to 126 (2x63).  It took me a while to
realize what's going on.  Using some greater starting sector (like 8x63) did work.

But I still believe that geom_part_mbr "thinking" that it is smarter than me is
incorrect.  Yeah, keep using CHS params for some defaults, etc, but do obey what I
explicitly specify if doesn't violate fundamental constraints like media size or
slice overlaps.

-- 
Andriy Gapon


More information about the freebsd-geom mailing list