I don't know how to debug this situation:
1) I try to execute:
2) ls blocks and does not print anything. I assume it is because /home/user contains /home/user/sshfs_files, which is an sshfs-mounted directory, but the network went down on my machine (the network is up again but I guess the SSH connection has been lost).
3) As i wanted to be sure that the sshfs-mounted directory was the cause of this hang up, i tried the same command under strace:
strace -o /tmp/log ls /home/user
4) And the ls actually worked ! So now the situation is that ls works under strace but blocks on its own.
How is it even possible? How to explain this situation? How can I see where ls block if it doesn't block under strace?