Re: [PATCH V2] grub-core: modify sector by sysfs as disk sector

2023-02-14 Thread Daniel Kiper
On Thu, Feb 09, 2023 at 04:51:48PM -0600, Glenn Washburn wrote: > On Thu, 9 Feb 2023 13:09:16 +0530 > Mukesh Kumar Chaurasiya wrote: > > > The disk sector size provided by sysfs file system considers the > > sector size of 512 irrespective of disk sector size, Thus > > causing the read by grub to

Re: [PATCH V2] grub-core: modify sector by sysfs as disk sector

2023-02-09 Thread Glenn Washburn
On Thu, 9 Feb 2023 13:09:16 +0530 Mukesh Kumar Chaurasiya wrote: > The disk sector size provided by sysfs file system considers the > sector size of 512 irrespective of disk sector size, Thus > causing the read by grub to an incorrect offset from what was > originally intended. > > Considering

Re: [PATCH V2] grub-core: modify sector by sysfs as disk sector

2023-02-09 Thread Daniel Kiper
On Thu, Feb 09, 2023 at 01:09:16PM +0530, Mukesh Kumar Chaurasiya wrote: > The disk sector size provided by sysfs file system considers the > sector size of 512 irrespective of disk sector size, Thus > causing the read by grub to an incorrect offset from what was > originally intended. > > Consider