Print this page
ba_path->module + lost file


  32 
  33 #include <libnvpair.h>
  34 #include <libzfs.h>
  35 #include <instzones_api.h>
  36 
  37 #ifdef __cplusplus
  38 extern "C" {
  39 #endif
  40 
  41 #define ARCH_LENGTH             MAXNAMELEN
  42 #define BE_AUTO_NAME_MAX_TRY    3
  43 #define BE_AUTO_NAME_DELIM      '-'
  44 #define BE_DEFAULTS             "/etc/default/be"
  45 #define BE_DFLT_BENAME_STARTS   "BENAME_STARTS_WITH="
  46 #define BE_CONTAINER_DS_NAME    "ROOT"
  47 #define BE_DEFAULT_CONSOLE      "text"
  48 #define BE_POLICY_PROPERTY      "org.opensolaris.libbe:policy"
  49 #define BE_UUID_PROPERTY        "org.opensolaris.libbe:uuid"
  50 #define BE_PLCY_STATIC          "static"
  51 #define BE_PLCY_VOLATILE        "volatile"
  52 #define BE_GRUB_MENU            "/boot/grub/menu.lst"
  53 #define BE_SPARC_MENU           "/boot/menu.lst"
  54 #define BE_GRUB_COMMENT         "#============ End of LIBBE entry ============="
  55 #define BE_GRUB_SPLASH          "splashimage /boot/solaris.xpm"
  56 #define BE_GRUB_FOREGROUND      "foreground 343434"
  57 #define BE_GRUB_BACKGROUND      "background F7FBFF"
  58 #define BE_GRUB_DEFAULT         "default 0"
  59 #define BE_WHITE_SPACE          " \t\r\n"
  60 #define BE_CAP_FILE             "/boot/grub/capability"
  61 #define BE_INSTALL_GRUB         "/sbin/installgrub"
  62 #define BE_STAGE_1              "/boot/grub/stage1"
  63 #define BE_STAGE_2              "/boot/grub/stage2"
  64 #define ZFS_CLOSE(_zhp) \
  65         if (_zhp) { \
  66                 zfs_close(_zhp); \
  67                 _zhp = NULL; \
  68         }
  69 
  70 #define BE_ZONE_PARENTBE_PROPERTY       "org.opensolaris.libbe:parentbe"
  71 #define BE_ZONE_ACTIVE_PROPERTY         "org.opensolaris.libbe:active"
  72 #define BE_ZONE_SUPPORTED_BRANDS        "ipkg labeled"




  32 
  33 #include <libnvpair.h>
  34 #include <libzfs.h>
  35 #include <instzones_api.h>
  36 
  37 #ifdef __cplusplus
  38 extern "C" {
  39 #endif
  40 
  41 #define ARCH_LENGTH             MAXNAMELEN
  42 #define BE_AUTO_NAME_MAX_TRY    3
  43 #define BE_AUTO_NAME_DELIM      '-'
  44 #define BE_DEFAULTS             "/etc/default/be"
  45 #define BE_DFLT_BENAME_STARTS   "BENAME_STARTS_WITH="
  46 #define BE_CONTAINER_DS_NAME    "ROOT"
  47 #define BE_DEFAULT_CONSOLE      "text"
  48 #define BE_POLICY_PROPERTY      "org.opensolaris.libbe:policy"
  49 #define BE_UUID_PROPERTY        "org.opensolaris.libbe:uuid"
  50 #define BE_PLCY_STATIC          "static"
  51 #define BE_PLCY_VOLATILE        "volatile"
  52 #define BE_GRUB_MENU            "/boot/illumos.cfg"
  53 #define BE_SPARC_MENU           "/boot/menu.lst"
  54 #define BE_GRUB_COMMENT         "#============ End of LIBBE entry ============="
  55 #define BE_GRUB_SPLASH          "splashimage /boot/solaris.xpm"
  56 #define BE_GRUB_FOREGROUND      "foreground 343434"
  57 #define BE_GRUB_BACKGROUND      "background F7FBFF"
  58 #define BE_GRUB_DEFAULT         "default 0"
  59 #define BE_WHITE_SPACE          " \t\r\n"
  60 #define BE_CAP_FILE             "/boot/grub/capability"
  61 #define BE_INSTALL_GRUB         "/sbin/installgrub"
  62 #define BE_STAGE_1              "/boot/grub/stage1"
  63 #define BE_STAGE_2              "/boot/grub/stage2"
  64 #define ZFS_CLOSE(_zhp) \
  65         if (_zhp) { \
  66                 zfs_close(_zhp); \
  67                 _zhp = NULL; \
  68         }
  69 
  70 #define BE_ZONE_PARENTBE_PROPERTY       "org.opensolaris.libbe:parentbe"
  71 #define BE_ZONE_ACTIVE_PROPERTY         "org.opensolaris.libbe:active"
  72 #define BE_ZONE_SUPPORTED_BRANDS        "ipkg labeled"