Re: grub-probe for nested BSD partition on Linux (was: [PATCH 1/1] add --partuuid to probe)

2017-02-28 Thread Lennart Sorensen
On Tue, Feb 28, 2017 at 08:13:53PM +0300, Andrei Borzenkov wrote: > Sorry? vda7 is 256M, how can you suddenly pretend it is 2G? > > 10:~ # fdisk -l /dev/vda > Disk /dev/vda: 5 GiB, 5368709120 bytes, 10485760 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 byte

grub-probe for nested BSD partition on Linux (was: [PATCH 1/1] add --partuuid to probe)

2017-02-28 Thread Andrei Borzenkov
28.02.2017 17:08, Vladimir 'phcoder' Serbinenko пишет: >> >> OK I see, kernel skips BSD partition marked as "unused". >> >> So it appears that kernel always puts special nested partitions after >> normal logical MSDOS partitions, so it will not skew MSDOS partition >> numbers. >> >> [1.529752]

Re: [PATCH 1/1] add --partuuid to probe

2017-02-28 Thread Vladimir 'phcoder' Serbinenko
On Mon, Feb 27, 2017, 20:11 Andrei Borzenkov wrote: > 27.02.2017 21:20, Vladimir 'phcoder' Serbinenko пишет: > > On Mon, Feb 27, 2017, 09:55 Andrei Borzenkov > wrote: > > > >> 27.02.2017 03:37, Vladimir 'phcoder' Serbinenko пишет: > >> ... > >>> This is not NT-style. NT uses partition offset

Re: [PATCH 1/1] add --partuuid to probe

2017-02-27 Thread Andrei Borzenkov
27.02.2017 21:20, Vladimir 'phcoder' Serbinenko пишет: > On Mon, Feb 27, 2017, 09:55 Andrei Borzenkov wrote: > >> 27.02.2017 03:37, Vladimir 'phcoder' Serbinenko пишет: >> ... >>> This is not NT-style. NT uses partition offset. Who uses this format? Are >> >> This is used by util

Re: [PATCH 1/1] add --partuuid to probe

2017-02-27 Thread Vladimir 'phcoder' Serbinenko
On Mon, Feb 27, 2017, 09:55 Andrei Borzenkov wrote: > 27.02.2017 03:37, Vladimir 'phcoder' Serbinenko пишет: > ... > > This is not NT-style. NT uses partition offset. Who uses this format? > >> Are > > This is used by util-linux and Linux kernel. > > > * 6) PART

Re: [PATCH 1/1] add --partuuid to probe

2017-02-27 Thread Andrei Borzenkov
27.02.2017 03:37, Vladimir 'phcoder' Serbinenko пишет: ... > This is not NT-style. NT uses partition offset. Who uses this format? >> Are This is used by util-linux and Linux kernel. * 6) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing >> the *

Re: [PATCH 1/1] add --partuuid to probe

2017-02-26 Thread Vladimir 'phcoder' Serbinenko
On Sat, Feb 18, 2017, 22:13 Andrei Borzenkov wrote: > 15.02.2017 20:25, Vladimir 'phcoder' Serbinenko пишет: > > On Wed, Feb 15, 2017, 17:27 Andrei Borzenkov > wrote: > > > >> 15.02.2017 13:56, Vladimir 'phcoder' Serbinenko пишет: > >>> On Tue, Feb 14, 2017, 19:01 Steve Kenton wrote: > >>> > >>

Re: [PATCH 1/1] add --partuuid to probe

2017-02-18 Thread Andrei Borzenkov
15.02.2017 20:25, Vladimir 'phcoder' Serbinenko пишет: > On Wed, Feb 15, 2017, 17:27 Andrei Borzenkov wrote: > >> 15.02.2017 13:56, Vladimir 'phcoder' Serbinenko пишет: >>> On Tue, Feb 14, 2017, 19:01 Steve Kenton wrote: >>> Support both EFI and NT Disk Signature for passing to kernel as >>

Re: [PATCH 1/1] add --partuuid to probe

2017-02-15 Thread Vladimir 'phcoder' Serbinenko
On Wed, Feb 15, 2017, 17:27 Andrei Borzenkov wrote: > 15.02.2017 13:56, Vladimir 'phcoder' Serbinenko пишет: > > On Tue, Feb 14, 2017, 19:01 Steve Kenton wrote: > > > >> Support both EFI and NT Disk Signature for passing to kernel as > >> root=PARTUUID=$val > >> > >> Signed-off-by: Steve Kenton

Re: [PATCH 1/1] add --partuuid to probe

2017-02-15 Thread Andrei Borzenkov
15.02.2017 13:56, Vladimir 'phcoder' Serbinenko пишет: > On Tue, Feb 14, 2017, 19:01 Steve Kenton wrote: > >> Support both EFI and NT Disk Signature for passing to kernel as >> root=PARTUUID=$val >> >> Signed-off-by: Steve Kenton >> --- >> It's been six months so I thought I'd resend this so it

Re: [PATCH 1/1] add --partuuid to probe

2017-02-15 Thread Vladimir 'phcoder' Serbinenko
On Tue, Feb 14, 2017, 19:01 Steve Kenton wrote: > Support both EFI and NT Disk Signature for passing to kernel as > root=PARTUUID=$val > > Signed-off-by: Steve Kenton > --- > It's been six months so I thought I'd resend this so it does not get lost > in case I get hit by a meteor or something be

Re: [PATCH 1/1] add --partuuid to probe

2017-02-14 Thread Nick Vinson
I'll need to check it against the 2.02 sources, but even if it needs updating, it shouldn't be too hard to do it. I can add your changes to the patchset. -Nick On 02/14/2017 11:39 AM, Steve Kenton wrote: > Nick, > > What is the state of your patch set? I think mine is much smaller if you > want

Re: [PATCH 1/1] add --partuuid to probe

2017-02-14 Thread Steve Kenton
Nick, What is the state of your patch set? I think mine is much smaller if you want to roll it into yours and resubmit. We were told all along to wait until after 2.02, which should to be very soon, so it looks like it's show time! Steve Kenton On 02/14/2017 07:12 PM, Andrei Borzenkov wrot

Re: [PATCH 1/1] add --partuuid to probe

2017-02-14 Thread Andrei Borzenkov
14.02.2017 21:00, Steve Kenton пишет: > Support both EFI and NT Disk Signature for passing to kernel as > root=PARTUUID=$val > Yes, I guess we need to add it finally. Unfortunately it is too late for 2.02, but it should go after in release. There were also patches for grub-probe and we also need

[PATCH 1/1] add --partuuid to probe

2017-02-14 Thread Steve Kenton
Support both EFI and NT Disk Signature for passing to kernel as root=PARTUUID=$val Signed-off-by: Steve Kenton --- It's been six months so I thought I'd resend this so it does not get lost in case I get hit by a meteor or something before the next release grub-core/commands/probe.c | 53 ++

[PATCH 1/1] add --partuuid to probe

2016-08-16 Thread Steve Kenton
Supports both EFI and NT Disk Signature for passing to kernel as root=PARTUUID=$val Signed-off-by: Steve Kenton --- This passed light testing here, giving correct results for both types compared to blkid grub-core/commands/probe.c | 53 ++ 1 file ch