From: Andrey Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: psusi@ubuntu.com
Subject: Re: grub-probe --target=disk not documented
Date: Tue, 25 Mar 2014 19:54:46 +0400 [thread overview]
Message-ID: <20140325195446.75919054@opensuse.site> (raw)
In-Reply-To: <5331A26D.1060008@ubuntu.com>
-----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-----
prev parent reply other threads:[~2014-03-25 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-25 15:36 grub-probe --target=disk not documented Phillip Susi
2014-03-25 15:54 ` Andrey Borzenkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140325195446.75919054@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=psusi@ubuntu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.