For the past few weeks (my system hasn't been rebooted in the meanwhile!) I had a bunch of files temporarily placed in /tmp

tmpfs on /tmp type tmpfs (rw,nosuid,nodev)

I now decided to move them to persistent locations, but I just noticed that those files have disappeared.

The directories I had (and cared about) in /tmp are still there though:

$ls -ahR /tmp/fysb/
./  ../  cm/  desk/  ec/  fds/  rt/  st/

./  ../

./  ../

./  ../

./  ../  minnie7z/  tv/

./  ../

./  ../

./  ../

./  ../

In those directories, I'm 1000% positive, there were dozens of files.

What could have happened? Why did those files disappeared? I guess there's no way to recover them? Does tmpfs automatically removes files when the memory is scarce?

For the record, this system (my desktop) has been running for 13 weeks, 5 days, 11 hours, 51 minutes according to uptime -p. The running kernel is 4.10.5 (while the installed one is 4.11.7). Due to mismatching between the running and installed software, I've gradually lost functionalities over time (mostly for kernel modules and KDE, my DE). This system has 16 GB of ram, and I suspend it almost every night.

I'm running arch Linux on an x86-64.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.