* grub-probe --target=disk not documented
@ 2014-03-25 15:36 Phillip Susi
2014-03-25 15:54 ` Andrey Borzenkov
0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2014-03-25 15:36 UTC (permalink / raw)
To: The development of GNU GRUB
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I noticed that --target=disk is not mentioned in either the grub-probe
man page, nor --help.
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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTMaJtAAoJEI5FoCIzSKrwDmsIAI5DNbE1q4WHSD9oKo0akmx2
FWzmt3cTTBhbwXRASwATtlf7RKtf21rJUfjN5OHEjy4lndss7OZahqv52Par3LJZ
Jkw6dLCu4VoOETfK8pdo+OBBPtLyBFCTSWwDHvswtPMCPUhtVV3kQNnCLmrETNc8
iv/LAMoJiUGC0kkRXB+6fHjoBh5dohZ8M8gkqLMXKdhFsa2NEch6QYDdpAA41jvs
az2sNmcYYmXbrUP3PjE+GYDCLEHH22GDcaiSL/gTcXFSRXsIvdwRg6eM5NGq6SBY
crVRDlry44OepYCRVcyZ4kBo1dDYipKWntqUCww5iLq/YNAAbDBirp8g4tpiVqw=
=ald9
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: grub-probe --target=disk not documented
2014-03-25 15:36 grub-probe --target=disk not documented Phillip Susi
@ 2014-03-25 15:54 ` Andrey Borzenkov
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Borzenkov @ 2014-03-25 15:54 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: psusi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Tue, 25 Mar 2014 11:36:13 -0400
Phillip Susi <psusi@ubuntu.com> пишет:
> -----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-25 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-25 15:36 grub-probe --target=disk not documented Phillip Susi
2014-03-25 15:54 ` Andrey Borzenkov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.