YaST2 Developers Documentation: StorageDevices



functions
files
intro

StorageDevices

StorageDevices.ycp
This module does all storage device related stuff: - hard disk drives - removable drives (ZIP) - floppy devices
Author: Klaus Kaempf (initial)

Depends on

StorageControllers

Imports

  • Arch
  • HwStatus
  • Installation
  • Kernel
  • Mode
  • Partitions
  • Report
  • String

Global Variables

Global Functions

global ZipDrives -> map<string,any>

Return value:
of $["device": $[..target..], ...] for each ZIP drive

global FloppyDrives -> list<map>

Return value:
of maps: all kinds of removable media, esp. ZIP drives @see: FloppyDevice @see: FloppyReady

global FloppyPresent -> boolean

Return value:
true if floppy drive present @see: FloppyDevice @see: FloppyReady

global FloppyDevice -> string

Return value:
Device name of floppy, empty string if no floppy present @see: FloppyPresent @see: FloppyReady

global cddrives -> list<map>

list of cd-rom drives

global GetDeviceName (string disk, any partition) -> string

#include "storage/routines.ycp";

Parameters:
disk
partition

global ProbeCDROMs () -> boolean

ProbeCDROMs() Initialize cddrives


YaST2 Developers Documentation