linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* devfs on 2.5.34 and invisible partition
@ 2002-09-14 23:33 Con Kolivas
  2002-09-15  2:53 ` Hiroshi Takekawa
  0 siblings, 1 reply; 2+ messages in thread
From: Con Kolivas @ 2002-09-14 23:33 UTC (permalink / raw)
  To: linux-kernel



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.

Con.

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

* Re: devfs on 2.5.34 and invisible partition
  2002-09-14 23:33 devfs on 2.5.34 and invisible partition Con Kolivas
@ 2002-09-15  2:53 ` Hiroshi Takekawa
  0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi Takekawa @ 2002-09-15  2:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: conman


> 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

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

end of thread, other threads:[~2002-09-15  2:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-14 23:33 devfs on 2.5.34 and invisible partition Con Kolivas
2002-09-15  2:53 ` Hiroshi Takekawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).