Changeset 1600 for branches/stable


Ignore:
Timestamp:
Aug 29, 2007, 8:00:31 PM (12 years ago)
Author:
bruno
Message:

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

Location:
branches/stable/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/distributions/conf/mindi.conf.dist

    r1598 r1600  
    99# mindi instable or cause failures. Use with care.
    1010
     11#
     12# Maximum number of disks made by mindi
     13#
     14mindi_max_disks=99
    1115#
    1216# Extra space for Ram disk
  • 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.