nfsconf(8) | System Manager's Manual | nfsconf(8) |
nfsconf - Query various NFS configuration settings
nfsconf --dump [-v|--verbose] [-f|--file infile.conf] [outfile]
nfsconf --entry [--arg subsection] section tag
nfsconf --get [-v|--verbose] [-f|--file infile.conf] [-a|--arg subsection] section tag
nfsconf --isset [-v|--verbose] [-f|--file infile.conf] [-a|--arg subsection] section tag
nfsconf --set [-v|--verbose] [-m|--modified Modified by text] [-f|--file infile.conf] [-a|--arg subsection] section tag value
nfsconf --unset [-v|--verbose] [-f|--file infile.conf] [-a|--arg subsection] section tag
The nfsconf command can be used to test for and retrieve configuration settings from a range of nfs-utils configuration files.
The following modes are available:
-m, --modified "Modified by nfsconf" Set the text on the Modified date comment in the file. Set to empty to remove.
In this mode the command will return success (0) if the selected tag has a value, any other exit code indicates the value is not set, or some other error has occurred.
Success is indicated by an exit status of zero, any other status indicates an error. Error messages are output on stderr, and increasing verbosity will give more detailed explanations if any are available.
Justin Mitchell <jumitche@redhat.com>
2 May 2018 |