Changeset 1599 in MondoRescue


Ignore:
Timestamp:
Aug 29, 2007, 7:57:59 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/2.2.5/mindi/mindi

    r1597 r1599  
    4242EXTRA_SPACE=24576         ; # increase if you run out of ramdisk space
    4343BOOT_SIZE=8192       ;      # size of the boot disk
     44MAX_DISKS=99
    4445WRITE_BOOT_FLOPPIES="yes" ; # do you want to be propted to write floppy images
    4546PROMPT_WRITE_BOOT_FLOPPIES="yes"
     
    167168
    168169    # move to the disk that has room on it (or end up using the last, if all full)
    169     while [ "$diskno" -lt "40" ] ; do
     170    while [ "$diskno" -lt $MAX_DISKS ] ; do
    170171        mkdir -p $minidir_root/$diskno
    171172        filesize=`du -sk $filename | cut -f1`
Note: See TracChangeset for help on using the changeset viewer.