Skip to contentSkip to conversation

: grub: Add Sun partition support to grub-probe and grub-fstest.

PATCH In review David Miller 5 participants 8 messages Apr 13, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : grub: Add Sun partition support to grub-probe and grub-fstest.

Should be self-explanatory, these tools will be used on sparc64 just like they are on i386-pc

2009-04-12 David S. Miller <[email protected]>

* conf/common.rmk (grub_probe_SOURCES): Add Sun partition module. (grub_fstest_SOURCES): Likewise.

---
 conf/common.rmk |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
conf/common.rmk +3 -2
index b0a78b0..185779c 100644
@@ -19,7 +19,7 @@ grub_probe_SOURCES = util/grub-probe.c	\
 	fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c		\
 	fs/ufs.c fs/xfs.c fs/afs.c fs/tar.c			\
 	\
-	partmap/pc.c partmap/apple.c partmap/gpt.c 		\
+	partmap/pc.c partmap/apple.c partmap/sun.c partmap/gpt.c\
 	kern/fs.c kern/env.c fs/fshelp.c			\
 	disk/raid.c disk/mdraid_linux.c disk/lvm.c grub_probe_init.c
 
@@ -40,7 +40,8 @@ grub_fstest_SOURCES = util/grub-fstest.c util/hostfs.c util/misc.c 	\
 	fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c			\
 	fs/ufs.c fs/xfs.c fs/afs.c fs/tar.c				\
 	\
-	kern/partition.c partmap/pc.c partmap/apple.c partmap/gpt.c 	\
+	kern/partition.c partmap/pc.c partmap/apple.c partmap/sun.c	\
+	partmap/gpt.c							\
 	kern/fs.c kern/env.c fs/fshelp.c disk/raid.c			\
 	disk/raid5_recover.c disk/raid6_recover.c 			\
 	disk/mdraid_linux.c disk/dmraid_nvidia.c disk/lvm.c 		\
Signature · 1 line
1.6.2.3
#1 lore raw

Hello

When you mention 'Sun Partition' what file-system are you specifying?

ZFS?
UFS?

Quoted 45 lines · David Miller

Should be self-explanatory, these tools will be used on sparc64 just like they are on i386-pc

2009-04-12  David S. Miller  <[email protected]>

       * conf/common.rmk (grub_probe_SOURCES): Add Sun partition module. (grub_fstest_SOURCES): Likewise.
---
 conf/common.rmk |    5 +++--

 1 files changed, 3 insertions(+), 2 deletions(-)
conf/common.rmk +1 -1
index b0a78b0..185779c 100644
@@ -19,7 +19,7 @@ grub_probe_SOURCES = util/grub-probe.c        \
        fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c          \
        fs/ufs.c fs/xfs.c fs/afs.c fs/tar.c                     \
        \
-       partmap/pc.c partmap/apple.c partmap/gpt.c              \
+       partmap/pc.c partmap/apple.c partmap/sun.c partmap/gpt.c\
        kern/fs.c kern/env.c fs/fshelp.c                        \

       disk/raid.c disk/mdraid_linux.c disk/lvm.c grub_probe_init.c

conf/common.rmk +2 -2
@@ -40,7 +40,8 @@ grub_fstest_SOURCES = util/grub-fstest.c util/hostfs.c util/misc.c    \
        fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c                  \
        fs/ufs.c fs/xfs.c fs/afs.c fs/tar.c                             \
        \
-       kern/partition.c partmap/pc.c partmap/apple.c partmap/gpt.c     \
+       kern/partition.c partmap/pc.c partmap/apple.c partmap/sun.c     \
+       partmap/gpt.c                                                   \
        kern/fs.c kern/env.c fs/fshelp.c disk/raid.c                    \
        disk/raid5_recover.c disk/raid6_recover.c                       \
        disk/mdraid_linux.c disk/dmraid_nvidia.c disk/lvm.c             \
--

1.6.2.3

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw

Am Montag, den 13.04.2009, 17:40 +1000 schrieb Chip Panarchy:

Quoted 7 lines

Hello

When you mention 'Sun Partition' what file-system are you specifying?

ZFS?
UFS?

He surely meant Sun partition table format and not a filesystem. Grub2 doestn't support ZFS
Sun seems to have it's own partition table format just like pc (or msdos) /gpt/apple/amiga/acorn which grub2 supports.

Signature · 1 line
Felix Zielcke
#3 lore raw

Ah, I see.

Oh, thanks for clearing that up also, David.

Well, I'll make another topic soon, once I've gotten FreeBSDs 64-bit kernel to boot directly from GRUB2, requesting support for ZFS.

Thanks,

Panarchy

Quoted 23 lines · Felix Zielcke

Am Montag, den 13.04.2009, 17:40 +1000 schrieb Chip Panarchy:

Quoted 7 lines

Hello

When you mention 'Sun Partition' what file-system are you specifying?

ZFS?
UFS?

He surely meant Sun partition table format and not a filesystem. Grub2 doestn't support ZFS
Sun seems to have it's own partition table format just like pc (or msdos) /gpt/apple/amiga/acorn which grub2 supports.
--
Felix Zielcke

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#4 lore raw

Please don't start developement of grub-zfs because I'm already doing some stuff on it. It would be pity to duplicate the work

Quoted 40 lines · Chip Panarchy

Ah, I see.

Oh, thanks for clearing that up also, David.

Well, I'll make another topic soon, once I've gotten FreeBSDs 64-bit kernel to boot directly from GRUB2, requesting support for ZFS.

Thanks,

Panarchy

Quoted 17 lines · Felix Zielcke

Am Montag, den 13.04.2009, 17:40 +1000 schrieb Chip Panarchy:

Quoted 7 lines

Hello

When you mention 'Sun Partition' what file-system are you specifying?

ZFS?
UFS?

He surely meant Sun partition table format and not a filesystem. Grub2 doestn't support ZFS
Sun seems to have it's own partition table format just like pc (or msdos) /gpt/apple/amiga/acorn which grub2 supports.
--
Felix Zielcke

Quoted 5 lines

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'phcoder' Serbinenko
#5 lore raw
In reply to Chip Panarchy

From: Chip Panarchy <[email protected]>
Date: Mon, 13 Apr 2009 17:40:22 +1000

Quoted 6 lines

Hello

When you mention 'Sun Partition' what file-system are you specifying?

ZFS?
UFS?

EXT3, but the sun "partition" support has to be there for grub tools to even get at the filesystems at all.

#6 lore raw
In reply to David Miller
Quoted 2 lines · David Miller

Should be self-explanatory, these tools will be used on sparc64 just like they are on i386-pc

Fine with me.

Signature · 2 lines
Regards,
Pavel Roskin
#7 lore raw

From: Pavel Roskin <[email protected]>
Date: Mon, 13 Apr 2009 08:51:36 -0400

Quoted 5 lines · David Miller
Quoted 2 lines

Should be self-explanatory, these tools will be used on sparc64 just like they are on i386-pc

Fine with me.

Thanks for reviewing, committed.