50. DASDController

Controller settings, input and output functions

50.1. Summary of Module Globals

List of Global Functions

  • Abort - Abort function

  • ActivateDisk - Activate selected Disks

  • AutoPackages - Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

  • Available - Is this kind of disk controller available?

  • DeactivateDisk - Activate selected Disks

  • Export - Dump the controller settings to a single map (For use by autoinstallation.)

  • FormatDisks - Activate selected Disks

  • FourDigitHex - Translate integer number to its hexadecimal representation with leading 0x and exactliy 4 hexadecimal numbers

  • GetPartitionInfo - Get partitioninfo

  • Import - Get all controller settings from the first parameter (For use by autoinstallation.)

  • IsAvailable - Check if DASD subsystem is available

  • Modified - Prototypes

  • Modified - Data was modified?

  • ProbeDisks - Probe for DASD disks

  • Read - Read all controller settings

  • Summary - Create a textual summary and a list of unconfigured cards

  • Write - Write all controller settings

List of Global Variables

  • modified - Data was modified?

  • proposal_valid -

  • write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

50.2. Global Functions

50.2.1. Abort

Abort function

Return value

  • boolean - blah blah lahjk

50.2.2. ActivateDisk

Activate selected Disks

Function parameters

  • string channel

  • boolean diag

Return value

  • void

50.2.3. AutoPackages

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value

  • map - with 2 lists.

50.2.4. Available

Is this kind of disk controller available?

Return value

  • boolean - true if it is

50.2.5. DeactivateDisk

Activate selected Disks

Function parameters

  • string channel

  • boolean diag

Return value

  • void

50.2.6. Export

Dump the controller settings to a single map (For use by autoinstallation.)

Return value

  • map - Dumped settings (later acceptable by Import ())

50.2.7. FormatDisks

Activate selected Disks

Function parameters

  • list<string> disks_list

  • integer par

  • boolean write_vl

  • boolean interactive

Return value

  • void

50.2.8. FourDigitHex

Translate integer number to its hexadecimal representation with leading 0x and exactliy 4 hexadecimal numbers

Function parameters

  • integer i

Return value

  • string - hexadecimal number

50.2.9. GetPartitionInfo

Get partitioninfo

Function parameters

  • string disk

Return value

  • string - GetPartitionInfo string The info

50.2.10. Import

Get all controller settings from the first parameter (For use by autoinstallation.)

Function parameters

  • map settings

Return value

  • boolean - True on success

50.2.11. IsAvailable

Check if DASD subsystem is available

Return value

  • boolean - True if more than one disk

50.2.12. Modified

Prototypes

Return value

  • boolean

50.2.13. Modified

Data was modified?

Return value

  • boolean - true if modified

50.2.14. ProbeDisks

Probe for DASD disks

Return value

  • void

50.2.15. Read

Read all controller settings

Return value

  • boolean - true on success

50.2.16. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • list - summary of the current configuration

50.2.17. Write

Write all controller settings

Return value

  • boolean - true on success

50.3. Global Variables

50.3.1. modified

Data was modified?

50.3.2. proposal_valid

50.3.3. write_only

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

50.4. Module Requirements

50.4.1. Module Imports

  • Arch
  • Mode
  • Progress
  • Report
  • Stage
  • Summary

50.4.2. Module Includes