-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2020-03-21 a las 15:46 +0100, Per Jessen escribió:
Carlos E. R. wrote:
El 2020-03-21 a las 12:37 +0100, Per Jessen escribió:
Dave Howorth wrote:
...
Ah, I think I understand. When the term 'interrupt' is used, Carlos and I think of a hardware capability. I gather you're thinking of an emulated software capability.
Yes, I'm looking at it as being "sat" inside a process. Hardware interrupts are usually not serviced by a process (kernel or user), but by an interrupt handler which then queues whatever it is (for processing). (I'm not sure how HPET interrupts are handled though).
Carlos' 'midnight commander' is just a process, accessing the fuse filesystem that is mounted with sshfs. As it has disabled SIGKILL, it must be in kernel mode. I think disabling SIGKILL can only be interpreted to mean "this _must_ complete, to avoid corrupting data".
If the connection dies, it dies. So, end the whatever is doing no matter what, there is no recovering.
You're guessing. What you describe works perfectly fine with NFS, for instance.
IF the other machine goes up again. I was not going to restore that machine.
Going back to the very first post, I think the situation could have been remedied by resuming the machine at 192.168.1.134. Now Carlos' 'mc' would have been able to complete the "must complete" code and exit cleanly.
That's a terrible solution. In this case, I might have done it. What if the other machine is remote?
Unless you have a way of waking it up remotely, don't hibernate it.
Power failure, reboot, maintenance... things happen. The other machine is manned, and its owner decides to hibernate it that moment, after hours of doing nothing and idling. Those are excuses, a process has to cope with network failure. - -- Cheers Carlos E. R. (from openSUSE 15.1 (Legolas)) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXnZoVhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVuGwAn0Wy7+KV0BJh13hO+kuT OOPqqjuxAJ92XVrh3Rd1FaKWnW350glSGM8J8w== =mFL0 -----END PGP SIGNATURE-----