YaST2 Developers Documentation: Configuration of nfs



functions
files
intro

Configuration of nfs

ui.ycp
Network NFS client dialogs
Network NFS client dialogs

Imports

  • Label
  • Nfs
  • Popup
  • Wizard

Includes

  • nfs/routines.ycp

Local Variables

Local Functions

local hosts -> list<string>

Caches names of nfs servers for GetFstabEntry

local ChooseItem (string title, list<string> items) -> string

Let the user choose one of a list of items

Parameters:
title selectionbox title
items a list of items
Return value:
one item or nil

local ChooseHostName (list<string> hosts) -> string

Give me one name from the list of hosts

Parameters:
hosts a list of hostnames
Return value:
a hostname

local ChooseExport (list<string> exports) -> string

Give me one name from the list of exports

Parameters:
exports
Return value:
an export

local TextAndButton (term text, term button) -> term

Nicely put a `TextEntry and its helper `PushButton together

Parameters:
text textentry widget
button pushbutton widget
Return value:
a HBox

local GetFstabEntry (map<string,any> fstab_ent, list<map> existing) -> map<string,any>

Ask user for an entry.

Parameters:
fstab_ent $["spec": "file": "mntopts":] or nil
existing list of fstab entries for duplicate mount-point checking
Return value:
a nfs_entry or nil

local FstabDialog () -> symbol

NFS client dialog itselfs

Return value:
`back, `abort or `next

YaST2 Developers Documentation