public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libblkid: add missing promise raid metadata locations
@ 2013-01-02 16:40 Phillip Susi
  2013-01-09 13:46 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2013-01-02 16:40 UTC (permalink / raw)
  To: util-linux; +Cc: Phillip Susi

There are some additional locations where dmraid can find
and use pdc raid metadata that libblkid was not checking.
---
 libblkid/src/superblocks/promise_raid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libblkid/src/superblocks/promise_raid.c b/libblkid/src/superblocks/promise_raid.c
index 221146d..01e4e37 100644
--- a/libblkid/src/superblocks/promise_raid.c
+++ b/libblkid/src/superblocks/promise_raid.c
@@ -29,7 +29,7 @@ static int probe_pdcraid(blkid_probe pr,
 {
 	unsigned int i;
 	static unsigned int sectors[] = {
-		63, 255, 256, 16, 399, 0
+	  63, 255, 256, 16, 399, 591, 675, 735, 911, 974, 991, 951, 3087, 0
 	};
 
 	if (pr->size < 0x40000)
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libblkid: add missing promise raid metadata locations
  2013-01-02 16:40 [PATCH] libblkid: add missing promise raid metadata locations Phillip Susi
@ 2013-01-09 13:46 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-01-09 13:46 UTC (permalink / raw)
  To: Phillip Susi; +Cc: util-linux

On Wed, Jan 02, 2013 at 11:40:46AM -0500, Phillip Susi wrote:
>  libblkid/src/superblocks/promise_raid.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-09 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 16:40 [PATCH] libblkid: add missing promise raid metadata locations Phillip Susi
2013-01-09 13:46 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox