Changeset 1600 in MondoRescue for branches/stable/mindi/mindi


Ignore:
Timestamp:
Aug 29, 2007, 8:00:31 PM (17 years ago)
Author:
Bruno Cornec
Message:

Add a MAX_DISKS variable and increase to 99 (idea from Tilman Schmidt <tilman_at_imap.cc>)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r1581 r1600  
    7878
    7979EXTRA_SPACE=$mindi_extra_space
     80MAX_DISKS=$mindi_max_disks
    8081BOOT_SIZE=$mindi_boot_size
    8182DEPLIST_DIR="$MINDI_CONF/deplist.d"
     
    164165
    165166    # move to the disk that has room on it (or end up using the last, if all full)
    166     while [ "$diskno" -lt "40" ] ; do
     167    while [ "$diskno" -lt $MAX_DISKS ] ; do
    167168        mkdir -p $minidir_root/$diskno
    168169        filesize=`du -sk $filename | cut -f1`
Note: See TracChangeset for help on using the changeset viewer.