168. OSRFloppy

How to use OSRFloppy module: 1. OSRFloppy::Open( with ui support, count of files to read/wirte ); 2. optional: OSRFloppy::NextStep(_(Copy the file .. )); WFM::Execute(.local.bash, "/bin/cp ... "); or OSRFloppy::ReadMap( .. ) or OSRFloppy::SaveMap( .. ) 3. OSRFloppy::Close();

168.1. Summary of Module Globals

List of Global Functions

  • Close - Close Floppy Dialog and unmount floppy device. You must call OSRFloppy::Open(.. ) before.

  • NextStep - Change the text in the floppy dialog and increase the progress bar. If not dialog is opened, write the test to the YaST2 log file (y2log).

  • Open - Open floppy for IO. Afterwards you must call OSRFloppy::Close().

List of Global Variables

168.2. Global Functions

168.2.1. Close

Close Floppy Dialog and unmount floppy device. You must call OSRFloppy::Open(.. ) before.

Return value

  • boolean

168.2.2. NextStep

Change the text in the floppy dialog and increase the progress bar. If not dialog is opened, write the test to the YaST2 log file (y2log).

Function parameters

  • string label

Return value

  • void

168.2.3. Open

Open floppy for IO. Afterwards you must call OSRFloppy::Close().

Function parameters

  • boolean use_ui

  • integer count_io_files

Return value

  • boolean

168.3. Global Variables

168.3.1. floppy_device

Default floppy device

168.3.2. mount_point

Default mount point

168.4. Module Requirements

168.4.1. Module Imports

  • Label
  • OSRModuleLoading
  • Report
  • Storage
  • StorageDevices

168.4.2. Module Includes