Robert Millan <[EMAIL PROTECTED]> wrote:

Hi,

> When a gpt partition is bigger than it can be represented in msdos label,
> gptsync will truncate it and just issue a warning.  I think truncating a
> partition is _very wrong_ as it typicaly contains a filesystem and truncating
> that is likely to result in data corruption!

Considering that whatever OS you happen to use on the machine should
exclusively trust the GPT and nothing else, I don't agree with you
here.

> gptsync/gptsync.c:                Print(L"Warning: Partition %d extends 
> beyond 2 TiB limit\n", i+1);
>
> IMHO it should never do this unless user explicitly requested it, if at all.
> Simply excluding the partition looks like the safest bet.

However, I think a > 2 TB partition can be ignored as, anyway:
 - it's unlikely you're installing your bootloader on it
 - even if you were to install the bootloader on it, that would
   probably fail :-) (can lilo or grub handle 2 TB partition with the
   stage2 files well into the partition?)


Did you run into this problem or were you just reading the code?

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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

Reply via email to