Petter Reinholdtsen <[EMAIL PROTECTED]> writes:
> OK. Is this a good approximation?
>
> /* Need to define on a per arch basis */
> #if defined(__i386__)
> # define DISK_LABEL "msdos"
> #elif defined(ia64)
> # define DISK_LABEL "msdos"
> #elif defined(hppa)
> # define DISK_LABEL "msdos"
> #elif defined(__mips__) && defined(__MIPSEL__)
> # define DISK_LABEL "msdos"
> #elif defined(__mips__) && defined(__MIPSEB__)
> /* Only supported in libparted 1.6.3? */
> # define DISK_LABEL "mips" /* SGI disklabel */
> #else /* not __i386__ */
> # error "Default DISK_LABEL is not known or not supported on this platform"
> #endif /* not __i386__ */
Alpha needs MSDOS or OSF disklables, depening on the firmware used. So
there needs to be a runtime decision.
--
Falk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]