Home  >  Q&A  >  body text

Linux--/tmp目录文件重启后自动删除

最近在tmp下面写了一些执行任务的问题,公司突然断电导致 tmp目录下面的文件和目录全部自动删除
想问下 有什么办法可以恢复删除的文件

迷茫迷茫2742 days ago753

reply all(1)I'll reply

  • 阿神

    阿神2017-04-17 13:33:48

    It should be impossible to recover, because if /tmp has not been specially configured, the general file system is tmpfs, and tmpfs actually uses a piece of memory for storage, and is reset after every restart

    reply
    0
  • Cancelreply