Ignore:
Timestamp:
Mar 30, 2012, 2:43:01 AM (12 years ago)
Author:
Bruno Cornec
Message:

r4605@localhost: bruno | 2012-03-29 15:44:39 +0200

  • change create_raidtab_from_mdstat and parse_mdstat to have an additional parameter being the location of the /proc/mdstat file
  • adds a mkraidtab CLI parameter to test raidtab generation, allowed by the previous feature
  • cleanup libmondo-raid.c parse_mdstat function with correct indentation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/mondorestore/mondorestore.c

    r2903 r2982  
    30363036
    30373037    if (argc == 3 && strcmp(argv[1], "--mdconv") == 0) {
    3038         finish(create_raidtab_from_mdstat(argv[2]));
     3038        finish(create_raidtab_from_mdstat(MDSTAT_FILE,argv[2]));
    30393039    }
    30403040
Note: See TracChangeset for help on using the changeset viewer.