grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] linux: use stat instead of udevadm for partition lookup


From: Petr Vorel
Subject: [PATCH v2 0/2] linux: use stat instead of udevadm for partition lookup
Date: Thu, 15 Jul 2021 17:35:26 +0200

Hi,

changes v1->v2:
* remove udevadm fallback from sysfs_partition_path() as we agreed it
  does not bring any advantage over plain stat() call.
* improve comment in major.h
* improve commit message
* adjust comment in configure.ac
* fix code style (spaces)

Jeff Mahoney (1):
  linux/hostdisk: use stat() instead of udevadm for partition lookup

Petr Vorel (1):
  osdep: Introduce major.h and use it

 configure.ac                         |  2 +-
 grub-core/osdep/devmapper/getroot.c  |  7 +---
 grub-core/osdep/devmapper/hostdisk.c |  7 +---
 grub-core/osdep/linux/getroot.c      |  7 +---
 grub-core/osdep/linux/hostdisk.c     | 52 ++++------------------------
 grub-core/osdep/unix/getroot.c       |  7 +---
 include/grub/osdep/major.h           | 30 ++++++++++++++++
 7 files changed, 41 insertions(+), 71 deletions(-)
 create mode 100644 include/grub/osdep/major.h

-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]