On Monday 31 August 2009 10:45, Mike Frysinger wrote:
> using util-linux's fdisk on a 3 TiB disk shows:
> WARNING: The size of this disk is 3.0 TB (3000613662720 bytes).
> DOS partition table format can not be used on drives for volumes larger than 
> (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID partition 
> table format (GPT).
> 
> busybox's fdisk however doesnt have such a check/notice ... we should 
> probably 
> add it though.

Hmm. Can you strace util-linux's fdisk? What ioctl is it using?
I'd expect most _methods_ of determining block device size
would fail trying to report such a huge number.

Perhaps an insane idea of using floating point for this is not
totally insane after all... one day molecular/atomic storage may
overshoot even 128-bit integers 8)
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to