[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] osdep/linux: convert partition start to disk sector length.
From: |
Mihai Moldovan |
Subject: |
Re: [PATCH] osdep/linux: convert partition start to disk sector length. |
Date: |
Thu, 6 Sep 2018 20:02:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
* On 09/06/2018 07:36 PM, Vladimir 'phcoder' Serbinenko wrote:
> Grub partition get start returns in 512B blocks. Can I have more details like
> which partmap you use?
Yes, but this is a low-level function that expects sector sizes in HW sector
addressing mode.
Note that the whole sector conversion magic was already done by grub_disk_read()
and friends which then calls the fd_open() function.
Encountered the issue with a GPT-partitioned, 4096-bytes-sector-size disk.
Mihai
signature.asc
Description: OpenPGP digital signature