grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] osdep/linux: convert partition start to disk sector length.


From: Daniel Kiper
Subject: Re: [PATCH] osdep/linux: convert partition start to disk sector length.
Date: Wed, 19 Sep 2018 15:58:56 +0200
User-agent: Mutt/1.3.28i

On Thu, Sep 06, 2018 at 08:02:02PM +0200, Mihai Moldovan wrote:
> * 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.

If there are no more questions or objections I will push this patch next week.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]