is a variant of
that can delete bogus mount entries in remote
The actions specified by the options are performed for each
-a -d -e
These options work as in
except that only entries pertaining to the local host are printed.
Removes those remote mount entries on
that do not correspond to current mounts, i.e., which are left-over
from a crash or are the result of improper mount protocol.
The actuality of mounts is verified using the entries in
Verify remote mounts. Similar to
except that only a notification message is printed for each bogus entry
found. The remote mount table is not changed.
Issues a command to the remote mountd declaring that ALL of its filesystems
have been unmounted. This should be used with caution, as it removes all
remote mount entries pertaining to the local system, whether or not any
filesystems are still mounted locally.
Suppresses error messages due to timeouts and "Program not registered",
i.e., due to remote hosts not supporting RPC or not running mountd.
Pretend the local hostname is
This is useful after the local hostname has been changed and rmtab entries
using the old name remain on a remote machine.
Unfortunately, most mountd's won't be able to successfully handle removal
of such entries, so this option is useful in combination with
This option also saves time as comparisons of remotely recorded and local
hostnames by address are avoided.
List of current mounts.
Backup file for remote mount entries on NFS server.
No attempt is made to verify the information in
Since swap file mounts are not recorded in
a heuristic specific to SunOS is used to determine whether such a mount
is actual (replacing the string "swap" with "root" and verifying the resulting
Symbolic links on the server will cause the path in the remote entry to differ
from the one in
To catch those cases, a filesystem is also deemed mounted if its
mount point is identical to the remote entry.
I.e., on a SunOS diskless client,
Since the local mount point is
as well this will be handled correctly.
There is no way to clear a stale entry in a remote mountd after the
local hostname (or whatever reverse name resolution returns for it)
has been changed. To take care of these cases,
the remote /etc/rmtab file has to be edited and mountd restarted.
The RPC timeouts for mountd calls can only be changed by recompiling.
The defaults are 2 seconds for client handle creation and 5 seconds for