fdisk - allow media sizes larger then 2TB
commit5ded848a308165f35542fe134d09cb4cd1f50694
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 23 Jun 2009 23:05:51 +0000 (23 16:05 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 23 Jun 2009 23:05:51 +0000 (23 16:05 -0700)
treee9e138f84ddd266a97669d0c844998771446da24
parentfdd0a90c464fd19e834f8cb2b2c9bbbb8ece7e85
fdisk - allow media sizes larger then 2TB

If the media size is larger then 2TB set the 32 bit slice logical
size field, ds_size, to its maximum value of 0xFFFFFFFFU instead of
overflowing the field.
sbin/i386/fdisk/fdisk.c