Changeset 1497 in MondoRescue for branches/2.2.4/mondo/src


Ignore:
Timestamp:
Jun 9, 2007, 1:33:26 AM (17 years ago)
Author:
Bruno Cornec
Message:

Improve ESX+vmfs support - needs testing

Location:
branches/2.2.4/mondo/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.