Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: What does ofwboot.xcf know?
At 13:13 Uhr +0900 24.2.2008, Izumi Tsutsui wrote:
>hauke%Espresso.Rhein-Neckar.DE@localhost wrote:
>
>> What file systems does it handle?
>
>fs_ops defined sys/arch/macppc/stand/ofwboot/ofdev.c:devopen()?
libsa seems to handle {l,f}fsv{1,2} under the moniker of ufs?
I tried
[hauke@henkelmann] /<5>stand/ofwboot > cvs diff -u ofdev.c
Index: ofdev.c
===================================================================
RCS file: /cvsroot/src/sys/arch/macppc/stand/ofwboot/ofdev.c,v
retrieving revision 1.19
diff -u -p -u -r1.19 ofdev.c
--- ofdev.c 24 May 2006 21:24:25 -0000 1.19
+++ ofdev.c 24 Feb 2008 12:12:05 -0000
@@ -45,9 +45,12 @@
#include <lib/libkern/libkern.h>
+#define LIBSA_LFS 1
+
#include <lib/libsa/stand.h>
#include <lib/libsa/byteorder.h>
#include <lib/libsa/cd9660.h>
+#include <lib/libsa/lfs.h>
#include <lib/libsa/nfs.h>
#include <lib/libsa/ufs.h>
#include <lib/libsa/ustarfs.h>
but it made no difference. Does the MacOS partition type come into this?
I.e., does ofwboot / libsa fake a disklabel (and assume A/UX root == ffs),
or just look at the partition's file system?
Btw, macppc/stand doesn't build with 'USETOOLS=no':
[hauke@henkelmann] /<5>stand/ofwboot > cvs diff -u Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/src/sys/arch/macppc/stand/ofwboot/Makefile,v
retrieving revision 1.45
diff -u -p -u -r1.45 Makefile
--- Makefile 11 Dec 2005 12:18:06 -0000 1.45
+++ Makefile 24 Feb 2008 12:08:27 -0000
@@ -34,7 +34,7 @@ BINMODE= 444
.if !defined(TOOL_MACPPCFIXCOFF)
TOOL_MACPPCFIXCOFFDIR!= cd ${.CURDIR}/../fixcoff && ${PRINTOBJDIR}
-TOOL_MACPPCFIXCOFF= ${FIXCOFFDIR}/fixcoff
+TOOL_MACPPCFIXCOFF= ${TOOL_MACPPCFIXCOFFDIR}/fixcoff
.endif
.endif
-- the ".if !defined(FIXCOFF)" above that smells funny, too.
hauke
--
"It's never straight up and down" (DEVO)
Home |
Main Index |
Thread Index |
Old Index