Re: gpart and sector size

From: Alexey Tarasov <me_at_lexasoft.ru>
Date: Thu, 8 Apr 2010 18:26:41 +0400
> 1) There is already an ATA command to report both physical and logical
>   sector sizes, but the disk lies - it always reports 512/512.

Advanced Format disks reports 512, but there is another command in ATA standard which can tell us if it uses 4k sector.

> 2) The disk may have already been formatted on a system that doesn't
>   support 4k sectors, and may contain unaligned partitions and file
>   systems, which won't be visible if we forcibly and unconditionally
>   use 4k sectors.

I mean that when I create *NEW* GPT scheme I can set up sector size emulation.
It will never touch existing unaligned partitions.

--
Alexey Tarasov

(\__/) 
(='.'=) 
E[: | | | | :]З 
(")_(")
Received on Thu Apr 08 2010 - 12:26:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC