Hi,

This patch fixes the partition detection in GNUMach 1.x.  Now an error
is displayed when there is an extended partition on the harddrive.
See bug #6378 on savannah for details.

Roland, do you remember this thread?:

http://lists.debian.org/debian-hurd/2001/debian-hurd-200105/threads.html#00300

With autoconf 2.57 it is not possible anymore to make a working
configure.  Can you please update aclocal.m4 and configure.in or tell
me what needs to be done?

Thanks,
Marco


2004-01-19  Marco Gerards  <[EMAIL PROTECTED]>

        * linux/dev/glue/block.c (init_partition): Don't check for BSD
        partitions if the DOS partition is too small.

Index: linux/dev/glue/block.c
===================================================================
RCS file: /cvsroot/hurd/gnumach/linux/dev/glue/Attic/block.c,v
retrieving revision 1.8.2.1
diff -u -p -r1.8.2.1 block.c
--- linux/dev/glue/block.c      16 Jan 2004 22:36:52 -0000      1.8.2.1
+++ linux/dev/glue/block.c      19 Jan 2004 00:22:07 -0000
@@ -961,7 +961,7 @@ init_partition (struct name_map *np, kde
       if (ds->fops->open && (*ds->fops->open) (&d->inode, &d->file))
        continue;
       lp = read_bsd_label (d->inode.i_rdev);
-      if (! lp)
+      if (! lp && gd->part[MINOR (d->inode.i_rdev)].nr_sects > PDLOCATION)
        lp = read_vtoc (d->inode.i_rdev);
       if (ds->fops->release)
        (*ds->fops->release) (&d->inode, &d->file);



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to