Ignore:
Timestamp:
Feb 14, 2009, 2:45:13 AM (15 years ago)
Author:
Bruno Cornec
Message:

Fix NTFS support at restore time (Conor Daly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-prep.c

    r2141 r2147  
    24062406    } else if (strcmp(format, "vmfs") == 0) {
    24072407        strcpy(program, "mkfs -t vmfs");
     2408    } else if (strcmp(format, "ntfs") == 0) {
     2409        /*
     2410         * mkfs.ntfs treats the '-c' switch as 'specify cluster size'
     2411         * so the default "mkfs -t %s -c" command structure fails
     2412         */
     2413        strcpy(program, "mkfs -t ntfs");
    24082414    } else if (strcmp(format, "ocfs2") == 0) {
    24092415        /*
Note: See TracChangeset for help on using the changeset viewer.