Dominic Reich
e8393d95a3
- post aliases instead of redirects - some dates were wrong, fixed and create multiple aliases to not brake the old date - fix some typography like newlines on end of file
712 B
712 B
title | aliases | summary | date | lastmod | categories | tags | ||
---|---|---|---|---|---|---|---|---|
Show processes that block umount | /posts/2021-10-26-processes-accessing-mountpoints | A quick oneliner to list running processes that prevent a filesystem from being unmounted. Using `lsof` or `fuser` for this. | 2021-10-26T10:06:47+02:00 | 2021-11-21 |
|
|
Another quick one: I forget this command on a permanent basis, so I write this down here -- maybe this helps.
$ lsof +f -- /media/mountpoint
Update on 2021-11-21
You could also use fuser
. I prefer this one because somehow I cannot use
autocompletion with lsof and fuser lets me complete the paths.
$ fuser -vm /media/mountpoint