1. 補充猜测如果是tmpfs引发的问题,
通常 tmpfs 是在 內存 不是在 硬盤分割區
通常 內存 會隨著關機 而歸零
除非你有額外機制 關機還保存著 內存 數據
2. 資料來源
2-1. http://www.jamescoyle.net/how-to/943-cr ... k-in-linux
There are two main types of RAM disk which can be used in Linux and each have their own benefits and weaknesses:
ramfs
tmpfs
2-2. http://www.jamescoyle.net/knowledge/951 ... s-ram-disk
The Difference Between a tmpfs and ramfs RAM Disk