]> git.ipfire.org Git - thirdparty/grub.git/commit
osdep/hurd/getroot: Use "part:" qualifier
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 25 May 2022 22:58:21 +0000 (00:58 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 7 Jun 2022 11:31:33 +0000 (13:31 +0200)
commite981b0a248ba62683ff574863656d7b0aae7fa12
tree78931d23c2a0dfe073eeed865d65ef779919efd0
parentd46e65328ec7ca660063f623283be0874c7321e9
osdep/hurd/getroot: Use "part:" qualifier

When using userland drivers such as rumpdisk, we'd rather make ext2fs use
parted-based libstore partitioning support. That can be used for kernelland
drivers as well, so we can just make GRUB always use the "part:" qualifier
to switch ext2fs to it.

grub_util_find_hurd_root_device() then has to understand this syntax and
translate it into the /dev/ entry name.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/osdep/hurd/getroot.c
util/grub.d/10_hurd.in