Francis Moreau
unread,Nov 24, 2011, 4:35:49 PM11/24/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
I'm facing a weird behaviour of fuser. Actually the behaviour depends
on the '-s' option.
Example:
-------------
# fuser -v /tmp/tmp.CtyhSoSNae; echo $?
USER PID ACCESS COMMAND
/tmp/tmp.CtyhSoSNae:
root kernel mount /tmp/tmp.CtyhSoSNae
0
# fuser -s /tmp/tmp.CtyhSoSNae; echo $?
0
# fuser /tmp/tmp.CtyhSoSNae; echo $?
1
--------------
So basically the tmpdir has a filesystem mounted on it but no process
is accessing any files in it.
The return value of fuser is not consistent and depends on the '-s'
option and I think the value is wrong when '-s' is used.
That happens with fuser version 22.11
Could someone shed some light ?
Thanks