[Feedback on issues] 发现一个时间的小bug(V25.1.0)
Tofloor
poster avatar
JesseyLawson
deepin
3 hours ago
Author
刚才无意中发现,文件夹的时间比当前时间提前几小时,难道是走进未来了?不过未升级前也未看过这里的文件夹,情况不得而知。截图如下:
 
 
 
Reply Favorite View the author
All Replies
夜夜笙歌free
deepin
2 hours ago
#1

stat看下呗

Reply View the author
huaqi
deepin
2 hours ago
#2

是不是deepin准备在这个时间点对系统进行备份

Reply View the author
JesseyLawson
deepin
2 hours ago
#3
夜夜笙歌free

stat看下呗

20260412_180153.png

Reply View the author
JesseyLawson
deepin
2 hours ago
#4
huaqi

是不是deepin准备在这个时间点对系统进行备份

不对啊,我晚上就关机了,怎么可能呢?

Reply View the author
LiuYongzhang
deepin
10 minutes ago
#5

你遇到的这个情况不是系统 “穿越”,而是典型的文件时间戳与系统时区 / 时间不同步导致的现象

Reply View the author
LiuYongzhang
deepin
9 minutes ago
#6

从你的截图可以看到几个关键信息:

  1. 系统当前时间:2026 年 4 月 12 日 18:01(北京时间,UTC+8)
  2. opt 目录的时间戳:
    • 修改时间(mtime):2026-04-13 00:58:20(比当前时间提前约 6 小时 57 分
    • 创建时间(birthtime):2026-04-13 00:58:20.512430661 +0800(带 + 0800,说明时区标记正确)
    • 变更时间(ctime):2026-04-12 16:59:00(早于当前时间,正常)

核心原因

这个 overlay目录是Deepin 25 系统的 overlayFS 联合文件系统层,用于系统更新、容器 / 沙箱环境或只读根文件系统的写时复制(CoW)。

  • 这类 overlay 层的目录,通常是在 **UTC 时间(世界标准时间)** 下创建 / 修改的,然后直接被挂载到本地系统,没有做时区转换。
  • 你看到的 00:58:20 +0800,本质是UTC 时间 16:58:20 加上 8 小时时区偏移得到的北京时间,而这个 UTC 时间是未来的,所以显示为 “明天” 的时间。
  • 另一种可能:系统在创建这个 overlay 层时,系统时间本身是错误的(比如时区未设置、NTP 时间同步失败),导致写入了错误的时间戳,后续系统时间纠正后,就出现了 “时间超前”。
Reply View the author
LiuYongzhang
deepin
3 minutes ago
#7

顺便求一个这个时钟桌面软件包名

Reply View the author