diff options
Diffstat (limited to 'usr.sbin/rpc.umntall')
-rw-r--r-- | usr.sbin/rpc.umntall/rpc.umntall.8 | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/usr.sbin/rpc.umntall/rpc.umntall.8 b/usr.sbin/rpc.umntall/rpc.umntall.8 index 268e0fca24f4..849b0105b68e 100644 --- a/usr.sbin/rpc.umntall/rpc.umntall.8 +++ b/usr.sbin/rpc.umntall/rpc.umntall.8 @@ -49,11 +49,14 @@ RPC specification; see .Re It uses remote procedure calls to remove mount entries from .Pa /var/db/mountdtab -on the remote NFS server. It is called automatically +on the remote NFS server. +It is called automatically without any parameters during startup and shutdown of -the system. This ensures that +the system. +This ensures that .Xr showmount 8 -does not display old and expired entries. The +does not display old and expired entries. +The .Nm command is only needed on client side, where @@ -62,7 +65,8 @@ adds a mount entry with the current date to .Pa /var/db/mounttab , and .Xr umount 8 -removes the entry again. The +removes the entry again. +The .Nm command cares about all remaining entries in this table which result from crashes @@ -76,19 +80,25 @@ All entries which are not actually mounted or older than (seconds) are removed from .Pa /var/db/mounttab . This may be the case -for DNS changes or long out of service periods. Default expire time +for DNS changes or long out of service periods. +Default expire time is 86400 seconds (one day). .It Fl h Ar host -Only remove the specific hostname. Send a UMNTALL RPC to the NFS server. +Only remove the specific hostname. +Send a UMNTALL RPC to the NFS server. .It Fl k -Keep entries for existing NFS filesystems. Compare the NFS filesystems from +Keep entries for existing NFS filesystems. +Compare the NFS filesystems from the mounttab against the kernel mountlist and do not send the RPC to -existing mount entries. Useful during startup of the system. It may be +existing mount entries. Useful during startup of the system. +It may be possible that there are already mounted NFS filesystems, so calling -RPC UMOUNT isn't a good idea. This is the case if the user has rebooted +RPC UMOUNT isn't a good idea. +This is the case if the user has rebooted to 'single user mode' and starts up the system again. .It Fl p Ar path -Only remove the specific mount-path. Send a UMOUNT RPC to the NFS server. +Only remove the specific mount-path. +Send a UMOUNT RPC to the NFS server. This option implies the .Fl host option. |