* include/grub/disk.h (grub_disk): Remove has_partitions.
All users updated. * disk/loopback.c (grub_loopback): Remove has_partitions. All users updated. (options): Remove partitions. All users updated. * util/grub-fstest.c (fstest): Don't pass "-p" to loopback. * util/i386/pc/grub-setup.c (setup): copy partition table only when actual partition table is found.
This commit is contained in:
parent
3352800b99
commit
94564f81a8
21 changed files with 49 additions and 71 deletions
|
@ -108,10 +108,8 @@ grub_normal_print_device_info (const char *name)
|
|||
grub_errno = GRUB_ERR_NONE;
|
||||
}
|
||||
}
|
||||
else if (! dev->disk->has_partitions || dev->disk->partition)
|
||||
grub_printf ("%s", _("Unknown filesystem"));
|
||||
else
|
||||
grub_printf ("%s", _("Partition table"));
|
||||
grub_printf ("%s", _("Not a known filesystem"));
|
||||
|
||||
if (dev->disk->partition)
|
||||
grub_printf (_(" - Partition start at %u"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue