Package: util-linux
Version: 2.12r-15
Followup-For: Bug #324525

This is a limit of the MS-DOS partition format. I failed to find a
definitive technical writeup on the topic, but as pointed out here [1]
the size limit of a block device managed by MS-DOS seems to be 2 TiB.

I also read that this is (IIRC!) caused by the sector count only being a 4-Byte
signed integer, but I can't seem to find that URL anymore.

Anyways, all partitioning tools (fdisk, cfdisk, sfdisk) should _AT LEAST_
print a warning when trying to partition a blockdevice exceeding 2 TiB
and should suggest using parted with a GPT-Partition instead of
silently not doing The Right Thing (tm).

Both fdisk and cfdisk seem to overflow a variable, with the result that on a
~3 TB blockdevice only a ~780 GiB partition gets created when trying to
allocate all space.

best regards,
Michael Renner

[1] http://support.microsoft.com/kb/69912

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages util-linux depends on:
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  libncurs 5.5-5                           Shared libraries for terminal hand
ii  libslang 2.0.6-4                         The S-Lang programming library - r
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-1 universally unique id library
ii  lsb-base 3.1-22                          Linux Standard Base 3.1 init scrip
ii  tzdata   2006p-1                         Time Zone and Daylight Saving Time
ii  zlib1g   1:1.2.3-13                      compression library - runtime

util-linux recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to