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/common/libmondo-tools.c

    r2926 r2982  
    10201020        log_to_screen
    10211021            ("You have RAID partitions but no /etc/raidtab - creating one from /proc/mdstat");
    1022         create_raidtab_from_mdstat("/etc/raidtab");
     1022        create_raidtab_from_mdstat(MDSTAT_FILE,"/etc/raidtab");
    10231023    }
    10241024
Note: See TracChangeset for help on using the changeset viewer.