NFS server configuration data, I/O functions.
List of Global Functions
AutoPackages - Return required packages for auto-installation
Export - Dump the NFS settings to a map, for autoinstallation use.
GetModified - Functions which returns if the settings were modified
Import - Get all NFS server configuration from a map. When called by nfs_server_auto (preparing autoinstallation data) the map may be empty.
Read - Reads NFS settings from the SCR (.etc.exports), from SCR (.sysnconfig.nfs) and SCR (.etc.idmapd_conf),if necessary.
Set - Set the variables just as is and without complaining
SetModified - Function sets internal variable, which indicates, that any settings were modified, to "true"
Summary -
Write - Saves NFS server configuration. (exports(5)) Creates any missing directories.
WriteExports - Saves /etc/exports and creates missing directories.
List of Global Variables
domain - Domain name to be used for nfsv4 (idmapd.conf)
enable_nfsv4 - Enable nfsv4
exports -
nfs_security - GSS Security ?
required_packages - Required packages for this module to operate
start - Should the server be started? New since 9.0: Exports are independent of this setting.
write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Return required packages for auto-installation
Return value
map - of packages to be installed and to be removed
Dump the NFS settings to a map, for autoinstallation use.
Return value
map - $["start_nfsserver": "nfs_exports":]
Functions which returns if the settings were modified
Return value
boolean - settings were modified
Get all NFS server configuration from a map. When called by nfs_server_auto (preparing autoinstallation data) the map may be empty.
Function parameters
map settings
Return value
boolean - success
Reads NFS settings from the SCR (.etc.exports), from SCR (.sysnconfig.nfs) and SCR (.etc.idmapd_conf),if necessary.
Return value
boolean - true on success
Set the variables just as is and without complaining
Function parameters
map settings
Return value
void
Function sets internal variable, which indicates, that any settings were modified, to "true"
Return value
void
Saves NFS server configuration. (exports(5)) Creates any missing directories.
Return value
boolean - true on success
Should the server be started? New since 9.0: Exports are independent of this setting.