Linux is ready for the end of time

On 03:14:08 Greenwich Mean Time (GMT, aka Coordinated Universal Time) January 19, 2038 (that's a Tuesday), the world ends. Well, not in the biblical Book of Revelations sense. But, what will happen is the value for time in 32-bit based Unix-based operating systems, like Linux and older versions of macOS, runs out of numbers and starts counting time with negative numbers. That's not good. We can expect 32-bit computers running these operating systems to have fits. Fortunately, Linux's developers already had a fix ready to go.
The problem starts with how Unix tells time. Unix, and its relations -- Linux, macOS, and other POSIX-compatible operating systems -- date the beginning of time from the Epoch: 00:00:00 GMT on January 1, 1970. The Unix family measures time by the number of seconds since the Epoch.
So far, so good. But, since Unix and family started out as 32-bit operating systems, time's value is kept as a single signed 32-bit integer number. Those are a lot of seconds, but just like the last century's Y2K bug, it's not enough.
-
- Login or register to post comments
Printer-friendly version
- 3171 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
Noise With Blanket
| Videos/Audiocasts/Shows: Linux Journal Expats, Linux Experiment, and Krita Artwork
|
Kernel Leftovers
| Devuan 4.0 Alpha Builds Begin For Debian 11 Without Systemd
Debian 11 continues inching closer towards release and it looks like the developers maintaining the "Devuan" fork won't be far behind with their re-base of the distribution focused on init system freedom.
The Devuan fork of Debian remains focused on providing Debian GNU/Linux without systemd. Devuan Beowulf 3.1 is their latest release based on Debian 10 while Devuan Chimaera is in the works as their re-base for Debian 11.
|
Recent comments
4 hours 7 min ago
5 hours 49 min ago
5 hours 59 min ago
6 hours 14 min ago
6 hours 58 min ago
7 hours 22 min ago
7 hours 26 min ago
7 hours 50 min ago
14 hours 7 min ago
18 hours 30 min ago