[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BTRFS RAID 1
From: |
Opty |
Subject: |
Re: BTRFS RAID 1 |
Date: |
Wed, 14 Aug 2024 17:56:10 +0200 |
...which failed again so just a normal diff:
122a123,124
> local -A insmod
>
127a130,133
> if [ "${insmod[$module]}" ]; then
> continue
> fi
>
133a140,141
>
> insmod[$module]=1
138a147,150
> if [ "${insmod[$module]}" ]; then
> continue
> fi
>
139a152,153
>
> insmod[$module]=1
157c171
< echo "set root='$fs_hint'"
---
> echo "set root='`head -1 <<< $fs_hint`'"
Sorry for the noise.
Regards,
Opty
On Wed, Aug 14, 2024 at 5:41 PM Opty <opty77@gmail.com> wrote:
> Another attempt with correct newlines:
>
> [...]
>
> On Wed, Aug 14, 2024 at 5:22 PM Opty <opty77@gmail.com> wrote:
> > I need to move on so quick and dirty hacks again:
> >
> > [...]
> >
> > Unfortunately Gmail web UI converts tabs to spaces so beware.
> >
> > On Fri, Aug 9, 2024 at 4:50 PM Opty <opty77@gmail.com> wrote:
> > > Oh right, I probably found the grub.cfg-breaking culprit:
> > >
> > > https://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkconfig_lib.in?h=grub-2.12#n157
> > >
> > > $fs_hint contains newline when using encrypted BTRFS RAID1.