finley wrote:
> +    # Create a lookup hash.  Contents are like:
> +    #   /dev/sda => DISK0
> +    #
> +    my %DISK_by_disk;
> +    my $i = 0;
> +    foreach my $disk (sort @all_disks) {
> +        $DISK_by_disk{$disk} = "DISK$i";
> +        $i++;
> +    }

Brian,

I think we should not sort the disk names. If for whatever reason a user
decides to manually edit the autoinstallscript.conf and define the disk
sections not in alphabetic order, the partitioning schemas will be
exchanged... for example:

  <disk dev="/dev/sdd" label_type="msdos" unit_of_measurement="MB">
    ...
  </disk>
  <disk dev="/dev/sdc" label_type="msdos" unit_of_measurement="MB">
     ...
  </disk>

will be translated in:

DISK0=/dev/sdc
... # partitioning schema of /dev/sdd
DISK1=/dev/sdd
... # partitioning schema of /dev/sdc

Cheers,
-Andrea


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Sisuite-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to