Hi,
with / on an IDE harddisk the disks partitions do not appear in
devfs, only the disc device. This is due to rescan_partitions
being called twice and deleting but not re-creating the entries
during the second call. Here's the patch:
diff -Nur linux-2.5-unmodified/fs/partitions/check.c linux-2.5/fs/partitions/check.c
--- linux-2.5-unmodified/fs/partitions/check.c Thu Mar 27 13:44:20 2003
+++ linux-2.5/fs/partitions/check.c Fri Mar 28 11:48:21 2003
@@ -262,6 +262,7 @@
p->nr_sects = 0;
p->reads = p->writes = p->read_sectors = p->write_sectors = 0;
devfs_unregister(p->de);
+ p->de = NULL;
kobject_unregister(&p->kobj);
}
Have fun
Andre
This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:32 EST