Changeset 2017 in MondoRescue


Ignore:
Timestamp:
Sep 19, 2008, 12:18:22 PM (16 years ago)
Author:
Bruno Cornec
Message:

Adds support for OCFS2 file system when formating using the right command in which_format_command_do_i_need.

File:
1 edited

Legend:

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

    r1930 r2017  
    25372537    } else if (strcmp(format, "vmfs") == 0) {
    25382538        strcpy(program, "mkfs -t vmfs");
     2539    } else if (strcmp(format, "ocfs2") == 0) {
     2540        /*
     2541         * For existing OCFS2 volumes, mkfs.ocfs2 ensures the volume is not mounted on any node in the cluster before formatting. For that to work, mkfs.ocfs2 expects the O2CB cluster service to be running. Specify this option to disable this check.
     2542         *
     2543         */
     2544        strcpy(program, "mkfs -t ocfs2 -F");
    25392545#endif
    25402546    } else if (strcmp(format, "ext2") == 0) {
Note: See TracChangeset for help on using the changeset viewer.