153. NfsServer

NFS server configuration data, I/O functions.

153.1. Authors

  • Martin Vidner <mvidner@suse.cz>

153.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.

153.3. Global Functions

153.3.1. AutoPackages

Return required packages for auto-installation

Return value

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

153.3.2. Export

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

Return value

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

See also:

  • exports

153.3.3. GetModified

Functions which returns if the settings were modified

Return value

  • boolean - settings were modified

153.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

153.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

153.3.6. Set

Set the variables just as is and without complaining

Function parameters

  • map settings

Return value

  • void

153.3.7. SetModified

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

Return value

  • void

153.3.8. Summary

Return value

  • string - A summary for autoyast

153.3.9. Write

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

Return value

  • boolean - true on success

153.3.10. WriteExports

Saves /etc/exports and creates missing directories.

Return value

  • boolean - true on success

153.4. Global Variables

153.4.1. domain

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

153.4.2. enable_nfsv4

Enable nfsv4

153.4.3. exports

153.4.4. nfs_security

GSS Security ?

153.4.5. required_packages

Required packages for this module to operate

153.4.6. start

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

153.4.7. write_only

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

153.5. Module Requirements

153.5.1. Module Imports

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

153.5.2. Module Includes