On Mon, Jan 19, 2004 at 01:32:32AM +0100, Marco Gerards wrote: > 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.
So with this patch the annoying error message is no longer displayed? Jim > 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