File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,9 +112,10 @@ host don't behave as do link counts for files on local disks.
112112
113113## Finding Processes Blocking Umount
114114
115- When you need to unmount a file system with the umount command, you may find the
116- operation blocked by a process that has a file open on the file systems. Lsof
117- may be able to help you find the process. In response to:
115+ When you need to unmount a file system with the ` umount ` command or remount it
116+ with ` mount -o remount ` , you may find the operation blocked by a process that
117+ has a file open on the file systems. Lsof may be able to help you find the
118+ process. In response to:
118119
119120``` shell
120121$ lsof < file_system_name>
@@ -124,7 +125,8 @@ Lsof will display all open files on the named file system. It will also set its
124125exit code zero when it finds some open files and non-zero when it doesn't,
125126making this type of lsof call useful in shell scripts. (See section 16.)
126127
127- Consult the output of the df command for file system names.
128+ ` <file_system_name> ` can be a mount point or a device. Use the ` df ` command to
129+ find this information.
128130
129131See the caveat in the preceding section about file references that persist in
130132the kernel without open file traces. That situation may hamper lsof's ability
You can’t perform that action at this time.
0 commit comments