Skip to content

Instantly share code, notes, and snippets.

@greenantdotcom
Created March 26, 2012 19:29
Show Gist options
  • Save greenantdotcom/2208964 to your computer and use it in GitHub Desktop.
Save greenantdotcom/2208964 to your computer and use it in GitHub Desktop.
How to detect which processes are running on a disk you are trying to eject
[root@scratch1 exthd]# fuser -mv /media/exthd/
USER PID ACCESS COMMAND
/media/exthd/: root 29787 ..c.. bash
root 29846 ..c.. bash
root 29898 ..c.. man
root 29901 ..c.. sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment