StorageDevices |
StorageDevices.ycp |
This module does all storage device related stuff: - hard disk drives - removable drives (ZIP) - floppy devices | |
|
|
This module has an unstable interface. |
Depends onStorageControllersImports
Global VariablesGlobal 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
global
FloppyPresent
->
boolean
- Return value:
-
true if floppy drive present
global
FloppyDevice
->
string
- Return value:
-
Device name of floppy, empty string if no floppy present
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