Changeset 2237 in MondoRescue for branches/2.2.9/mondo/src/include/my-stuff.h


Ignore:
Timestamp:
Jun 19, 2009, 9:10:17 PM (15 years ago)
Author:
Bruno Cornec
Message:

Fix a bug (seg fault) when a too large mountlist was used. Increased MAXIMUM_DISKS_PER_RAID_DEV which serve as table allocation for drivelist, which should be as big as mountlist in fact ! (which it is still not, but is now sufficently large to be correct). Again dynamic memory allocation is the solution. Or perl ;-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/include/my-stuff.h

    r2227 r2237  
    124124#define MAXIMUM_RAID_DEVS 32    ///< The maximum number of RAID devices in the raidlist.
    125125#define MAXIMUM_ADDITIONAL_RAID_VARS 32 ///< The maximum number of additional RAID variables per RAID device in the raidlist.
    126 #define MAXIMUM_DISKS_PER_RAID_DEV 32   ///< The maximum number of disks per RAID device in the raidtab.
     126#define MAXIMUM_DISKS_PER_RAID_DEV 1024 ///< The maximum number of disks per RAID device in the raidtab.
    127127
    128128#define RAIDTAB_FNAME "/etc/raidtab"    ///< The filename of the raidtab file, at least on Linux.
Note: See TracChangeset for help on using the changeset viewer.