lkml.org 
[lkml]   [2003]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] Re: 2.6.0-test1 on alpha : disk label numbering trouble
	From: "Ghozlane Toumi" <gtoumi@laposte.net>

> > I'm trying to run 2.6.0-test1 on an alpha box,
> > and apparently, the osf partition numbering is wrong:

2.4:
sda: sda3 sda4 sda5

2.6:
sda: sda1 sda2 sda3

OK, I see what happened - viro changed things a little,
maybe by mistake.

I suppose the below will give you your original numbering again.
(Please confirm.)

Andries

--- osf.c~ Wed Mar 5 04:29:32 2003
+++ osf.c Mon Jul 28 16:13:03 2003
@@ -67,9 +67,10 @@
if (slot == state->limit)
break;
if (le32_to_cpu(partition->p_size))
- put_partition(state, slot++,
+ put_partition(state, slot,
le32_to_cpu(partition->p_offset),
le32_to_cpu(partition->p_size));
+ slot++;
}
printk("\n");
put_dev_sector(sect);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.048 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site