]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/mount/umount.nfs.man
mount.nfs: Assume v2/v3 if mount-related options are present
[nfs-utils.git] / utils / mount / umount.nfs.man
1 .\"@(#)umount.nfs.8"
2 .TH UMOUNT.NFS 8 "6 Jun 2006"
3 .SH NAME
4 umount.nfs, umount.nfs4 \- unmount a Network File System
5 .SH SYNOPSIS
6 .BI "umount.nfs" " dir" " [\-fvnrlh ]"
7 .SH DESCRIPTION
8 .BR umount.nfs
9 and
10 .BR umount.nfs4
11 are a part of 
12 .BR nfs (5)
13 utilities package, which provides NFS client functionality.
14
15 .BR umount.nfs4 
16 and
17 .BR umount.nfs
18 are meant to be used by the
19 .BR umount (8)
20 command for unmounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality.
21
22 .I dir 
23 is the directory on which the file system is mounted.
24
25 .SH OPTIONS
26 .TP
27 .BI "\-f"
28 Force unmount the file system in case of unreachable NFS system.
29 .TP
30 .BI "\-v"
31 Be verbose.
32 .TP
33 .BI "\-n"
34 Do not update 
35 .I /etc/mtab. 
36 By default, an entry is created in 
37 .I /etc/mtab 
38 for every mounted file system. Use this option to skip deleting an entry.
39 .TP
40 .BI "\-r"
41 In case unmounting fails, try to mount read-only.
42 .TP
43 .BI "\-l"
44 Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it is not busy anymore.
45 .TP
46 .BI "\-h"
47 Print help message.
48
49 .SH NOTE
50 For further information please refer 
51 .BR nfs (5)
52 and
53 .BR umount (8)
54 manual pages.
55
56 .SH FILES
57 .TP 18n
58 .I /etc/fstab
59 file system table
60 .TP
61 .I /etc/mtab
62 table of mounted file systems
63
64 .PD
65 .SH "SEE ALSO"
66 .BR nfs (5),
67 .BR umount (8),
68
69 .SH "AUTHOR"
70 Amit Gud <agud@redhat.com>