-
-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Important
This issue was migrated from Trac:
| Origin | https://midnight-commander.org/ticket/4166 |
|---|---|
| Reporter | baryluk (witold.baryluk@….com) |
I don't how this happened, I am using 3:4.8.25-1 from Debian testing.
Never happened to me before in last 15 years.
I had sshfs filesystem mounted, and for external reasons (a background deamon) it got full.
I was editing a file, about 200 lines of code. I tried to save, and it failed. I exited, and reopened file again. It was empty. Few hours of work lost.
This is a critical flaw. There was no backup file, no atomic rename for save either.
Maybe it was something to do with mount options, I don't know.
sshfs -o cache_timeout=360 -o cache_stat_timeout=360 -o entry_timeout=240 -o negative_timeout=200 -o kernel_cache -o workaround=none -o cache_max_size=100000000 -o reconnect
But, mcedit recognized the error it can't save, so while the original data disappeared?