某些D-Link存储机架以(NTFS)时间戳的极其奇怪的方式运行。
以下是我做过的一些实验的快速示例:
08:00:01.562 rounds to 08:00:01.000
08:00:01.633 rounds to 08:00:02.000
08:00:02.556 rounds to 08:00:03.000
我真的很困惑,01.562
圆形的01.633
四舍五入......
你能理解这里发生了什么吗?
PS:这是一个额外的表,如果它有帮助。
Input Output Nearest second FAT rounding
08:00:00.000 08:00:00.000 08:00:00.000 08:00:00.000
08:00:00.071 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.142 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.213 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.284 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.355 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.426 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.497 08:00:00.000 08:00:00.000 08:00:02.000
08:00:00.568 08:00:01.000 08:00:01.000 08:00:02.000
08:00:00.639 08:00:01.000 08:00:01.000 08:00:02.000
08:00:00.710 08:00:01.000 08:00:01.000 08:00:02.000
08:00:00.781 08:00:01.000 08:00:01.000 08:00:02.000
08:00:00.852 08:00:01.000 08:00:01.000 08:00:02.000
08:00:00.923 08:00:01.000 08:00:01.000 08:00:02.000
08:00:00.994 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.065 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.136 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.207 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.278 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.349 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.420 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.491 08:00:01.000 08:00:01.000 08:00:02.000
08:00:01.562 08:00:01.000 08:00:02.000 08:00:02.000
08:00:01.633 08:00:02.000 08:00:02.000 08:00:02.000
08:00:01.704 08:00:02.000 08:00:02.000 08:00:02.000
08:00:01.775 08:00:02.000 08:00:02.000 08:00:02.000
08:00:01.846 08:00:02.000 08:00:02.000 08:00:02.000
08:00:01.917 08:00:02.000 08:00:02.000 08:00:02.000
08:00:01.988 08:00:02.000 08:00:02.000 08:00:02.000
08:00:02.059 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.130 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.201 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.272 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.343 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.414 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.485 08:00:02.000 08:00:02.000 08:00:04.000
08:00:02.556 08:00:03.000 08:00:03.000 08:00:04.000
08:00:02.627 08:00:03.000 08:00:03.000 08:00:04.000
08:00:02.698 08:00:03.000 08:00:03.000 08:00:04.000
08:00:02.769 08:00:03.000 08:00:03.000 08:00:04.000
1
也许是浮点不精确?
—
JAB