I have a mounted partition, which I tried
umounting and it's giving me an error. There is a chance that some process is accessing some files in that mounted partition.
How do I know, which process is accessing it, and which files?
Or better, another way to ask this question: How to know all the processes that are accessing a resource? Such as a file?