mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hiroshi Takekawa <sian@big.or.jp>
To: linux-kernel@vger.kernel.org
Cc: conman@kolivas.net
Subject: Re: devfs on 2.5.34 and invisible partition
Date: Sun, 15 Sep 2002 11:53:48 +0900 (JST)	[thread overview]
Message-ID: <20020915.115348.74604731.sian@big.or.jp> (raw)
In-Reply-To: <1032046397.3d83c73d5b732@kolivas.net>


> My /dev/hda7 (ide/host0/bus0/target0/lun0/part7) was rendered invisible with
> devfs enabled in 2.5.34.
> Disabling devfs made it visible again.

Is /dev/hda7 the last partition of /dev/hda? Then apply this to
check.c in linux/fs/partitions/.

--- check.c~	Tue Sep 10 19:34:55 2002
+++ check.c	Wed Sep 11 19:55:29 2002
@@ -327,7 +327,7 @@
 	devfs_auto_unregister(dev->disk_de, slave);
 	if (!(dev->flags & GENHD_FL_DEVFS))
 		devfs_auto_unregister (slave, dir);
-	for (part = 1, p++; part < max_p; part++, p++)
+	for (part = 1; part < max_p; part++, p++)
 		if (p->nr_sects)
 			devfs_register_partition(dev, part);
 #endif

      reply	other threads:[~2002-09-15  2:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14 23:33 Con Kolivas
2002-09-15  2:53 ` Hiroshi Takekawa [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=20020915.115348.74604731.sian@big.or.jp \
    --to=sian@big.or.jp \
    --cc=conman@kolivas.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®