Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
5abd20f2
Commit
5abd20f2
authored
Nov 17, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X wcfs: py: also try fuser in addition to lsof
parent
830cd5f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
wcfs/__init__.py
wcfs/__init__.py
+10
-0
No files found.
wcfs/__init__.py
View file @
5abd20f2
...
...
@@ -572,6 +572,16 @@ def _fuse_unmount(mntpt, *optv):
log
.
warn
(
"(lsof failed)"
)
defer
(
_
)
# XXX fuser should work where lsof starts to fail after wcfs going to EIO mode
# ref:ZzO3wtEdQVDw5Wz5@deca.navytux.spb.ru
def
_
():
log
.
warn
(
"# fuser -vmM %s"
%
mntpt
)
ret
,
out
=
_sysproccallout
([
"fuser"
,
"-vmM"
,
mntpt
])
log
.
warn
(
out
)
if
ret
:
log
.
warn
(
"(fuser failed)"
)
defer
(
_
)
out
=
out
.
rstrip
()
# kill trailing \n\n
opts
=
' '
.
join
(
optv
)
if
opts
!=
''
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment