154. NfsServer

NFS server configuration data, I/O functions.

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

154.2. Global Functions

154.2.1. AutoPackages

Return required packages for auto-installation

Return value

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

154.2.2. Export

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

Return value

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

154.2.3. GetModified

Functions which returns if the settings were modified

Return value

  • boolean - settings were modified

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

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

154.2.6. Set

Set the variables just as is and without complaining

Function parameters

  • map settings

Return value

  • void

154.2.7. SetModified

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

Return value

  • void

154.2.8. Summary

Return value

  • string - A summary for autoyast

154.2.9. Write

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

Return value

  • boolean - true on success

154.2.10. WriteExports

Saves /etc/exports and creates missing directories.

Return value

  • boolean - true on success

154.3. Global Variables

154.3.1. domain

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

154.3.2. enable_nfsv4

Enable nfsv4

154.3.3. exports

154.3.4. nfs_security

GSS Security ?

154.3.5. required_packages

Required packages for this module to operate

154.3.6. start

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

154.3.7. write_only

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

154.4. Module Requirements

154.4.1. Module Imports

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

154.4.2. Module Includes