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 16:00:58 +0200
User-agent: Mutt/1.3.28i

On Wed, Sep 19, 2018 at 03:58:56PM +0200, Daniel Kiper wrote:
> 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.

Err... Of course v2.

Daniel



reply via email to

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