168. NfsServer

NFS server configuration data, I/O functions.

168.1. Authors

  • Martin Vidner <mvidner@suse.cz>

168.2. Summary of Module Globals

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.

168.3. Global Functions

168.3.1. AutoPackages

Return required packages for auto-installation

Return value

  • map - of packages to be installed and to be removed

168.3.2. Export

Dump the NFS settings to a map, for autoinstallation use.

Return value

  • map - $["start_nfsserver": "nfs_exports":]

See also:

  • exports

168.3.3. GetModified

Functions which returns if the settings were modified

Return value

  • boolean - settings were modified

168.3.4. Import

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

See also:

  • exports

168.3.5. Read

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

168.3.6. Set

Set the variables just as is and without complaining

Function parameters

  • map settings

Return value

  • void

168.3.7. SetModified

Function sets internal variable, which indicates, that any settings were modified, to "true"

Return value

  • void

168.3.8. Summary

Return value

  • string - A summary for autoyast

168.3.9. Write

Saves NFS server configuration. (exports(5)) Creates any missing directories.

Return value

  • boolean - true on success

168.3.10. WriteExports

Saves /etc/exports and creates missing directories.

Return value

  • boolean - true on success

168.4. Global Variables

168.4.1. domain

Domain name to be used for nfsv4 (idmapd.conf)

168.4.2. enable_nfsv4

Enable nfsv4

168.4.3. exports

168.4.4. nfs_security

GSS Security ?

168.4.5. required_packages

Required packages for this module to operate

168.4.6. start

Should the server be started? New since 9.0: Exports are independent of this setting.

168.4.7. write_only

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

168.5. Module Requirements

168.5.1. Module Imports

  • Progress
  • Report
  • Service
  • SuSEFirewall
  • Summary
  • Wizard

168.5.2. Module Includes