[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default disk partition table type?



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__ */



Reply to: