OS Manuals

/usr/bin/exportfs

kernel-mode NFS

From nfs-utils 3.1.1-r0 (os), captured 2026-11-05 by running exportfs --help (exit 1). permalink

/usr/bin/exportfs: invalid option -- '-'
usage: exportfs [-adfhioruvs] [host:/path]
Options (10)
OptionDescriptionSource
-d, --debug kindTurn on debugging.man
-aExport or unexport all directories.man
-o optionsSpecify a list of export options in the same manner as in exports(5).man
-iIgnore the /etc/exports file and files under /etc/exports.d directory.man
-rReexport all directories, synchronizing /var/lib/nfs/etab with /etc/exports and files under /etc/exports.d.man
-uUnexport one or more directories.man
-fIf /proc/fs/nfsd or /proc/fs/nfs is mounted, flush everything out of the kernel's export table.man
-vBe verbose.man
-sDisplay the current export list suitable for /etc/exports.man
-LDisable the use of netlink for kernel communication and force the use of the legacy /proc interfaces for cache flushing and export validation.man
Examples (5) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.