mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
* grub-core/kern/emu/hostdisk.c: Disentagle into a series of OS-specific
files rather than one file with loads of #if's. * util/getroot.c: Likewise.
This commit is contained in:
1 parent
287faafe8d
commit
3ff4063dd3
30 files changed
+4039
-2364
No files matched your search
@@ -20,14 +20,10 @@
|
||||
#ifndef GRUB_LVM_UTIL_HEADER
|
||||
#define GRUB_LVM_UTIL_HEADER 1
|
||||
|
||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
|
||||
#ifdef __linux__
|
||||
#define LVM_DEV_MAPPER_STRING "/dev/mapper/"
|
||||
#else
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
#define LVM_DEV_MAPPER_STRING "/dev/linux_lvm/"
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define LVM_DEV_MAPPER_STRING "/dev/mapper/"
|
||||
#endif
|
||||
|
||||
#endif /* ! GRUB_RAID_UTIL_HEADER */
|
||||
Reference in new issue
Block a user