145. 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();

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

145.2. Global Functions

145.2.1. Close

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

Return value

  • boolean

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

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

145.3. Global Variables

145.3.1. floppy_device

Default floppy device

145.3.2. mount_point

Default mount point

145.4. Module Requirements

145.4.1. Module Imports

  • Label
  • OSRModuleLoading
  • Report
  • Storage
  • StorageDevices

145.4.2. Module Includes