mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries.Brouwer@cwi.nl
To: Andries.Brouwer@cwi.nl, gtoumi@laposte.net, linux-kernel@vger.kernel.org
Subject: [PATCH] Re: 2.6.0-test1 on alpha : disk label numbering trouble
Date: Mon, 28 Jul 2003 15:15:24 +0200 (MEST)	[thread overview]
Message-ID: <UTC200307281315.h6SDFOY08368.aeb@smtp.cwi.nl> (raw)

	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);

             reply	other threads:[~2003-07-28 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-28 13:15 Andries.Brouwer [this message]
2003-07-28 13:54 ` Ghozlane Toumi
2003-07-28 21:45   ` [PATCH] sgi partitionning fix (Was: 2.6.0-test1 on alpha : disk label numbering trouble) Ghozlane Toumi
2003-07-28 23:09     ` Andries Brouwer
2003-07-29 11:00       ` Ghozlane Toumi

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=UTC200307281315.h6SDFOY08368.aeb@smtp.cwi.nl \
    --to=andries.brouwer@cwi.nl \
    --cc=gtoumi@laposte.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®