Re: GPT attributes in dkwedge [PATCH]

2023-09-18 Thread Michael van Elst
a...@absd.org (David Brownlee) writes: >Our gpt(8) states "bootme flag is used to indicate which partition >should be booted by UEFI boot code", which could be read either way. The flag is used to find the partition to load /boot, /boot.cfg or the kernel from. The boot disk information is also

Re: GPT attributes in dkwedge [PATCH]

2023-09-18 Thread David Brownlee
On Mon, 18 Sept 2023 at 18:21, Martin Husemann wrote: > > On Mon, Sep 18, 2023 at 06:14:58PM +0100, David Brownlee wrote: > > Specifically in the absence of any other information (empty devname? > > etc), would it not be reasonable to fall back to the bootme marked > > filesystem as a root

Re: GPT attributes in dkwedge [PATCH]

2023-09-18 Thread Martin Husemann
On Mon, Sep 18, 2023 at 06:14:58PM +0100, David Brownlee wrote: > Specifically in the absence of any other information (empty devname? > etc), would it not be reasonable to fall back to the bootme marked > filesystem as a root filesystem candidate? I'm thinking about > minimally configured disks

Re: GPT attributes in dkwedge [PATCH]

2023-09-18 Thread David Brownlee
On Sun, 17 Sept 2023 at 23:25, Robert Elz wrote: > [...] > > That is what you MUST NOT do, BOOTME has nothing whatever to do > with what is root. That's the part that must be done some other way. > > (The bit where the flag was copied into the wedge info was just a > layer violation, and easy