mirror of
https://git.proxmox.com/git/grub2
synced 2025-12-25 22:41:56 +00:00
* util/hostdisk.c [__FreeBSD__]: Include sys/disk.h.
(grub_util_biosdisk_open) [__FreeBSD__]: Add support for
FreeBSD. Check if a device is a character device. Use
DIOCGMEDIASIZE to get the size.
(convert_system_partition_to_system_disk) [__FreeBSD__]: Add
support for FreeBSD.
(grub_util_biosdisk_get_grub_dev) [__FreeBSD__]: Check if OS_DEV
is a character device instead of a block device. Add support for
FreeBSD device names.
* util/getroot.c (find_root_device) [__FreeBSD__]: Check if ENT is
a character device instead of a block device.
(grub_util_check_char_device): New function.
* util/grub-probe.c (probe) [__FreeBSD__]: Check if DEVICE_NAME is
a character device instead of a block device.
* include/grub/util/getroot.h (grub_util_check_char_device): New
prototype.
|
||
|---|---|---|
| .. | ||
| elf | ||
| grub.d | ||
| i386 | ||
| ieee1275 | ||
| powerpc/ieee1275 | ||
| console.c | ||
| getroot.c | ||
| grub-dumpbios.in | ||
| grub-editenv.c | ||
| grub-emu.c | ||
| grub-fstest.c | ||
| grub-mkconfig_lib.in | ||
| grub-mkconfig.in | ||
| grub-mkdevicemap.c | ||
| grub-mkfont.c | ||
| grub-pe2elf.c | ||
| grub-probe.c | ||
| hostdisk.c | ||
| hostfs.c | ||
| lvm.c | ||
| misc.c | ||
| raid.c | ||
| resolve.c | ||
| update-grub_lib.in | ||
| usb.c | ||