57. DASDController

Controller settings, input and output functions

57.1. Authors

  • Jiri Srain <jsrain@suse.cz>

57.2. 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.

57.3. Global Functions

57.3.1. Abort

Abort function

Return value

  • boolean - blah blah lahjk

57.3.2. ActivateDisk

Activate selected Disks

Function parameters

  • string channel

  • boolean diag

Return value

  • void

57.3.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.

57.3.4. Available

Is this kind of disk controller available?

Return value

  • boolean - true if it is

57.3.5. DeactivateDisk

Activate selected Disks

Function parameters

  • string channel

  • boolean diag

Return value

  • void

57.3.6. Export

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

Return value

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

57.3.7. FormatDisks

Activate selected Disks

Function parameters

  • list<string> disks_list

  • integer par

  • boolean write_vl

  • boolean interactive

Return value

  • void

57.3.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

57.3.9. GetPartitionInfo

Get partitioninfo

Function parameters

  • string disk

Return value

  • string - GetPartitionInfo string The info

57.3.10. Import

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

Function parameters

  • map settings

Return value

  • boolean - True on success

57.3.11. IsAvailable

Check if DASD subsystem is available

Return value

  • boolean - True if more than one disk

57.3.12. Modified

Prototypes

Return value

  • boolean

57.3.13. Modified

Data was modified?

Return value

  • boolean - true if modified

57.3.14. ProbeDisks

Probe for DASD disks

Return value

  • void

57.3.15. Read

Read all controller settings

Return value

  • boolean - true on success

57.3.16. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • list - summary of the current configuration

57.3.17. Write

Write all controller settings

Return value

  • boolean - true on success

57.4. Global Variables

57.4.1. modified

Data was modified?

57.4.2. proposal_valid

57.4.3. write_only

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

57.5. Module Requirements

57.5.1. Module Imports

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

57.5.2. Module Includes