[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-probe --target=disk not documented
From: |
Andrey Borzenkov |
Subject: |
Re: grub-probe --target=disk not documented |
Date: |
Tue, 25 Mar 2014 19:54:46 +0400 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Tue, 25 Mar 2014 11:36:13 -0400
Phillip Susi <address@hidden> пишет:
> -----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.
address@hidden:~/build/grub> sudo ./grub-probe --target disk --device
/dev/mapper/system-root
/dev/mapper/system-root
address@hidden:~/build/grub>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlMxpsYACgkQR6LMutpd94wiIQCgwKcGcoP9fWlnIEzBX++4IXp5
jEwAn2jZfJlvibUN1q94sSYOHroQXg+Y
=v7lH
-----END PGP SIGNATURE-----