Hello,
there is a switch from our ISP. There are two routers (network 'A' and 'B') attached to it. On network 'A' there is disk accessible via Windows shares (CIFS). I'm on network 'B'. I wanted to copy something from that disk. So I put router 'B' to network 'A' (A -> B -> ISP switch). I started copying (in midnight commander). Then after cca half an hour I realized someone put router 'A' directly to ISP switch again
.
The problem is that midnight commander is now frozen (uninterruptible sleep). Same goes for 'ls' if I execute it in directory where is mount (which is my home dir). I also tried 'umount -l disk', 'umount -f disk' ... it froze (though it's killable with SIGINT).
Now after cca 15 minutes it seems it finally responded to signal and terminated (mc) and umount succeeded.
My question is: Can I force it somehow? Or set 'some timeout' smaller?
This happened to me many times before (I mounted my friends Windows share, suspended laptop and at home some application froze).
Thank you.
(Btw, I guess that with something over fuse it may not be problem, but I'm concerned with 'cifs' filesystem).
EDIT: I used mount.cifs and I'm on fresh Fedora15.