Hardware config manipulation (/etc/sysconfig/hardware/hwcfg-*)
List of Global Functions
ChangeM - Commit data to Modules[name]
Export - Export data
HwUp - Call HwUp for hardware that is not handled by hotplug (#44626) Probably obsoleted by the code in Write
Import - Import data
List - Get modules of the given type
Modified - Were the modules changed?
Read - Read modules from files
ValidCharsHwcfg - #46803: forbid "/" (filename), maybe also "-" (separator) "_" (escape)
Write - Write modules to files And also do hwdown before and hwup after, on changed ones (#44794)
Export data
Function parameters
string devregex
Return value
map<string,map> - dumped settings (later acceptable by Import())
Call HwUp for hardware that is not handled by hotplug (#44626) Probably obsoleted by the code in Write
Return value
boolean
Import data
Function parameters
string devregex
map<string,map> modules
Return value
boolean - true on success
Get modules of the given type
Function parameters
string devregex
Return value
list - of found modules
Were the modules changed?
Function parameters
string devregex
Return value
boolean - true if modified
#46803: forbid "/" (filename), maybe also "-" (separator) "_" (escape)
Return value
string