Changeset 1497


Ignore:
Timestamp:
Jun 9, 2007, 1:33:26 AM (12 years ago)
Author:
bruno
Message:

Improve ESX+vmfs support - needs testing

Location:
branches/2.2.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mindi/deplist.txt

    r925 r1497  
    2222mkfs mkswap mkswapfs mkfs.swap mkfs.ext2 mke2fs mkfs.vfat mkfs.dos mkdosfs mkvfatfs mkfatfs mkreiserfs mkfs.reiserfs mkfs.reiser mkfs.ext3 mke3fs mkfs.jfs mkfs.xfs mkxfs mkjfs mkxfsfs mkjfsfs logdump logredo xchkdmp xchklog xpeek mkpv mkraid raid0run raidhotadd raidhotremove raidsetfaulty raidstart raidstop e2label tune2fs e2fsadm mdadm
    2323fsck fsck.ext2 fsck.reiserfs fsck.reiser fsck.xfs fsck.ext3 fsck.jfs badblocks
     24vmkfstools
    2425
    2526#-------------------------------- ESSENTIAL -----------------------------------
  • branches/2.2.4/mindi/mindi

    r1491 r1497  
    29032903lsmod >> $LOGFILE
    29042904MODULES="`cat /proc/modules | awk '{print $1}'`"
     2905if [ -e /usr/sbin/esxcfg-module ]; then
     2906    echo "VMWare ESX server detected - Enabling dedicated support" >> $LOGFILE
     2907    echo "-------------" >> $LOGFILE
     2908    echo "VMWare modules" >> $LOGFILE
     2909    echo "-------------" >> $LOGFILE
     2910    esxcfg-module -l >> $LOGFILE
     2911    MODULES="$MODULES `esxcfg-module -l | awk '{print $1}'`"
     2912fi
    29052913echo "-------------" >> $LOGFILE
    29062914echo "Liste of extra modules is:" >> $LOGFILE
  • branches/2.2.4/mondo/src/common/my-stuff.h

    r1437 r1497  
    474474#define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE  "/dev/md"
    475475#define RAID_DEVICE_STUB    DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE
    476 #define SANE_FORMATS        "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm cifs"
     476#define SANE_FORMATS        "swap image vfat ext2 ext3 xfs vfs jfs reiserfs vmfs dos minix coda nfs ntfs hpfs raid lvm cifs"
    477477#define ALT_TAPE        "/dev/ht0"
    478478#define MKE2FS_OR_NEWFS "mke2fs"
  • branches/2.2.4/mondo/src/mondorestore/mondo-prep.c

    r1320 r1497  
    22122212    } else if (strcmp(format, "minix") == 0) {
    22132213        strcpy(partcode, "81");
     2214    } else if (strcmp(format, "vmfs") == 0) {
     2215        strcpy(partcode, "fb");
    22142216    } else if (strcmp(format, "raid") == 0) {
    22152217        strcpy(partcode, "fd");
     
    25322534    } else if (strcmp(format, "minix") == 0) {
    25332535        strcpy(program, "mkfs.minix");
     2536    } else if (strcmp(format, "vmfs") == 0) {
     2537        strcpy(program, "mkfs -t vmfs");
    25342538#endif
    25352539    } else if (strcmp(format, "ext2") == 0) {
Note: See TracChangeset for help on using the changeset viewer.