[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 33/37] btrfs: grub2-btrfs-06-subvol-mount
From: |
Neal Gompa |
Subject: |
Re: [PATCH v1 33/37] btrfs: grub2-btrfs-06-subvol-mount |
Date: |
Tue, 15 Oct 2024 13:08:11 -0400 |
On Tue, Oct 8, 2024 at 2:59 AM Michael Chang via Grub-devel
<grub-devel@gnu.org> wrote:
>
> On Mon, Oct 07, 2024 at 09:40:40PM GMT, Vladimir 'phcoder' Serbinenko wrote:
> > What do you try to achieve with this that can't be achieved with using full
> > path? We should avoid using hidden state for directory parsing. Solaris
> > GRUB legacy used it for ZFS and it was a mess.
>
> If a path is relative to the default subvolume, it cannot access files
> outside of the default subvolume tree. This patch enables access to
> files in other subvolumes by mounting them to a specific directory
>
This is incredibly useful functionality, especially if you have a
non-hierarchical subvolume setup (sometimes called a flat setup) like
Fedora and a few other distributions do. If you want snapshots to
exist outside of the root subvolume or default subvolume, then this
patch is needed or you cannot access them properly for boot to
snapshot.
--
真実はいつも一つ!/ Always, there's only one truth!
- Re: [PATCH v1 22/37] bootp: New net_bootp6 command, (continued)
- [PATCH v1 23/37] grub-get-kernel-settings.in: Add grub-get-kernel-settings and use it in 10_linux, Leo Sandoval, 2024/10/07
- [PATCH v1 24/37] backtrace: Make grub_fatal() also backtrace, Leo Sandoval, 2024/10/07
- [PATCH v1 30/37] btrfs: grub2-btrfs-03-follow_default, Leo Sandoval, 2024/10/07
- [PATCH v1 27/37] btrfs: Add ability to boot from subvolumes, Leo Sandoval, 2024/10/07
- [PATCH v1 33/37] btrfs: grub2-btrfs-06-subvol-mount, Leo Sandoval, 2024/10/07
- [PATCH v1 19/37] grub-set-password.in: Add friendly grub2 password config tool (#985962), Leo Sandoval, 2024/10/07
- [PATCH v1 26/37] 30_os-prober.in: just build chainloader entries, don't try any xnu xnu., Leo Sandoval, 2024/10/07
- [PATCH v1 25/37] grub.texi: Make our info pages say "grub2" where appropriate., Leo Sandoval, 2024/10/07
- [PATCH v1 28/37] btrfs: fix a bad null check, Leo Sandoval, 2024/10/07
- [PATCH v1 37/37] chainloader: Use grub_efi_...() memory helpers where reasonable., Leo Sandoval, 2024/10/07