Changeset 2779 in MondoRescue for branches/2.2.8/mondo


Ignore:
Timestamp:
Apr 29, 2011, 3:36:06 PM (13 years ago)
Author:
Bruno Cornec
Message:

r2148@localhost (orig r2147): bruno | 2009-02-14 02:45:13 +0100
Fix NTFS support at restore time (Conor Daly)


File:
1 edited

Legend:

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

    r2141 r2779  
    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.