Start with a default fragsize of 2048, double it for large disks and then cap
authorotto <otto@openbsd.org>
Fri, 19 Aug 2016 08:06:25 +0000 (08:06 +0000)
committerotto <otto@openbsd.org>
Fri, 19 Aug 2016 08:06:25 +0000 (08:06 +0000)
commit2701b421aa0569f10556efc6edb62666e86708c5
treed752df92ceebe15a981eb0c20ac9921941015c76
parentef3eafc068e6d823ab11de365396c57e39b87e3d
Start with a default fragsize of 2048, double it for large disks and then cap
based on sector size. This avoid too large fragments on 4k disks. Problem
noted by David Vasek; ok krw@
sbin/disklabel/editor.c