Ticket #11690 (closed enhancement: fixed)
OFW should size root partition to fill the disk
|Reported by:||pgf||Owned by:||Quozl|
|Component:||ofw - open firmware||Version:||Development firmware|
|Action Needed:||no action||Verified:||no|
|Deployments affected:||Blocked By:|
currently when installing an image, ofw will create a boot partition and a root partition. the root partition is sized to the filesystem it will contain (at least, that's the end result -- perhaps the partition is resized downward as a last step?).
this may leave much of the disk unpartitioned, e.g., when installing a 4G image on an 8G disk. to be able to take advantage of online resizing (which i believe has become faster), it would be best if the root partition filled all remaining space on the disk, even if the filesystem being installed is much smaller.
(without this initial step, online resize becomes more complicated, since although linux can repartition, it won't use the new size until after a reboot.
see also #10040