When I try to remount a partition as
read-only
, I get an error /foo is busy
. I can list all files open from /foo
with
lsof /foo
but that does not show me whether files are open read-only
or read-write
. Is there any way to list only files which are open as read-write
?
Asked by Martin Vegter
(598 rep)
Nov 20, 2013, 11:07 AM
Last activity: Jul 1, 2024, 08:42 PM
Last activity: Jul 1, 2024, 08:42 PM