-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 В Tue, 25 Mar 2014 11:36:13 -0400 Phillip Susi <[email protected]> пишет:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I noticed that --target=disk is not mentioned in either the grub-probe > man page, nor --help. > It is in current master (man page is autogenerated from --help output). > Also I noticed that it gives no output, or error for lvm disks: > > grub-probe --target=disk / > #no output or error > grub-probe --target=device / > /dev/mapper/devserv-root > grub-probe --target=disk -d /dev/mapper/devserv-root > #no output or error > grub-probe --target=disk -d /dev/mapper/md0 > /dev/md0 > > Why does it appear to give the same output as --target=device when run > on md or sd devices, then nothing for lvm? > There was quite a number of changes in master related to device-mapper handling so I suggest you retest using current HEAD. bor@opensuse:~/build/grub> sudo ./grub-probe --target disk --device /dev/mapper/system-root /dev/mapper/system-root bor@opensuse:~/build/grub> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlMxpsYACgkQR6LMutpd94wiIQCgwKcGcoP9fWlnIEzBX++4IXp5 jEwAn2jZfJlvibUN1q94sSYOHroQXg+Y =v7lH -----END PGP SIGNATURE----- _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
