[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Partition modules
From: |
Hollis Blanchard |
Subject: |
Re: Partition modules |
Date: |
Wed, 17 Nov 2004 23:09:38 -0600 |
On Nov 17, 2004, at 9:50 PM, Hollis Blanchard wrote:
I'm seeing a crash on both briQ and my G3, so I'm sprinkling printfs
now...
This incremental patch fixes rescue mode "ls" on both systems. I guess
the patch you sent works on Amiga... pffft. :)
-Hollis
--- partmap/apple.c.orig 2004-11-17 22:30:14.731262376 -0600
+++ partmap/apple.c 2004-11-17 22:32:41.988875816 -0600
@@ -86,6 +86,8 @@ struct grub_apple_part
grub_uint16_t pad[187];
};
+static struct grub_partition_map grub_apple_partition_map;
+
#ifndef GRUB_UTIL
static grub_dl_t my_mod;
#endif
@@ -119,6 +121,7 @@ apple_partition_map_iterate (grub_disk_t
part.len = apart.blockcnt;
part.offset = pos;
part.index = partno;
+ part.partmap = &grub_apple_partition_map;
if (hook (&part))
return grub_errno;
--- partmap/pc.c.orig 2004-11-17 22:29:24.891839120 -0600
+++ partmap/pc.c 2004-11-17 22:29:39.966547416 -0600
@@ -25,6 +25,8 @@
#include <grub/misc.h>
#include <grub/dl.h>
+static struct grub_partition_map grub_pc_partition_map;
+
#ifndef GRUB_UTIL
static grub_dl_t my_mod;
#endif
@@ -97,6 +97,7 @@ pc_partition_map_iterate (grub_disk_t di
p.offset = 0;
p.ext_offset = 0;
p.dos_part = -1;
+ p.partmap = &grub_pc_partition_map;
while (1)
{
Re: Partition modules, Yoshinori K. Okuji, 2004/11/18
Re: Partition modules, Timothy Baldwin, 2004/11/22