lkml.org 
[lkml]   [2002]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Re: Missing IDE partition 3 of 3 on 2.5.34?


On Tue, 10 Sep 2002, Helge Hafting wrote:

> I see the same thing. Both of my IDE drives comes up without
> the last partition. (Missing ide/host0/bus0/target0/lun0/part3
> and ide/host0/bus1/target0/lun0/part7, loosing /usr and /usr/src
> in my case.)
>
> There's lots of updates in code that deals with partitions
> and devfs, I couldn't find anything obvious wrong though.

devfs side. Fix:

--- C34/fs/partitions/check.c Mon Sep 9 20:39:52 2002
+++ /tmp/check.c Tue Sep 10 09:39:47 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
-
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:28    [W:0.065 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site