jmallett 3cb4d3eea8 Fix fdisk(8) to create 2TB partitions on disks larger than 2TB, rather than
only being able to create 1TB partitions:
o) Use an unsigned 32-bit quantity to store the number of disk sectors.
o) Detect overflow of said 32-bit quantity and clamp to 2^32.
o) Rather than returning the disk sector count from get_params, return 0 on
   success, since its return value is only ever compared to -1 to detect
   failure.  This would cause returning 2^32 sectors to be interpreted as an
   error.

Reviewed by:	bde ("good for a quick fix")
2013-11-27 17:59:13 +00:00
..
2013-07-28 18:44:17 +00:00
2012-11-29 05:16:50 +00:00
2013-10-24 00:33:29 +00:00
2013-10-01 18:41:53 +00:00
2013-11-25 23:45:50 +00:00
2013-11-03 19:02:18 +00:00
2013-11-05 14:11:31 +00:00
2013-09-06 23:11:19 +00:00
2013-04-11 18:46:41 +00:00
2013-10-26 18:23:43 +00:00
2013-07-18 05:46:33 +00:00
2013-11-22 20:13:32 +00:00
2013-01-01 18:28:21 +00:00
2013-05-08 21:04:19 +00:00
2013-05-13 18:13:50 +00:00
2013-03-19 21:40:14 +00:00
2013-05-16 21:04:56 +00:00
2012-11-15 15:06:21 +00:00