【发布时间】:2019-09-04 11:25:51
【问题描述】:
我正在使用 Windows 10 提供的 Ubuntu bash shell,我想使用 hwclock 查看我的硬件时钟时间,但我不断收到错误消息。
hwclock
root@DESKTOP:/home/blondinl# hwclock
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.
当我使用 --debug 选项时
root@DESKTOP:/home/blondinl# hwclock -- debug
hwclock from util-linux 2.27.1
hwclock: cannot open /dev/rtc: No such file or directory
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.
我试过用timedatectl
root@DESKTOP:/home/blondinl# timedatectl
Failed to create bus connection: No such file or directory
我在互联网上搜索了答案,但找不到任何答案。 也许是因为我在 Windows 上使用 linux bash 我不知道。 期待您的帮助
【问题讨论】: